Template:Variant main/doc: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
Line 5: Line 5:
==Usage==
==Usage==
<pre>
<pre>
{{Variant main|type}}
{{Variant main|type|type2}}
</pre>
</pre>
where <code>type</code> is a freely filled parameter pertaining to the type of the category (i.e. item, monster, skill node, etc.)
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}}