Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 920: Line 920:
|3=Greater
|3=Greater
|4=Major
|4=Major
}}
|instquality={{#switch:{{lc:{{{1}}}}}
|very crudely made=1
|very poorly made=2
|slipshod work=3
|well cared-for=3
|average quality=4
|good quality=5
|well made=6
|finely made=7
|very finely made=8
|exquisite craftsmanship=9
|masterful craftsmanship=10
|faenella herself=11
|1=very crudely made
|2=very poorly made
|3=slipshod work
|3=well cared-for
|4=average quality
|5=good quality
|6=well made
|7=finely made
|8=very finely made
|9=exquisite craftsmanship
|10=masterful craftsmanship
|11=faenella herself
}}
}}
|type={{SkillCode:{{{1|}}}}}
|type={{SkillCode:{{{1|}}}}}

Latest revision as of 08:39, 20 December 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:}}.