Template:CraftM: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (applying new shield adapter to existing templates)
(attempting a fix to the crafting mod issue of double pipes)
Line 94: Line 94:
{{#if:{{{mode|}}}|
{{#if:{{{mode|}}}|
{{!}} {{{mode}}}|}}
{{!}} {{{mode}}}|}}
{{!}} {{{1|?}}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}}}}
{{!}} {{{1|?}}}{{#switch:{{{2|}}}|n|no|-=|{{!}}{{!}} {{{2|?}}} - {{#switch:{{{2|}}}|H|B|T|true={{!}}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} align="center" {{!}} {{{m|}}}
{{!}} {{#if:{{{3}}}|[[standard piercing damage is::{{GearProcess3|{{{3}}}|dam|n}}|{{GearProcess3|{{{3}}}|dam|s}}]]|?}}
{{!}} {{#if:{{{3}}}|[[standard piercing damage is::{{GearProcess3|{{{3}}}|dam|n}}|{{GearProcess3|{{{3}}}|dam|s}}]]|?}}

Revision as of 21:07, 5 March 2024

{{#switch: |sa|s=|- | ? | align="center" | | ? | ? | align="right" | ? | align="right" | ?

|t|tool= |- | ? | ? | ? | ? | ?


|lsh|sh=|- | ?|| ? | align="center" | | ? | ? | ? | ? | ? | ? | ? | ? | ? | ?|| ? | align="right" | ? | align="right" | ? |la=|- | ?|| ? | align="center" | | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ?|| ? | ? |w=

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.