Template:CraftM: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(Undo revision 641909 by ASHBOMB (talk))
Tag: Undo
 
(122 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#switch:{{{t|}}}|s=
{{#switch:{{{t|}}}
|sa|s={{#switch:{{{standard|}}}{{{st|}}}|y|yes|t|true={{!}}- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}
{{!}} {{{1|?}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} {{#if:{{{2|}}}|[[standard hindrance is::{{GearProcess|{{{2}}}|hind}}|{{GearProcess|{{{2}}}|hind2}}]]|?}}
{{!}} {{#if:{{{3|}}}|[[standard stealth hindrance is::{{GearProcess|{{{3}}}|hind}}|{{GearProcess|{{{3}}}|hind2}}]]|?}}
{{!}} align="right" {{!}} {{{4|?}}}
{{!}} align="right" {{!}} {{{5|?}}}
|#default={{!}}- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}
{{!}} {{#if:{{#pos:{{{b|}}}|01}}|<u>'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''</u>}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} {{#if:{{#pos:{{{b|}}}|02}}|<u>'''}}{{GearProcess|{{{2|?}}}|hind2}}{{#if:{{#pos:{{{b|}}}|02}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|03}}|<u>'''}}{{GearProcess|{{{3|?}}}|hind2}}{{#if:{{#pos:{{{b|}}}|03}}|'''</u>}}
{{!}} align="right" {{!}} {{#if:{{#pos:{{{b|}}}|04}}|<u>'''}}{{{4|?}}}{{#if:{{#pos:{{{b|}}}|04}}|'''</u>}}
{{!}} align="right" {{!}} {{{5|?}}}}}

|t|tool=
{{!}}-
{{!}}-
{{!}} {{{1|?}}}
{{!}} {{#if:{{{1|}}}|{{{1}}}|?}} {{!}}{{!}} {{GearProcess|{{{2|?}}}|hind2}} {{!}}{{!}} {{GearProcess|{{{3|?}}}|hind2}} {{!}}{{!}} {{#if:{{{4|}}}|{{{4}}}|?}} {{!}}{{!}} {{#if:{{{5|}}}|{{{5}}}|?}}
{{!}} {{{2|?}}}
|sh=
{{!}} {{SpeedAdapter|{{{3|?}}}}}
{{!}}-
{{!}} {{GearProcess|{{{4|?}}}|const2}}
{{!}} {{#if:{{{1|}}}|{{{1}}}|?}} {{!}}{{!}} {{#if:{{{2|}}}|{{{2}}}|?}} {{!}}{{!}} {{GearProcess|{{{3|?}}}|hind2}} {{!}}{{!}} {{GearProcess|{{{4|?}}}|sprot2}} {{!}}{{!}} {{GearProcess|{{{5|?}}}|sprot2}} {{!}}{{!}} {{GearProcess|{{{6|?}}}|sprot2}} {{!}}{{!}} {{GearProcess|{{{7|?}}}|sprot2}} {{!}}{{!}} {{GearProcess|{{{8|?}}}|dam2}} {{!}}{{!}} {{GearProcess|{{{9|?}}}|dam2}} {{!}}{{!}} {{GearProcess|{{{10|?}}}|dam2}} {{!}}{{!}} {{GearProcess|{{{11|?}}}|foi2}} {{!}}{{!}} {{GearProcess|{{{12|?}}}|bal2}} {{!}}{{!}} {{GearProcess|{{{13|?}}}|suit2}} {{!}}{{!}} {{GearProcess|{{{14|?}}}|const2}} {{!}}{{!}} {{{15|?}}}
{{!}} {{GearProcess|{{{5|?}}}|const2}}
|
{{!}}-
{{#if:{{{w|}}}|
{{!}} {{{w}}}|}}
{{!}} {{#if:{{{1|}}}|{{{1}}}|?}} {{!}}{{!}} {{#if:{{{2|}}}|{{{2}}}|?}} {{!}}{{!}} {{GearProcess|{{{3|?}}}|prot2}} {{!}}{{!}} {{GearProcess|{{{4|?}}}|abs2}} {{!}}{{!}} {{GearProcess|{{{5|?}}}|prot2}} {{!}}{{!}} {{GearProcess|{{{6|?}}}|abs2}} {{!}}{{!}} {{GearProcess|{{{7|?}}}|prot2}} {{!}}{{!}} {{GearProcess|{{{8|?}}}|abs2}} {{!}}{{!}} {{GearProcess|{{{9|?}}}|prot2}} {{!}}{{!}} {{GearProcess|{{{10|?}}}|abs2}} {{!}}{{!}} {{GearProcess|{{{11|?}}}|prot2}} {{!}}{{!}} {{GearProcess|{{{12|?}}}|abs2}} {{!}}{{!}} {{GearProcess|{{{13|?}}}|prot2}} {{!}}{{!}} {{GearProcess|{{{14|?}}}|abs2}} {{!}}{{!}} {{GearProcess|{{{15|?}}}|const2}} {{!}}{{!}} {{#if:{{{16|}}}|{{{16}}}|?}}}}<noinclude>

|lsh|sh={{#switch:{{{standard|}}}{{{st|}}}
|y|yes|t|true=
{{!}}- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}
{{!}} {{{1|?}}}
{{!}} {{{2|?}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} {{#if:{{{3|}}}|[[standard hindrance is::{{ShieldAdapter|{{{3}}}|hind}}|{{ShieldAdapter|{{{3}}}|hind2}}]]|}}
{{!}} {{#if:{{{4|}}}|[[standard basic held protection is::{{GearProcess|{{{4}}}|sprot}}|{{GearProcess|{{{4}}}|sprot2}}]]|}}
{{!}} {{#if:{{{5|}}}|[[standard full held protection is::{{GearProcess|{{{5}}}|sprot}}|{{GearProcess|{{{5}}}|sprot2}}]]|?}}
{{!}} {{#if:{{{6|}}}|[[standard basic worn protection is::{{GearProcess|{{{6}}}|sprot}}|{{GearProcess|{{{6}}}|sprot2}}]]|?}}
{{!}} {{#if:{{{7|}}}|[[standard full worn protection is::{{GearProcess|{{{7}}}|sprot}}|{{GearProcess|{{{7}}}|sprot2}}]]|?}}
{{!}} {{#if:{{{8|}}}|[[standard piercing damage is::{{GearProcess|{{{8}}}|dam}}|{{GearProcess|{{{8}}}|dam2}}]]|?}}
{{!}} {{#if:{{{9|}}}|[[standard slicing damage is::{{GearProcess|{{{9}}}|dam}}|{{GearProcess|{{{9}}}|dam2}}]]|?}}
{{!}} {{#if:{{{10|}}}|[[standard impact damage is::{{GearProcess|{{{10}}}|dam}}|{{GearProcess|{{{10}}}|dam2}}]]|?}}
{{!}} {{#if:{{{11|}}}|[[standard balance is::{{GearProcess|{{{11}}}|bal}}|{{GearProcess|{{{11}}}|bal2}}]]|?}}
{{!}} {{#if:{{{12|}}}|[[standard suitability is::{{GearProcess|{{{12}}}|suit}}|{{GearProcess|{{{12}}}|suit2}}]]|?}}{{#switch:{{{13|}}}|-=|{{!}}{{!}} {{#if:{{{13|}}}|[[standard construction is::{{GearProcess|{{{13}}}|const}}|{{GearProcess|{{{13}}}|const2}}]]|?}}}}
{{!}} align="right" {{!}} {{{14|?}}}
{{!}} align="right" {{!}} {{{15|?}}}
|#default={{!}}- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}
{{!}} {{#if:{{#pos:{{{b|}}}|01}}|<u>'''}}{{{1|?}}}{{#if:{{#pos:{{{b|}}}|01}}|'''</u>}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} {{#if:{{#pos:{{{b|}}}|03}}|<u>'''}}{{ShieldAdapter|{{{3|?}}}|hind2}}{{#if:{{#pos:{{{b|}}}|03}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|04}}|<u>'''}}{{GearProcess|{{{4|?}}}|sprot2}}{{#if:{{#pos:{{{b|}}}|04}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|05}}|<u>'''}}{{GearProcess|{{{5|?}}}|sprot2}}{{#if:{{#pos:{{{b|}}}|05}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|06}}|<u>'''}}{{GearProcess|{{{6|?}}}|sprot2}}{{#if:{{#pos:{{{b|}}}|06}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|07}}|<u>'''}}{{GearProcess|{{{7|?}}}|sprot2}}{{#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|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|09}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|10}}|<u>'''}}{{GearProcess|{{{10|?}}}|dam2}}{{#if:{{#pos:{{{b|}}}|10}}|'''</u>}}
{{!}} {{#if:{{#pos:{{{b|}}}|11}}|<u>'''}}{{GearProcess|{{{11|?}}}|bal2}}{{#if:{{#pos:{{{b|}}}|11}}|'''</u>}}
{{!}} {{GearProcess|{{{12|?}}}|suit2}}{{#switch:{{{13|}}}|-=|{{!}}{{!}} {{GearProcess|{{{13|?}}}|const2}}}}
{{!}} align="right" {{!}} {{{14|?}}}
{{!}} align="right" {{!}} {{{15|?}}}
}}
|la={{#switch:{{{standard|}}}{{{st|}}}|y|yes|t|true={{!}}- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}
{{!}} {{{1|?}}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} {{#if:{{{3|}}}|[[standard puncture protection is::{{GearProcess|{{{3}}}|prot}}|{{GearProcess|{{{3}}}|prot2}}]]|?}}
{{!}} {{#if:{{{4|}}}|[[standard puncture absorption is::{{GearProcess|{{{4}}}|abs}}|{{GearProcess|{{{4}}}|abs2}}]]|?}}
{{!}} {{#if:{{{5|}}}|[[standard slice protection is::{{GearProcess|{{{5}}}|prot}}|{{GearProcess|{{{5}}}|prot2}}]]|?}}
{{!}} {{#if:{{{6|}}}|[[standard slice absorption is::{{GearProcess|{{{6}}}|abs}}|{{GearProcess|{{{6}}}|abs2}}]]|?}}
{{!}} {{#if:{{{7|}}}|[[standard impact protection is::{{GearProcess|{{{7}}}|prot}}|{{GearProcess|{{{7}}}|prot2}}]]|?}}
{{!}} {{#if:{{{8|}}}|[[standard impact absorption is::{{GearProcess|{{{8}}}|abs}}|{{GearProcess|{{{8}}}|abs2}}]]|?}}
{{!}} {{#if:{{{9|}}}|[[standard fire protection is::{{GearProcess|{{{9}}}|prot}}|{{GearProcess|{{{9}}}|prot2}}]]|?}}
{{!}} {{#if:{{{10|}}}|[[standard fire absorption is::{{GearProcess|{{{10}}}|abs}}|{{GearProcess|{{{10}}}|abs2}}]]|?}}
{{!}} {{#if:{{{11|}}}|[[standard cold protection is::{{GearProcess|{{{11}}}|prot}}|{{GearProcess|{{{11}}}|prot2}}]]|?}}
{{!}} {{#if:{{{12|}}}|[[standard cold absorption is::{{GearProcess|{{{12}}}|abs}}|{{GearProcess|{{{12}}}|abs2}}]]|?}}
{{!}} {{#if:{{{13|}}}|[[standard electrical protection is::{{GearProcess|{{{13}}}|prot}}|{{GearProcess|{{{13}}}|prot2}}]]|?}}
{{!}} {{#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|?}}}
|#default={{!}}- {{#switch:{{{e}}}|y|yes|t|true= style="color: red"}}
{{!}} {{{1|?}}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} {{GearProcess|{{{3|?}}}|prot2}}
{{!}} {{GearProcess|{{{4|?}}}|abs2}}
{{!}} {{GearProcess|{{{5|?}}}|prot2}}
{{!}} {{GearProcess|{{{6|?}}}|abs2}}
{{!}} {{GearProcess|{{{7|?}}}|prot2}}
{{!}} {{GearProcess|{{{8|?}}}|abs2}}
{{!}} {{GearProcess|{{{9|?}}}|prot2}}
{{!}} {{GearProcess|{{{10|?}}}|abs2}}
{{!}} {{GearProcess|{{{11|?}}}|prot2}}
{{!}} {{GearProcess|{{{12|?}}}|abs2}}
{{!}} {{GearProcess|{{{13|?}}}|prot2}}
{{!}} {{GearProcess|{{{14|?}}}|abs2}}{{#switch:{{{15|}}}|-=|{{!}}{{!}} {{GearProcess|{{{15|?}}}|const2}}}}
{{!}} {{{16|?}}}}}
|w={{#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 foi is::{{GearProcess3|{{{6}}}|foi|n}}|{{GearProcess3|{{{6}}}|foi|s}}]]|?}}
{{!}} {{#switch:{{{7}}}|-=-|{{#if:{{{7}}}|[[standard balance is::{{GearProcess3|{{{7}}}|bal|n}}|{{GearProcess3|{{{7}}}|bal|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}}}]]|?}}
|#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|?}}}|foi2}}{{#if:{{#pos:{{{b|}}}|06}}|'''</u>}}
{{!}} {{#switch:{{{7}}}|-=-|{{#if:{{#pos:{{{b|}}}|07}}|<u>'''}}{{GearProcess|{{{7|?}}}|bal2}}{{#if:{{#pos:{{{b|}}}|07}}|'''</u>}}}}
{{!}} {{#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.


If "t=sh" it displays it as a shield. If "t=s" it displays the armor piece short form.
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.


{{Cat|Templates,Templates for Templates}}</noinclude>
<pre>
{| border="1" class="sortable"
! Physical<br />Resistance !! Durability !! Punct Protect !! Punct Absorb !! Slice Protect !! Slice Absorb !! Impact Protect !! Impact Absorb !! Fire Protect !! Fire Absorb !! Cold Protect !! Cold Absorb !! Elect Protect !! Elect Absorb !! Construct !! Density
|}
</pre>{{Cat|Templates,Templates for Templates}}</noinclude>

Latest revision as of 21:13, 5 March 2024

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.