Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(lets see how this works)
No edit summary
Line 94: Line 94:
|16=Unbelievably
|16=Unbelievably
|17=Perfectly
|17=Perfectly
}}{{ifeq:{{{t}}}|y|]]/17|}}
}}{{switch:{{{t}}}|y=]]/17|}}
|protection=
|protection=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
Line 127: Line 127:
|4=Amazing
|4=Amazing
|15=Unbelievable
|15=Unbelievable
}}{{ifeq:{{{t}}}|y|]]/15|}}
}}{{switch:{{{t}}}|y=]]/15|}}
|absorption=
|absorption=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
Line 166: Line 166:
|17=Amazing
|17=Amazing
|18=Unbelievable
|18=Unbelievable
}}{{ifeq:{{{t}}}|y|]]/18|}}
}}{{switch:{{{t}}}|y=]]/18|}}
|sprotection=
|sprotection=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
Line 224: Line 224:
|26=God-like
|26=God-like
}}
}}
{{ifeq:{{{t}}}|y|]]/26|}}
{{switch:{{{t}}}|y=]]/26|}}
|stealth|stealth hindrance|hindrance=
|stealth|stealth hindrance|hindrance=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
Line 259: Line 259:
|14=Overwhelming
|14=Overwhelming
|15=Insane
|15=Insane
}}{{ifeq:{{{t}}}|y|]]/15|}}
}}{{switch:{{{t}}}|y=]]/15|}}


|construction=
|construction=
Line 299: Line 299:
|17=Nearly Impervious
|17=Nearly Impervious
|18=Practically Invulnerable
|18=Practically Invulnerable
}}{{ifeq:{{{t}}}|y|]]/18|}}
}}{{switch:{{{t}}}|y=]]/18|}}

}}</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, sprotection (shield protection), 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, sprotection (shield protection), construction.



Revision as of 20:55, 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, sprotection (shield protection), construction.

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:}}.