Template:GearProcess2: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(revert)
(this can't be right...)
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{2|}}} }}
{{#switch:{{lc:{{{2|}}} }}
|dam|damage={{#switch:{{lc:{{#sub:{{{1|}}} |0|2}} }}
|dam|damage={{#switch:{{lc:{{#sub:{{{1|}}} |0|2}} }}
|0|0-|no=00- none
|0|0-|no=00- none
Line 58: Line 58:
|?
|?
}}
}}
}}
|foi|bal|balance|suit|suitability|suitedness={{#switch:{{lc:{{#sub:{{{1|}}} |0|2}} }}
|foi|bal|balance|suit|suitability|suitedness={{#switch:{{lc:{{#sub:{{{1|}}} |0|2}} }}
|0|0-|00=00- not
|0|0-|00=00- not
Line 313: Line 312:
}}
}}
}}
}}
}}</includeonly><noinclude>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.
}}<noinclude>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 <nowiki>{{lc:}}</nowiki>.
If the text needs to be lower case, for semantic tagging for example, use <nowiki>{{lc:}}</nowiki>.

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