Template:Variant main/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
InvalidCards (talk | contribs) No edit summary |
InvalidCards (talk | contribs) No edit summary |
||
Line 5:
==Usage==
<pre>
{{Variant main|type|type2}}
</pre>
where <code>type</code>
==Example==
===Single type===
<pre>
{{Variant main|item}}
Line 15 ⟶ 16:
produces
{{Variant main|item}}
===Item and related skill node===
<pre>
{{Variant main|item|skill node}}
</pre>
produces
{{Variant main|item|skill node}}
|
Latest revision as of 09:01, 1 November 2024
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