Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 57: Line 57:
|26=Catastrophic
|26=Catastrophic
}}
}}
|foi|balance|suitability=
|foi|balance|suitability|suitedness=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
|not=0
|not=0
Line 242: Line 242:
|18=Practically Invulnerable
|18=Practically Invulnerable
}}
}}
}}</includeonly><noinclude>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, suitability, hindrance, protection, absorption, construction.
}}</includeonly><noinclude>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, construction.


If the text needs to be lower case, for semantic tagging for example, use <nowiki> {{lc:}}</nowiki>.{{cat|templates,Templates for Templates}}</noinclude>
If the text needs to be lower case, for semantic tagging for example, use <nowiki> {{lc:}}</nowiki>.{{cat|templates,Templates for Templates}}</noinclude>

Revision as of 15:52, 18 March 2013

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, construction.

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