Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 735: Line 735:
|quality={{#switch:{{lc:{{{1}}}}}
|quality={{#switch:{{lc:{{{1}}}}}
|masterfully=12
|masterfully=12
|masterfully-crafted=12
|outstanding=11
|outstanding=11
|exceptional=10
|exceptional=10
|superior=9
|superior=9
|finely=8
|finely=8
|finely-crafted=8
|well=7
|well=7
|well-crafted=7
|above-average=6
|above-average=6
|about average=5
|about average=5
Line 745: Line 748:
|below-average=3
|below-average=3
|poorly=2
|poorly=2
|poorly-crafted=2
|dismal=1
|dismal=1
|practically worthless=0
|practically worthless=0
Line 753: Line 757:
|9|09=superior
|9|09=superior
|8|08=finely
|8|08=finely
|8|08=finely-crafted
|7|07=well
|7|07=well
|7|07=well-crafted
|6|06=above-average
|6|06=above-average
|5|05=about average
|5|05=about average
Line 759: Line 765:
|3|03=below-average
|3|03=below-average
|2|02=poorly
|2|02=poorly
|2|02=poorly-crafted
|1|01=dismal
|1|01=dismal
|0|00=practically worthless
|0|00=practically worthless

Revision as of 18:43, 30 January 2022

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