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: | Line 5: | ||
==Usage== |
==Usage== |
||
<pre> |
<pre> |
||
{{Variant main|type}} |
{{Variant main|type|type2}} |
||
</pre> |
</pre> |
||
where <code>type</code> |
where <code>type</code> and <code>type2</code> are freely filled parameter pertaining to the type of the category (i.e. item, monster, skill node, etc.). Type 2 is optional. |
||
==Example== |
==Example== |
||
===Single type=== |
|||
<pre> |
<pre> |
||
{{Variant main|item}} |
{{Variant main|item}} |
||
Line 15: | Line 16: | ||
produces |
produces |
||
{{Variant main|item}} |
{{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