Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Undo revision 213161 by Caraamon (talk))
No edit summary
Line 299: Line 299:
|18=Practically Invulnerable
|18=Practically Invulnerable
}}{{#switch:{{{t}}}|y=]]/18}}
}}{{#switch:{{{t}}}|y=]]/18}}
|speed=
}}</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.
{{#switch:{{lc:{{{1}}}}}
|completely ineffective=1
|tremendously ineffective=2
|extremely ineffective=3
|very ineffective=4
|not very effective=5
|sort of effective=6
|rather effective=7
|very effective=8
|exceptionally effective=9
|extremely effective=10
|tremendously effective=11
|01|1=completely ineffective
|02|2=tremendously ineffective
|03|3=extremely ineffective
|04|4=very ineffective
|05|5=not very effective
|06|6=sort of effective
|07|7=rather effective
|08|8=very effective
|09|9=exceptionally effective
|10=extremely effective
|11=tremendously effective
}}{{#switch:{{{t}}}|y=]]/11}}
|quality
{{#switch:{{lc:{{{1}}}}}
|masterful=12
|outstanding=11
|exceptional=10
|superior=9
|finely=8
|well=7
|above-average=6
|about average=5
|mediocre=4
|below-average=3
|poorly=2
|dismal=1
|practically worthless=0
|12=masterful
|11=outstanding
|10=exceptional
|9|09=superior
|8|08=finely
|7|07=well
|6|06=above-average
|5|05=about average
|4|04=mediocre
|3|03=below-average
|2|02=poorly
|1|01=dismal
|0|00=practically worthless
}}{{#switch:{{{t}}}|y=]]/12}}
}}</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, speed, quality.


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: <nowiki>"]]/18"</nowiki>
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: <nowiki>"]]/18"</nowiki>

Revision as of 17:06, 21 July 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, speed, quality.

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