Template:CraftM: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#switch:{{{t|}}}
{{#switch:{{{t|}}}
|sa|s={{#switch:{{{standard|}}}|y|yes|t|true={{!}}-
|sa|s={{#switch:{{{standard|}}}|y|yes|t|true={{!}}- {{#switch:{{{error}}}|y|yes|t|true= style="color: red"}}
{{!}} {{{1|?}}}
{{!}} {{{1|?}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} align="center" {{!}} {{{m|}}}
Line 7: Line 7:
{{!}} align="right" {{!}} {{{4|?}}}
{{!}} align="right" {{!}} {{{4|?}}}
{{!}} align="right" {{!}} {{{5|?}}}
{{!}} align="right" {{!}} {{{5|?}}}
|#default={{!}}-
|#default={{!}}- {{#switch:{{{error}}}|y|yes|t|true= style="color: red"}}
{{!}} {{#if:{{#pos:{{{b|}}}|01}}|'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|01}}|'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} align="center" {{!}} {{{m|}}}
Line 16: Line 16:
|lsh|sh={{#switch:{{{standard|}}}
|lsh|sh={{#switch:{{{standard|}}}
|y|yes|t|true=
|y|yes|t|true=
{{!}}- {{#switch:{{{error}}}|y|yes|t|true= style="color: red"}}
{{!}}-
{{!}} {{{1|?}}}
{{!}} {{{1|?}}}
{{!}} {{{2|?}}}
{{!}} {{{2|?}}}
Line 33: Line 33:
{{!}} align="right" {{!}} {{{15|?}}}
{{!}} align="right" {{!}} {{{15|?}}}
{{!}} align="right" {{!}} {{{16|?}}}
{{!}} align="right" {{!}} {{{16|?}}}
|#default={{!}}-
|#default={{!}}- {{#switch:{{{error}}}|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 50: Line 50:
{{!}} align="right" {{!}} {{{16|?}}}
{{!}} align="right" {{!}} {{{16|?}}}
}}
}}
|la={{#switch:{{{standard|}}}|y|yes|t|true={{!}}-
|la={{#switch:{{{standard|}}}|y|yes|t|true={{!}}- {{#switch:{{{error}}}|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 66: Line 66:
{{!}} {{#if:{{{14|}}}|[[standard electrical absorption is::{{GearProcess|{{{14}}}|abs}}|{{GearProcess|{{{14}}}|abs2}}]]|?}}{{#switch:{{{15|}}}|-=|{{!}}{{!}} {{#if:{{{15|}}}|[[standard construction is::{{GearProcess|{{{15}}}|const}}|{{GearProcess|{{{15}}}|const2}}]]|?}}}}
{{!}} {{#if:{{{14|}}}|[[standard electrical absorption is::{{GearProcess|{{{14}}}|abs}}|{{GearProcess|{{{14}}}|abs2}}]]|?}}{{#switch:{{{15|}}}|-=|{{!}}{{!}} {{#if:{{{15|}}}|[[standard construction is::{{GearProcess|{{{15}}}|const}}|{{GearProcess|{{{15}}}|const2}}]]|?}}}}
{{!}} {{{16|?}}}
{{!}} {{{16|?}}}
|#default={{!}}-
|#default={{!}}- {{#switch:{{{error}}}|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 82: Line 82:
{{!}} {{GearProcess|{{{14|?}}}|abs2}}{{#switch:{{{15|}}}|-=|{{!}}{{!}} {{GearProcess|{{{15|?}}}|const2}}}}
{{!}} {{GearProcess|{{{14|?}}}|abs2}}{{#switch:{{{15|}}}|-=|{{!}}{{!}} {{GearProcess|{{{15|?}}}|const2}}}}
{{!}} {{{16|?}}}}}
{{!}} {{{16|?}}}}}
|w={{#switch:{{{standard|}}}|y|yes|t|true={{!}}-
|w={{#switch:{{{standard|}}}|y|yes|t|true={{!}}- {{#switch:{{{error}}}|y|yes|t|true= style="color: red"}}
{{#if:{{{mode|}}}|
{{#if:{{{mode|}}}|
{{!}} {{{mode}}}|}}
{{!}} {{{mode}}}|}}
Line 94: Line 94:
{{!}} {{#switch:{{{8}}}|-=-|{{#if:{{{8}}}|[[standard suitability is::{{GearProcess3|{{{8}}}|suit|n}}|{{GearProcess3|{{{8}}}|suit|s}}]]|?}}}}{{#switch:{{{9|}}}|-=|{{!}}{{!}} {{#if:{{{9|}}}|[[standard construction is::{{GearProcess3|{{{9}}}|const|n}}|{{GearProcess3|{{{9}}}|const|s}}]]|?}}}}
{{!}} {{#switch:{{{8}}}|-=-|{{#if:{{{8}}}|[[standard suitability is::{{GearProcess3|{{{8}}}|suit|n}}|{{GearProcess3|{{{8}}}|suit|s}}]]|?}}}}{{#switch:{{{9|}}}|-=|{{!}}{{!}} {{#if:{{{9|}}}|[[standard construction is::{{GearProcess3|{{{9}}}|const|n}}|{{GearProcess3|{{{9}}}|const|s}}]]|?}}}}
{{!}} align="right" {{!}} {{#if:{{{10|}}}|[[standard weight is::{{{10}}}]]|?}}
{{!}} align="right" {{!}} {{#if:{{{10|}}}|[[standard weight is::{{{10}}}]]|?}}
|#default={{!}}-
|#default={{!}}- {{#switch:{{{error}}}|y|yes|t|true= style="color: red"}}
{{#if:{{{mode|}}}
{{#if:{{{mode|}}}
|{{#switch:{{{r|}}}
|{{#switch:{{{r|}}}

Revision as of 21:40, 19 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.