Template:GearProcess2: Difference between revisions

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

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