Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(hinderance scale adjustments)
No edit summary
(4 intermediate revisions by the same user not shown)
Line 34: Line 34:
|no increase|no inc|no (increase)|no (inc)=00
|no increase|no inc|no (increase)|no (inc)=00
|poor (increase)|poor (inc)|poor increase|poor inc=-01- poor (inc)
|poor (increase)|poor (inc)|poor increase|poor inc=-01- poor (inc)
|a little=01
|a little=1
|some=02
|some=2
|quite a bit=03
|quite a bit=3
|a lot=04
|a lot=4
|00|0=No
|00|0=No
|01|1=Dismal
|01|1=Dismal
Line 837: Line 837:
|potency={{#switch:{{lc:{{{1}}}}}
|potency={{#switch:{{lc:{{{1}}}}}
|no=1
|no=1
|almost no=1
|terrible=2
|terrible=2
|dismal=3
|dismal=3
Line 902: Line 903:
|10=amazingly precise
|10=amazingly precise
|11=fantastically precise
|11=fantastically precise
}}
|grade={{#switch:{{lc:{{{1}}}}}
|minor=1
|lesser=2
|greater=3
|major=4
|1=Minor
|2=Lesser
|3=Greater
|4=Major
}}
}}
|type={{SkillCode:{{{1|}}}}}
|type={{SkillCode:{{{1|}}}}}

Revision as of 01:13, 29 November 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:}}.