Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 920: Line 920:
|3=Greater
|3=Greater
|4=Major
|4=Major
}}
|InstQuality={{#switch:{{lc:{{{1}}}}}
|very crudely made=1
|very poorly made=2
|well cared-for=3
|average quality=4
|good quality=5
|finely made=6
|very finely made=7
|exquisite craftsmanship=8
|masterful craftsmanship=9
|1=very crudely made
|2=very poorly made
|3=well cared-for
|4=average quality
|5=good quality
|6=finely made
|7=very finely made
|8=exquisite craftsmanship
|9=masterful craftsmanship
}}
}}
|type={{SkillCode:{{{1|}}}}}
|type={{SkillCode:{{{1|}}}}}

Revision as of 09:17, 30 November 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:}}.