Template:CraftM: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(adding to docs)
No edit summary
Line 108: Line 108:
|{{#switch:{{{r|}}}
|{{#switch:{{{r|}}}
|b=
|b=
|#default={{!}}{{!}} rowspan="2" {{!}} {{{2|?}}}
|#default={{!}}{{!}} rowspan="{{{r}}}" {{!}} {{{2|?}}}
}}
}}
|{{!}}{{!}}{{{2|?}}}
|{{!}}{{!}}{{{2|?}}}
Line 115: Line 115:
|{{#switch:{{{r|}}}
|{{#switch:{{{r|}}}
|b=
|b=
|#default={{!}}{{!}} align="center" rowspan="2" {{!}} {{{m|{{+}}}}}
|#default={{!}}{{!}} align="center" rowspan="{{{r}}}" {{!}} {{{m|{{+}}}}}
}}
}}
|{{!}}{{!}} align="center" {{!}}{{{m|}}}
|{{!}}{{!}} align="center" {{!}}{{{m|}}}
Line 127: Line 127:
{{!}} {{#if:{{#pos:{{{b|}}}|06}}|'''}}{{GearProcess|{{{6|?}}}|foi2}}{{#if:{{#pos:{{{b|}}}|06}}|'''}}
{{!}} {{#if:{{#pos:{{{b|}}}|06}}|'''}}{{GearProcess|{{{6|?}}}|foi2}}{{#if:{{#pos:{{{b|}}}|06}}|'''}}
{{!}} {{#switch:{{{7}}}|-=-|{{#if:{{#pos:{{{b|}}}|07}}|'''}}{{GearProcess|{{{7|?}}}|bal2}}{{#if:{{#pos:{{{b|}}}|07}}|'''}}}}
{{!}} {{#switch:{{{7}}}|-=-|{{#if:{{#pos:{{{b|}}}|07}}|'''}}{{GearProcess|{{{7|?}}}|bal2}}{{#if:{{#pos:{{{b|}}}|07}}|'''}}}}
{{!}} {{#switch:{{{8}}}|-=-|{{#if:{{#pos:{{{b|}}}|08}}|'''}}{{GearProcess|{{{8|?}}}|suit2}}{{#if:{{#pos:{{{b|}}}|08}}|'''}}}}{{#switch:{{{9|}}}|-=|#default={{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="2" {{!}} {{GearProcess|{{{9|?}}}|const2}}}}|{{!}}{{!}}{{GearProcess|{{{9|?}}}|const2}}}}}}{{#if:{{{mode|}}}|{{#switch:{{{r|}}}|b=|#default={{!}}{{!}} rowspan="2" align="right" {{!}} {{{10|?}}}}}|{{!}}{{!}} align="right" {{!}} {{{10|?}}}}}}}}}<noinclude>
{{!}} {{#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>
==Usage Documentation==
==Usage Documentation==
A template for organizing armor and shields made from metal.
A template for organizing armor and shields made from metal.
Line 133: Line 133:
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 "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=b" is used to indicate a line is an alternate mode.
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.


{{Cat|Templates,Templates for Templates}}</noinclude>
{{Cat|Templates,Templates for Templates}}</noinclude>

Revision as of 03:46, 27 December 2013

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.