Template:Variant main: Difference between revisions
InvalidCards (talk | contribs) (Created page with "<includeonly>{{MessageBox |class = disambig |img = Variant main|center|50px|link= |This page is about a{{#ifeq:{{{type|}}}|item|n|}} [[{{{type}}}]] with 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}}</includeonly><noinclude>{{/doc}}</noinclude>") |
InvalidCards (talk | contribs) (Support combined item and skill node variants) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|class = disambig |
|class = disambig |
||
|img = [[File:White Periwinkle.png|Variant main|center|50px|link=]] |
|img = [[File:White Periwinkle.png|Variant main|center|50px|link=]] |
||
|This page is about a{{#ifeq:{{{ |
|This page is about a{{#ifeq:{{{1|}}}|item|n|}} [[{{{1}}}]]{{#if:{{{2|}}}|<nowiki/> and [[{{{2}}}]]}} with [[variant]]s. |
||
|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]]}}</includeonly><noinclude>{{/doc}}</noinclude> |
}}{{Mainonly|[[Category:Variant categories]]}}</includeonly><noinclude>{{/doc}}</noinclude> |
Latest revision as of 09:00, 1 November 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