User:Artoire/Template:Profession panel: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
|3}} |
|3}} |
||
|4}}}}}}<!-- |
|4}}}}}}<!-- |
||
-->< |
--><div style="background-color:#2A2A2A;padding:5px;float:{{{float|right}}};width:auto"><!-- |
||
--><span style="color:#{{#switch:{{lc:{{{favourite|{{#var:User:Artoire:latest_discovered}}}}}}} |
--><span style="color:#{{#switch:{{lc:{{{favourite|{{#var:User:Artoire:latest_discovered}}}}}}} |
||
|1|hopeport=A69C62 |
|1|hopeport=A69C62 |
||
Line 44: | Line 44: | ||
|carpenter = |
|carpenter = |
||
|minefighter = |
|minefighter = |
||
|bonewright = |
|||
|miner = |
|||
|blacksmith = |
|blacksmith = |
||
|stonemason = |
|stonemason = |
||
Line 61: | Line 63: | ||
"|favourite = " takes an episode name like "Hopeport"/"Hopeforest"/etc. This is the colour the "PROFESSIONS" at the top is. It defaults to the value of "discovered". |
"|favourite = " takes an episode name like "Hopeport"/"Hopeforest"/etc. This is the colour the "PROFESSIONS" at the top is. It defaults to the value of "discovered". |
||
"|float = " can be used to set the css float property. This is "right" by default (to show the panel on the right) |
"|float = " can be used to set the css float property. This is "right" by default (to show the panel on the right). It can also be set to "left" or "none". |
||
For example, with 1 000xp in all skills, this would look like: |
For example, with 1 000xp in all skills, this would look like: |
||
Line 76: | Line 78: | ||
|carpenter = 1 000 |
|carpenter = 1 000 |
||
|minefighter = 1 000 |
|minefighter = 1 000 |
||
|bonewright = 1 000 |
|||
|miner = 1 000 |
|||
|blacksmith = 1 000 |
|blacksmith = 1 000 |
||
|stonemason = 1 000 |
|stonemason = 1 000 |
||
Line 82: | Line 86: | ||
|leatherworker = 1 000 |
|leatherworker = 1 000 |
||
|merchant = 1 000 |
|merchant = 1 000 |
||
|discovered = 1 |
|||
|last_updated = 20250106125351 <!-- {{subst:CURRENTTIMESTAMP}} --> |
|last_updated = 20250106125351 <!-- {{subst:CURRENTTIMESTAMP}} --> |
||
|float = left |
|||
}} |
}} |
Revision as of 12:58, 6 January 2025
Usage:
{{User:Artoire/Template:Profession panel
|guard =
|chef =
|fisher =
|forager =
|alchemist =
|scout =
|gatherer =
|woodcutter =
|carpenter =
|minefighter =
|bonewright =
|miner =
|blacksmith =
|stonemason =
|watchperson =
|detective =
|leatherworker =
|merchant =
|last_updated = {{subst:CURRENTTIMESTAMP}} <!-- {{subst:CURRENTTIMESTAMP}} -->
}}
All the profession names need to be given an xp value.
"|last_updated = " is optional but shows when the infobox was last edited if you supply it. It can also be in the format YYYY-MM-DD if you want to supply a specific date.
"|discovered = " takes an episode name like "Hopeport"/"Hopeforest"/etc. It will show all episodes afterwards as "not yet discovered". By default, it's the last episode where any profession has xp.
"|favourite = " takes an episode name like "Hopeport"/"Hopeforest"/etc. This is the colour the "PROFESSIONS" at the top is. It defaults to the value of "discovered".
"|float = " can be used to set the css float property. This is "right" by default (to show the panel on the right). It can also be set to "left" or "none".
For example, with 1 000xp in all skills, this would look like:
Level18