Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 221: Line 221:
|unbelievably=16- unbelieveably
|unbelievably=16- unbelieveably
|perfect|perfectly=17- perfectly
|perfect|perfectly=17- perfectly
|?
}}
}}
|draw|drawstrength={{#switch:{{lc:{{{1}}}}}
|extremely low|e.low=1
|very low|v.low=2
|somewhat low|s.low=3
|average|avg=4
|somewhat high|s.high=5
|very high|v.high=6
|exceptionally high|exc.high=7
|extremely high|ext.high=8
|1=Extremely Low
|2=Very Low
|3=Somewhat Low
|4=Average
|5=Somewhat High
|6=Very High
|7=Exceptionally High
|8=Extremely High
}}{{#switch:{{{t}}}|y=]]/8}}
|draw2|drawstrength2={{#switch:{{#sub:{{{1|}}}|0|2}}
|1|1-|01=01- poor
|2|2-|02=02- low
|3|3-|03=03- fair
|4|4-|04=04- mod
|5|5-|05=05- good
|6|6-|06=06- v.good
|7|7-|07=07- high
|8|8-|08=08- v.high
|{{#switch:{{lc:{{{1|}}}}}
|extremely low|e.low=01- e.low
|very low|v.low=02- v.low
|somewhat low|s.low=03- s.low
|average|avg=04- avg
|somewhat high|s.high=05- s.high
|very high|v.high=06- v.high
|exceptionally high|exc.high=07- exc.high
|extremely high|ext.high=08- ext.high
|?
|?
}}
}}

Revision as of 19:58, 18 June 2015

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

If t is set to "y", then the output of a text conversion will include semantic close brackets and the total number of levels. Example: "]]/18"

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