Template:GearProcess: Difference between revisions
Jump to navigation
Jump to search
TEVESHSZAT (talk | contribs) No edit summary |
TEVESHSZAT (talk | contribs) No edit summary |
||
Line 904: | Line 904: | ||
}} |
}} |
||
|grade={{#switch:{{lc:{{{1}}}}} |
|grade={{#switch:{{lc:{{{1}}}}} |
||
| |
|minor=1 |
||
| |
|lesser=2 |
||
| |
|greater=3 |
||
| |
|major=4 |
||
|1=Minor |
|1=Minor |
||
|2=Lesser |
|2=Lesser |
Revision as of 22:55, 8 February 2021
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:}}.