Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 87: Line 87:
|26=26- catastrophic
|26=26- catastrophic
|{{#switch:{{lc:{{{1|}}}}}
|{{#switch:{{lc:{{{1|}}}}}
|none=00- none
|none|no=00- none
|dismal=01- dismal
|dismal=01- dismal
|poor=02- poor
|poor=02- poor

Revision as of 00:43, 1 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:}}.