Template:CraftMN: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 109: Line 109:
|ws={{#switch: {{{standard|}}} {{{st|}}}|y|yes|t|true= {{!}} -
|ws={{#switch: {{{standard|}}} {{{st|}}}|y|yes|t|true= {{!}} -
{{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}
{{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}
{{!}} {{#if: {{{r|}}} | {{#ifexpr: {{{r}}} > 3 | error: swapcount (r) must be 2 or 3| {{ifexpr: {{{r}}} < 2 | error: swapcount (r) must be 2 or 3 | rowspan="{{{r}}}" }} | swapcount (r) must be defined as 2 or 3 }}}}
{{!}} {{#if: {{{r|}}} | {{#ifexpr: {{{r}}} > 3 | error: swapcount (r) must be 2 or 3| {{#ifexpr: {{{r}}} < 2 | error: swapcount (r) must be 2 or 3 | rowspan="{{{r}}}" }} | swapcount (r) must be defined as 2 or 3 }}}}
{{!}} {{{1|?}}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}}}}
{{!}} {{{1|?}}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} align="center" {{!}} {{{m|}}}

Revision as of 23:54, 5 March 2024





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.