Template:Variant main/doc: Difference between revisions

no edit summary
(Created page with "{{Documentation}} The '''Variant main''' template is used on pages that list common properties among variants of a certain category. ==Usage== <pre> {{Variant main|type}} </pre> where <code>type</code> is a freely filled parameter pertaining to the type of the category (i.e. item, monster, skill node, etc.) ==Example== <pre> {{Variant main|item}} </pre> produces {{Variant main|item}}")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1:
{{Documentation}}
 
The '''Variant main''' template is used on pages that list common properties among [[variant]]s of a certain category, and adds [[:Category:Variant categories]] to the page.
 
==Usage==
<pre>
{{Variant main|type|type2}}
</pre>
where <code>type</code> isand <code>type2</code> aare freely filled parameter pertaining to the type of the category (i.e. item, monster, skill node, etc.). Type 2 is optional.
 
==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}}