Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 37: Line 37:
|quite a bit=03
|quite a bit=03
|a lot=04
|a lot=04
|0=No
|00|0=No
|1=Dismal
|01|1=Dismal
|2=Poor
|02|2=Poor
|3=Low
|03|3=Low
|4=Somewhat Fair
|04|4=Somewhat Fair
|5=Fair
|05|5=Fair
|6=Somewhat Moderate
|06|6=Somewhat Moderate
|7=Moderate
|07|7=Moderate
|8=Somewhat Heavy
|08|8=Somewhat Heavy
|9=Heavy
|09|9=Heavy
|10=Very Heavy
|10=Very Heavy
|11=Great
|11=Great
Line 65: Line 65:
|26=Demolishing
|26=Demolishing
|27=Catastrophic
|27=Catastrophic
|b1=A Little
}}{{#switch:{{{t}}}|y=]]/26}}
|b2=Some
|b3=Quite a Bit
|b4=A Lot
}}{{#switch:{{{t}}}|y=]]/27}}
|dam2|damage2={{#switch:{{#sub:{{{1|}}}|0|2}}
|dam2|damage2={{#switch:{{#sub:{{{1|}}}|0|2}}
|0|0-|00=00- none
|0|0-|00=00- none
Line 95: Line 99:
|26=26- demolishing
|26=26- demolishing
|27=27- catastrophic
|27=27- catastrophic
|b1=b1- a little
|b2=b2- some
|b3=b3- quite a bit
|b4=b4- a lot
|{{#switch:{{lc:{{{1|}}}}}
|{{#switch:{{lc:{{{1|}}}}}
|none|no=00- none
|none|no=00- none
Line 126: Line 134:
|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)
|a little=01- a little
|a little=b1- a little
|a little increase=01- a little (inc)
|a little increase=-b1- a little (inc)
|some=02- some
|some=b2- some
|some increase=02- some (inc)
|some increase=-b2- some (inc)
|quite a bit=03- quite a bit
|quite a bit=b3- quite a bit
|quite a bit increase=03- quite a bit (inc)
|quite a bit increase=-b3- quite a bit (inc)
|a lot=04- a lot
|a lot=b4- a lot
|a lot increase=04- a lot (inc)
|a lot increase=-b4- a lot (inc)
|?
|?
}}
}}

Revision as of 16:28, 6 August 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:}}.