Template:CraftM: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
{{!}} align="right" {{!}} {{{5|?}}}
{{!}} align="right" {{!}} {{{5|?}}}
|#default={{!}}- {{#switch:{{{error}}}|y|yes|t|true= style="color: red"}}
|#default={{!}}- {{#switch:{{{error}}}|y|yes|t|true= style="color: red"}}
{{!}} {{#if:{{#pos:{{{b|}}}|01}}|'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|01}}|<u>'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''</u>}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} {{#if:{{#pos:{{{b|}}}|02}}|'''}}{{GearProcess|{{{2|?}}}|hind2}}{{#if:{{#pos:{{{b|}}}|02}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|02}}|<u>'''}}{{GearProcess|{{{2|?}}}|hind2}}{{#if:{{#pos:{{{b|}}}|02}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|03}}|'''}}{{GearProcess|{{{3|?}}}|hind2}}{{#if:{{#pos:{{{b|}}}|03}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|03}}|<u>'''}}{{GearProcess|{{{3|?}}}|hind2}}{{#if:{{#pos:{{{b|}}}|03}}|'''</u>}}
{{!}} align="right" {{!}} {{#if:{{#pos:{{{b|}}}|04}}|'''}}{{{4|?}}}{{#if:{{#pos:{{{b|}}}|04}}|'''}}
{{!}} align="right" {{!}} {{#if:{{#pos:{{{b|}}}|04}}|<u>'''}}{{{4|?}}}{{#if:{{#pos:{{{b|}}}|04}}|'''</u>}}
{{!}} align="right" {{!}} {{{5|?}}}}}
{{!}} align="right" {{!}} {{{5|?}}}}}
|lsh|sh={{#switch:{{{standard|}}}
|lsh|sh={{#switch:{{{standard|}}}
Line 34: Line 34:
{{!}} align="right" {{!}} {{{16|?}}}
{{!}} align="right" {{!}} {{{16|?}}}
|#default={{!}}- {{#switch:{{{error}}}|y|yes|t|true= style="color: red"}}
|#default={{!}}- {{#switch:{{{error}}}|y|yes|t|true= style="color: red"}}
{{!}} {{#if:{{#pos:{{{b|}}}|01}}|'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}}}}
{{!}} {{#if:{{#pos:{{{b|}}}|01}}|<u>'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''</u>}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} {{#if:{{#pos:{{{b|}}}|03}}|'''}}{{GearProcess|{{{3|?}}}|hind2}}{{#if:{{#pos:{{{b|}}}|03}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|03}}|<u>'''}}{{GearProcess|{{{3|?}}}|hind2}}{{#if:{{#pos:{{{b|}}}|03}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|04}}|'''}}{{GearProcess|{{{4|?}}}|sprot2}}{{#if:{{#pos:{{{b|}}}|04}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|04}}|<u>'''}}{{GearProcess|{{{4|?}}}|sprot2}}{{#if:{{#pos:{{{b|}}}|04}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|05}}|'''}}{{GearProcess|{{{5|?}}}|sprot2}}{{#if:{{#pos:{{{b|}}}|05}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|05}}|<u>'''}}{{GearProcess|{{{5|?}}}|sprot2}}{{#if:{{#pos:{{{b|}}}|05}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|06}}|'''}}{{GearProcess|{{{6|?}}}|sprot2}}{{#if:{{#pos:{{{b|}}}|06}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|06}}|<u>'''}}{{GearProcess|{{{6|?}}}|sprot2}}{{#if:{{#pos:{{{b|}}}|06}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|07}}|'''}}{{GearProcess|{{{7|?}}}|sprot2}}{{#if:{{#pos:{{{b|}}}|07}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|07}}|<u>'''}}{{GearProcess|{{{7|?}}}|sprot2}}{{#if:{{#pos:{{{b|}}}|07}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|08}}|'''}}{{GearProcess|{{{8|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|08}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|08}}|<u>'''}}{{GearProcess|{{{8|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|08}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|09}}|'''}}{{GearProcess|{{{9|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|09}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|09}}|<u>'''}}{{GearProcess|{{{9|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|09}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|10}}|'''}}{{GearProcess|{{{10|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|10}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|10}}|<u>'''}}{{GearProcess|{{{10|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|10}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|11}}|'''}}{{GearProcess|{{{11|?}}}|foi2}}{{#if:{{#pos:{{{b|}}}|11}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|11}}|<u>'''}}{{GearProcess|{{{11|?}}}|foi2}}{{#if:{{#pos:{{{b|}}}|11}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|12}}|'''}}{{GearProcess|{{{12|?}}}|bal2}}{{#if:{{#pos:{{{b|}}}|12}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|12}}|<u>'''}}{{GearProcess|{{{12|?}}}|bal2}}{{#if:{{#pos:{{{b|}}}|12}}|'''</u>}}
{{!}} {{GearProcess|{{{13|?}}}|suit2}}{{#switch:{{{14|}}}|-=|{{!}}{{!}} {{GearProcess|{{{14|?}}}|const2}}}}
{{!}} {{GearProcess|{{{13|?}}}|suit2}}{{#switch:{{{14|}}}|-=|{{!}}{{!}} {{GearProcess|{{{14|?}}}|const2}}}}
{{!}} align="right" {{!}} {{{15|?}}}
{{!}} align="right" {{!}} {{{15|?}}}
Line 100: Line 100:
|#default={{!}} rowspan="{{{r}}}" {{!}} {{{1|?}}}
|#default={{!}} rowspan="{{{r}}}" {{!}} {{{1|?}}}
}}
}}
|{{!}} {{#if:{{#pos:{{{b|}}}|01}}|'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''}}
|{{!}} {{#if:{{#pos:{{{b|}}}|01}}|<u>'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''</u>}}
}}{{#switch:{{{2|}}}
}}{{#switch:{{{2|}}}
|n
|n
Line 122: Line 122:
|
|
}}
}}
{{!}} {{#if:{{#pos:{{{b|}}}|03}}|'''}}{{GearProcess|{{{3|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|03}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|03}}|<u>'''}}{{GearProcess|{{{3|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|03}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|04}}|'''}}{{GearProcess|{{{4|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|04}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|04}}|<u>'''}}{{GearProcess|{{{4|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|04}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|05}}|'''}}{{GearProcess|{{{5|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|05}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|05}}|<u>'''}}{{GearProcess|{{{5|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|05}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|06}}|'''}}{{GearProcess|{{{6|?}}}|foi2}}{{#if:{{#pos:{{{b|}}}|06}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|06}}|<u>'''}}{{GearProcess|{{{6|?}}}|foi2}}{{#if:{{#pos:{{{b|}}}|06}}|'''</u>}}
{{!}} {{#switch:{{{7}}}|-=-|{{#if:{{#pos:{{{b|}}}|07}}|'''}}{{GearProcess|{{{7|?}}}|bal2}}{{#if:{{#pos:{{{b|}}}|07}}|'''}}}}
{{!}} {{#switch:{{{7}}}|-=-|{{#if:{{#pos:{{{b|}}}|07}}|<u>'''}}{{GearProcess|{{{7|?}}}|bal2}}{{#if:{{#pos:{{{b|}}}|07}}|'''</u>}}}}
{{!}} {{#switch:{{{8}}}|-=-|{{#if:{{#pos:{{{b|}}}|08}}|'''}}{{GearProcess|{{{8|?}}}|suit2}}{{#if:{{#pos:{{{b|}}}|08}}|'''}}}}{{#switch:{{{9|}}}|-=|#default={{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="{{{r}}}" {{!}} {{GearProcess|{{{9|?}}}|const2}}}}|{{!}}{{!}}{{GearProcess|{{{9|?}}}|const2}}}}}}{{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="{{{r}}}" align="right" {{!}} {{{10|?}}}}}|{{!}}{{!}} align="right" {{!}} {{{10|?}}}}}}}}}<noinclude>
{{!}} {{#switch:{{{8}}}|-=-|{{#if:{{#pos:{{{b|}}}|08}}|<u>'''}}{{GearProcess|{{{8|?}}}|suit2}}{{#if:{{#pos:{{{b|}}}|08}}|'''</u>}}}}{{#switch:{{{9|}}}|-=|#default={{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="{{{r}}}" {{!}} {{GearProcess|{{{9|?}}}|const2}}}}|{{!}}{{!}}{{GearProcess|{{{9|?}}}|const2}}}}}}{{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="{{{r}}}" align="right" {{!}} {{{10|?}}}}}|{{!}}{{!}} align="right" {{!}} {{{10|?}}}}}}}}}<noinclude>
==Usage Documentation==
==Usage Documentation==
A template for organizing armor and shields made from metal.
A template for organizing armor and shields made from metal.

Revision as of 00:39, 20 July 2014

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.