Template:GearProcess2: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{#switch:{{#len:{{{1|}}}}}
{{#switch:{{#len:{{{1|}}}}}
|0=??|
|0=??|
{{#switch:
{{#switch:{{lc:{{{2|}}}}}
|dam|damage={{#switch:{{#sub:{{{1|}}}|0|2}}
|dam|damage={{#switch:{{#sub:{{{1|}}}|0|2}}
|0|0-|00=00- none
|0|0-|00=00- none
Line 30: Line 30:
|25=25- obliterating
|25=25- obliterating
|26=26- catastrophic
|26=26- catastrophic
|{{#switch:{{lc: {{{1|}}} }}
|{{#switch:{{lc:{{{1|}}}}}
|none=00- none
|none=00- none
|dismal=01- dismal
|dismal=01- dismal

Revision as of 18:59, 27 November 2013

??This is a plug in for converting text or numbers of equipment to "##- value" format. Variable one is the rating to be converted, and variable 2 is type of number it is: damage, foi, balance, suitedness, hindrance, protection, absorption, sprotection (shield protection), construction, speed, quality.

If the text needs to be lower case, for semantic tagging for example, use {{lc:}}.

Note: THIS TEMPLATE IS INCOMPLETE.