Template:GearProcess2: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(test)
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{2}}}}}
<includeonly>{{#switch:{{lc:{{{2}}}}}
|damage=
|damage=
{{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
|0|no|none=00- none
|0|no|none=00- none
Line 29: Line 30:
|25|obliterating=25- obliterating
|25|obliterating=25- obliterating
|26|catastrophic=26- catastrophic
|26|catastrophic=26- catastrophic
|{{#switch:{{{1|}}}
|?
|none=00- none
|dismal=01- dismal
|poor=02- poor
|low=03- low
|somewhat fair|s.fair=04- s.fair
|fair=05- fair
|somewhat moderate|s.moderate=06- s.mod
|moderate=07- mod
|somewhat heavy|s.heavy=08- s.heavy
|heavy=09- heavy
|very heavy|v.heavy=10- v.heavy
|great=11- great
|very great|v.great=12- v.great
|severe=13- severe
|very severe|v.severe=14- v.severe
|extreme=15- extreme
|very extreme|v.extreme=16- v.extreme
|mighty=17- mighty
|very mighty|v.mighty=18- v.mighty
|bone-crushing|bonecrushing=19- bonecrushing
|very bone-crushing|v.bone-crushing|very bonecrushing|v.bonecrushing=20- v.bonecrushing
|devastating=21- devastating
|very devastating|v.devastating=22- v.devastating
|overwhelming=23- overwhelming
|annihilating=24- annihilating
|obliterating=25- obliterating
|catastrophic=26- catastrophic
|?
}}
}}
}}
|foi|balance|suitability|suitedness=
|foi|balance|suitability|suitedness=

Revision as of 21:48, 26 November 2013

This is a plug in for converting text or numbers of equipment to "##- value" format. Variable one is the rating to be converted, and variable 2 is type of number it is: damage, foi, balance, suitedness, hindrance, protection, absorption, sprotection (shield protection), construction, speed, quality.

If the text needs to be lower case, for semantic tagging for example, use {{lc:}}.

Note: THIS TEMPLATE IS INCOMPLETE.