Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 687: Line 687:
}}{{#switch:{{{t}}}|y=]]/12}}
}}{{#switch:{{{t}}}|y=]]/12}}
|dif|diff|difficulty={{#switch:{{#sub:{{{1|}}}|0|2}}
|dif|diff|difficulty={{#switch:{{#sub:{{{1|}}}|0|2}}
|01|1-|1=01- e.easy
|01|1-|1|1 =01- e.easy
|02|2-|2=02- v.easy
|02|2-|2|2 =02- v.easy
|03|3-|3=03- easy
|03|3-|3|3 =03- easy
|04|4-|4=04- simple
|04|4-|4|4 =04- simple
|05|5-|5=05- basic
|05|5-|5|5 =05- basic
|06|6-|6=06- s.challenging
|06|6-|6|6 =06- s.challenging
|07|7-|7=07- challenging
|07|7-|7|7 =07- challenging
|08|8-|8=08- complicated
|08|8-|8|8 =08- complicated
|09|9-|9=09- intricate
|09|9-|9|9 =09- intricate
|10=10- difficult
|10=10- difficult
|11=11- v.difficult
|11=11- v.difficult
Line 712: Line 712:
|very difficult|v.difficult=11- v.difficult
|very difficult|v.difficult=11- v.difficult
|extremely difficult|e.difficult=12- e.difficult
|extremely difficult|e.difficult=12- e.difficult
|??
|?
}}
}}
}}
}}

Revision as of 22:09, 3 December 2013

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:}}.