Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(updated based on new info)
Line 29: Line 29:
|annihilating=24
|annihilating=24
|obliterating=25
|obliterating=25
|catastrophic=26
|demolishing=26
|catastrophic=27
|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)
Line 62: Line 63:
|24=Annihilating
|24=Annihilating
|25=Obliterating
|25=Obliterating
|26=Catastrophic
|26=Demolishing
|27=Catastrophic
}}{{#switch:{{{t}}}|y=]]/26}}
}}{{#switch:{{{t}}}|y=]]/26}}
|dam2|damage2={{#switch:{{#sub:{{{1|}}}|0|2}}
|dam2|damage2={{#switch:{{#sub:{{{1|}}}|0|2}}
Line 91: Line 93:
|24=24- annihilating
|24=24- annihilating
|25=25- obliterating
|25=25- obliterating
|26=26- catastrophic
|26=26- demolishing
|27=27- catastrophic
|{{#switch:{{lc:{{{1|}}}}}
|{{#switch:{{lc:{{{1|}}}}}
|none|no=00- none
|none|no=00- none
Line 119: Line 122:
|annihilating=24- annihilating
|annihilating=24- annihilating
|obliterating=25- obliterating
|obliterating=25- obliterating
|catastrophic=26- catastrophic
|demo|demolish|demolishing=26- demolishing
|catastrophic=27- catastrophic
|poor (increase)|poor (inc)|poor increase|poor inc=-01 poor (inc)
|poor (increase)|poor (inc)|poor increase|poor inc=-01 poor (inc)
|no increase|no inc|no (increase)|no (inc)=00- no (inc)
|no increase|no inc|no (increase)|no (inc)=00- no (inc)

Revision as of 16:07, 6 July 2014

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