Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 741: Line 741:
|very difficult|v.difficult=11- Very Difficult
|very difficult|v.difficult=11- Very Difficult
|extremely difficult|e.difficult=12- Extremely Difficult
|extremely difficult|e.difficult=12- Extremely Difficult
|?
}}
}}
|stone={{#switch:{{#sub:{{{1|}}}|0|2}}
|01|1-|1=pebble
|02|2-|2=stone
|03|3-|3=small rock
|04|4-|4=large rock
|05|5-|5=boulder
|{{#switch:{{lc:{{{1|}}}}}
|pebble=1
|stone=2
|s.rock|small rock=3
|l.rock|large rock=4
|boulder=5
|?
|?
}}
}}

Revision as of 23:27, 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:}}.