Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
Line 686: Line 686:
|0|00=practically worthless
|0|00=practically worthless
}}{{#switch:{{{t}}}|y=]]/12}}
}}{{#switch:{{{t}}}|y=]]/12}}
|diff|difficulty={{#switch:{{#sub:{{{1|}}}|0|2}}
|dif|diff|difficulty={{#switch:{{#sub:{{{1|}}}|0|2}}
|01|1-|1=01- e.easy
|01|1-|1=01- e.easy
|02|2-|2=02- v.easy
|02|2-|2=02- v.easy
Line 715: Line 715:
}}
}}
}}
}}
|diff2|difficulty2={{#switch:{{#sub:{{{1|}}}|0|2}}
|dif2|diff2|difficulty2={{#switch:{{#sub:{{{1|}}}|0|2}}
|01|1-|1=01- Extreme Easy
|01|1-|1=01- Extreme Easy
|02|2-|2=02- Very Easy
|02|2-|2=02- Very Easy

Revision as of 22:02, 29 November 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:}}.