Template:CraftM: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Undo revision 413738 by ABSOLON (talk))
(Undo revision 413736 by ABSOLON (talk))
Line 181: Line 181:
{{!}} {{#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>}}}}
{{!}} {{#switch:{{{6}}}|-=-|{{#if:{{#pos:{{{b|}}}|07}}|<u>'''}}{{GearProcess|{{{7|?}}}|suit2}}{{#if:{{#pos:{{{b|}}}|07}}|'''</u>}}}}{{#switch:{{{8|}}}|-=|#default={{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="{{{r}}}" {{!}} {{GearProcess|{{{8|?}}}|const2}}}}|{{!}}{{!}}{{GearProcess|{{{8|?}}}|const2}}}}}}{{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="{{{r}}}" align="right" {{!}} {{{9|?}}}}}|{{!}}{{!}} align="right" {{!}} {{{9|?}}}}}}}
{{!}} {{#switch:{{{6}}}|-=-|{{#if:{{#pos:{{{b|}}}|07}}|<u>'''}}{{GearProcess|{{{7|?}}}|suit2}}{{#if:{{#pos:{{{b|}}}|07}}|'''</u>}}}}{{#switch:{{{8|}}}|-=|#default={{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="{{{r}}}" {{!}} {{GearProcess|{{{8|?}}}|const2}}}}|{{!}}{{!}}{{GearProcess|{{{8|?}}}|const2}}}}}}{{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="{{{r}}}" align="right" {{!}} {{{9|?}}}}}|{{!}}{{!}} align="right" {{!}} {{{9|?}}}}}}}}}<noinclude>
|am={{#switch:{{{standard|}}}{{{st|}}}|y|yes|t|true={{!}}- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}
{{#if:{{{mode|}}}|
{{!}} {{{mode}}}|}}
{{!}} {{{1|?}}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} {{#if:{{{3}}}|[[standard piercing damage is::{{GearProcess3|{{{3}}}|dam|n}}|{{GearProcess3|{{{3}}}|dam|s}}]]|?}}
{{!}} {{#if:{{{4}}}|[[standard slicing damage is::{{GearProcess3|{{{4}}}|dam|n}}|{{GearProcess3|{{{4}}}|dam|s}}]]|?}}
{{!}} {{#if:{{{5}}}|[[standard impact damage is::{{GearProcess3|{{{5}}}|dam|n}}|{{GearProcess3|{{{5}}}|dam|s}}]]|?}}
{{!}} {{#if:{{{6}}}|[[standard piercing damage is::{{GearProcess3|{{{6}}}|dam|n}}|{{GearProcess3|{{{6}}}|dam|s}}]]|?}}
{{!}} {{#if:{{{7}}}|[[standard slicing damage is::{{GearProcess3|{{{7}}}|dam|n}}|{{GearProcess3|{{{7}}}|dam|s}}]]|?}}
{{!}} {{#if:{{{8}}}|[[standard impact damage is::{{GearProcess3|{{{8}}}|dam|n}}|{{GearProcess3|{{{8}}}|dam|s}}]]|?}}
{{!}} {{#if:{{{9}}}|[[standard foi is::{{GearProcess3|{{{9}}}|foi|n}}|{{GearProcess3|{{{9}}}|foi|s}}]]|?}}{{#switch:{{{10|}}}|-=|{{!}}{{!}} {{#if:{{{10|}}}|[[standard construction is::{{GearProcess3|{{{10}}}|const|n}}|{{GearProcess3|{{{10}}}|const|s}}]]|?}}}}
{{!}} align="right" {{!}} {{#if:{{{11|}}}|[[standard weight is::{{{11}}}]]|?}}
|#default={{!}}- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}
{{#if:{{{mode|}}}
|{{#switch:{{{r|}}}
|b=
|#default={{!}} rowspan="{{{r}}}" {{!}} {{{1|?}}}
}}
|{{!}} {{#if:{{#pos:{{{b|}}}|01}}|<u>'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''</u>}}
}}{{#switch:{{{2|}}}
|n
|no
|-=
|#default={{#if:{{{mode|}}}
|{{#switch:{{{r|}}}
|b=
|#default={{!}}{{!}} rowspan="{{{r}}}" {{!}} {{{2|?}}}
}}
|{{!}}{{!}}{{{2|?}}}
}}
}}{{#if:{{{mode|}}}
|{{#switch:{{{r|}}}
|b=
|#default={{!}}{{!}} align="center" rowspan="{{{r}}}" {{!}} {{{m|{{+}}}}}
}}
|{{!}}{{!}} align="center" {{!}}{{{m|{{+}}}}}
}}{{#if:{{{mode|}}}
|{{!}}{{!}} {{{mode}}}
|
}}
{{!}} {{#if:{{#pos:{{{b|}}}|03}}|<u>'''}}{{GearProcess|{{{3|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|03}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|04}}|<u>'''}}{{GearProcess|{{{4|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|04}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|05}}|<u>'''}}{{GearProcess|{{{5|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|05}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|06}}|<u>'''}}{{GearProcess|{{{6|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|06}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|07}}|<u>'''}}{{GearProcess|{{{7|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|07}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|08}}|<u>'''}}{{GearProcess|{{{8|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|08}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|09}}|<u>'''}}{{GearProcess|{{{9|?}}}|foi2}}{{#if:{{#pos:{{{b|}}}|09}}|'''</u>}}
{{#switch:{{{10|}}}|-=|#default={{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="{{{r}}}" {{!}} {{GearProcess|{{{10|?}}}|const2}}}}|{{!}}{{!}}{{GearProcess|{{{10|?}}}|const2}}}}}}{{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="{{{r}}}" align="right" {{!}} {{{11|?}}}}}|{{!}}{{!}} align="right" {{!}} {{{11|?}}}}}}}}}<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 01:01, 19 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.