Template:GearProcess2: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{2}}}}}
<includeonly>{{#switch:{{lc:{{{2}}}}}
|dam|damage=
|dam|damage={{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
{{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
|0|0-|no=00- none
|0|0-|no=00- none
|1|1-|01=01- dismal
|1|1-|01=01- dismal
Line 60: Line 59:
}}
}}
}}
}}
|foi|bal|balance|suit|suitability|suitedness=
|foi|bal|balance|suit|suitability|suitedness={{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
{{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
|0|0-|00=00- not
|0|0-|00=00- not
|1|1-|01=01- terribly
|1|1-|01=01- terribly
Line 102: Line 100:
}}
}}
}}
}}
|prot|protection=
|prot|protection={{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
{{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
|1|1-|01=01- poor
|1|1-|01=01- poor
|2|2-|02=02- low
|2|2-|02=02- low
Line 138: Line 135:
}}
}}
}}
}}
|abs|absorption=
|abs|absorption={{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
{{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
|0|1-|01=01- v.poor
|0|1-|01=01- v.poor
|2|2-|02=02- poor
|2|2-|02=02- poor
Line 180: Line 176:
}}
}}
}}
}}
|sprot|sprotection=
|sprot|sprotection={{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
{{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
|0|0-|0=00- none
|0|0-|0=00- none
|1|1-|01=01- e.terrible
|1|1-|01=01- e.terrible
Line 240: Line 235:
}}
}}
}}
}}
|stealth|stealth hindrance|hind|hindrance=
|stealth|stealth hindrance|hind|hindrance={{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
{{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
|0|0-|00=00- none
|0|0-|00=00- none
|1|1-|01=01- insig
|1|1-|01=01- insig
Line 278: Line 272:
}}
}}
}}
}}
|const|construction=
|const|construction={{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
{{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}
|1|1-|01=01- e.weak
|1|1-|01=01- e.weak
|2|2-|02=02- v.delicate
|2|2-|02=02- v.delicate

Revision as of 10:16, 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.