Template:CraftM: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 160: Line 160:
}}
}}
|{{!}} {{#if:{{#pos:{{{b|}}}|01}}|<u>'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''</u>}}
|{{!}} {{#if:{{#pos:{{{b|}}}|01}}|<u>'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''</u>}}
}}
}}{{#switch:{{{2|}}}

{{#if:{{{mode|}}}
|{{#switch:{{{r|}}}
|b=
|#default={{!}} rowspan="{{{r}}}" {{!}} {{{2|?}}}
}}
|{{!}} {{#if:{{#pos:{{{b|}}}|02}}|<u>'''}}{{{2|?}}}{{#if:{{#pos:{{{b|}}}|02}}|'''</u>}}
}}{{#switch:{{{3|}}}
|n
|n
|no
|no
Line 167: Line 175:
|{{#switch:{{{r|}}}
|{{#switch:{{{r|}}}
|b=
|b=
|#default={{!}}{{!}} rowspan="{{{r}}}" {{!}} {{{2|?}}}
|#default={{!}}{{!}} rowspan="{{{r}}}" {{!}} {{{3|?}}}
}}
}}
|{{!}}{{!}}{{{2|?}}}
|{{!}}{{!}}{{{3|?}}}
}}
}}
}}{{#if:{{{mode|}}}
}}{{#if:{{{mode|}}}
Line 181: Line 189:
|
|
}}
}}
{{!}} {{#if:{{#pos:{{{b|}}}|03}}|<u>'''}}{{GearProcess|{{{3|?}}}|draw2}}{{#if:{{#pos:{{{b|}}}|03}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|04}}|<u>'''}}{{GearProcess|{{{4|?}}}|draw2}}{{#if:{{#pos:{{{b|}}}|04}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|05}}|<u>'''}}{{GearProcess|{{{5|?}}}|foi2}}{{#if:{{#pos:{{{b|}}}|05}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|05}}|<u>'''}}{{GearProcess|{{{5|?}}}|foi2}}{{#if:{{#pos:{{{b|}}}|05}}|'''</u>}}
{{!}} {{#switch:{{{5}}}|-=-|{{#if:{{#pos:{{{b|}}}|06}}|<u>'''}}{{GearProcess|{{{6|?}}}|bal2}}{{#if:{{#pos:{{{b|}}}|06}}|'''</u>}}}}
{{!}} {{#switch:{{{5}}}|-=-|{{#if:{{#pos:{{{b|}}}|06}}|<u>'''}}{{GearProcess|{{{6|?}}}|bal2}}{{#if:{{#pos:{{{b|}}}|06}}|'''</u>}}}}

Revision as of 17:02, 23 June 2015

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.