Template:CraftM: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 98: Line 98:
|{{#switch:{{{r|}}}
|{{#switch:{{{r|}}}
|b=
|b=
|#default={{!}} rowspan="2" {{!}} {{{1|?}}}
|#default={{!}} rowspan="{{{r}}}" {{!}} {{{1|?}}}
}}
}}
|{{!}} {{{1|?}}}
|{{!}} {{{1|?}}}
Line 133: Line 133:
If "t=sh" it displays it as a shield. If "t=s" it displays the armor piece short form. Documentation is awaiting final additions.
If "t=sh" it displays it as a shield. If "t=s" it displays the armor piece short form. Documentation is awaiting final additions.


If the weapon is a swappable one, then "mode=" will set which side is used, and "r=#" is used to indicate how many of the following lines are the same weapon.
If the weapon is a swappable one, then "mode=" will set which side is used, and "r=#" is used to indicate how many of the following lines are the same weapon, while "r=b" is used to indicate that it is one of those following lines.


{{Cat|Templates,Templates for Templates}}</noinclude>
{{Cat|Templates,Templates for Templates}}</noinclude>

Revision as of 03:49, 27 December 2013

Usage Documentation

A template for organizing armor and shields made from metal.

If "t=sh" it displays it as a shield. If "t=s" it displays the armor piece short form. Documentation is awaiting final additions.

If the weapon is a swappable one, then "mode=" will set which side is used, and "r=#" is used to indicate how many of the following lines are the same weapon, while "r=b" is used to indicate that it is one of those following lines.