Template:CraftMN: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 124: Line 124:
{{#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 }}}}
- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}}}
- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}}}
}}





Revision as of 23:29, 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.