Template:CraftMN: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 107: Line 107:
|#default={{!}}- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}}}
|#default={{!}}- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}}}


|ws={{#switch:
|ws={{#switch: {{{standard|}}} {{{st|}}}|y|yes|t|true= {{!}} -
{{{standard|}}} {{{st|}}}|y|yes|t|true= {{!}}
{{#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 }}}}
- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}
{{!}} {{{1|?}}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}}}}
{{!}} {{{1|?}}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} align="center" {{!}} {{{m|}}}
Line 122: Line 122:
{{!}} align="right" {{!}} {{#if:{{{11|}}}|[[standard weight is::{{{11}}}]]|?}}
{{!}} align="right" {{!}} {{#if:{{{11|}}}|[[standard weight is::{{{11}}}]]|?}}
|#default={{!}}{{!}}
|#default={{!}}{{!}}
{{#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:44, 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.