Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (armor hindrance has a different scale than shield hindrance)
No edit summary
Line 806: Line 806:
|?
|?
}}
}}
}}
|potency={{#switch:{{lc:{{{1}}}}}
|no=1
|terrible=2
|dismal=3
|poor=4
|low=5
|decent=6
|moderate=7
|good=8
|great=9
|excellent=10
|1=no
|2=terrible
|3=dismal
|4=poor
|5=low
|6=decent
|7=moderate
|8=good
|9=great
|10=excellent
}}
}}
|type={{SkillCode:{{{1|}}}}}
|type={{SkillCode:{{{1|}}}}}

Revision as of 12:11, 7 September 2020

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