Template:Variant main: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Name seems to only be based on the profession the card is in. These values have been colour picked from the game (any straight line portions, like I or L), and needs to be completed) |
(Add more colours; Add "aggressive=(yes/no)" param because those are red (all other enemies are the same colour for all regions)) |
||
Line 5: | Line 5: | ||
|Each individual variant may have separate requirements or properties. This page includes only general information that applies to all variants. |
|Each individual variant may have separate requirements or properties. This page includes only general information that applies to all variants. |
||
}}{{Mainonly|[[Category:Variant categories]]{{#set:Name={{{name|{{#replace:{{PAGENAME}}| (skill node)|}}}}}}}{{#if:{{{profession|}}}|{{#set:<!--Name profession={{ucfirst:{{lc:{{{profession}}}}}}}|-->Name color={{#switch:{{lc:{{{profession}}}}} |
}}{{Mainonly|[[Category:Variant categories]]{{#set:Name={{{name|{{#replace:{{PAGENAME}}| (skill node)|}}}}}}}{{#if:{{{profession|}}}|{{#set:<!--Name profession={{ucfirst:{{lc:{{{profession}}}}}}}|-->Name color={{#switch:{{lc:{{{profession}}}}} |
||
|guard |
|guard |
||
⚫ | |||
⚫ | |||
⚫ | |||
|shieldbearer={{#if:{{yesno|{{{aggressive|}}}}}|#E74746|#E99E52}} |
|||
|chef=#AF9080 |
|chef=#AF9080 |
||
|fisher=#8BF0F0 |
|fisher=#8BF0F0 |
||
|forager=#F1F18C |
|forager=#F1F18C |
||
|alchemist= |
|alchemist=#8CF1BE |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|bonewright= |
|bonewright= |
||
|miner= |
|miner= |
||
|blacksmith= |
|blacksmith= |
||
|stonemason= |
|stonemason= |
||
⚫ | |||
|detective= |
|detective= |
||
|leatherworker= |
|leatherworker= |
||
|merchant= |
|merchant= |
||
|shieldbearer= |
|||
|builder= |
|builder= |
||
|armorer= |
|armorer= |
Latest revision as of 17:35, 7 December 2024
Template documentation
This documentation is transcluded from Template:Variant main/doc. [edit] [history] [purge]
The Variant main template is used on pages that list common properties among variants of a certain category, and adds Category:Variant categories to the page.
Usage
{{Variant main|type|type2}}
where type
and type2
are freely filled parameter pertaining to the type of the category (i.e. item, monster, skill node, etc.). Type 2 is optional.
Example
Single type
{{Variant main|item}}
produces
{{Variant main|item|skill node}}
produces