Template:GearProcess3: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(balance/foi/suitability done)
(protection done)
Line 235: Line 235:
|s=13- catastrophic<!-- standard table -->
|s=13- catastrophic<!-- standard table -->
}}
}}
}}{{#switch:{{{t}}}|y=]]/26}}
}}
|foi|bal|balance|suit|suitability|suitedness={{#switch:{{lc:{{{1}}}}}
|foi|bal|balance|suit|suitability|suitedness={{#switch:{{lc:{{{1}}}}}
|0|00|not={{#switch:{{{3}}}
|0|00|not={{#switch:{{{3}}}
Line 354: Line 354:
|s=17- perfect<!-- standard table -->
|s=17- perfect<!-- standard table -->
}}
}}
}}{{#switch:{{{t}}}|y=]]/17}}
}}
|prot|protection={{#switch:{{lc:{{{1}}}}}
|prot|protection={{#switch:{{lc:{{{1}}}}}
|poor=1
|01|1|poor={{#switch:{{{3}}}
|n=01<!-- number -->
|low=2
|t=poor<!-- default text -->
|fair=3
|s=01- poor<!-- standard table -->
|moderate|mod=4
|good=5
}}
|02|2|low={{#switch:{{{3}}}
|very good|v.good=6
|n=02<!-- number -->
|high=7
|t=low<!-- default text -->
|very high|v.high=8
|great=9
}}
|s=02- low<!-- standard table -->
|very great|v.great=10
|extreme=11
}}
|03|3|fair={{#switch:{{{3}}}
|exceptional=12
|n=03<!-- number -->
|incredible=13
|t=fair<!-- default text -->
|amazing=14
|s=03- fair<!-- standard table -->
|unbelievable=15
|1=Poor
}}
|04|4|moderate|mod={{#switch:{{{3}}}
|2=Low
|3=Fair
|n=04<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|4=Moderate
|s=mod<!-- shortened text -->
|5=Good
|#default=moderately<!-- default text -->
|6=Very Good
|7=High
}}
|s=04- mod<!-- standard table -->
|8=Very High
|9=Great
}}
|05|5|good={{#switch:{{{3}}}
|10=Very Great
|n=05<!-- number -->
|11=Extreme
|t=good<!-- default text -->
|12=Exceptional
}}
|13=Incredible
|s=05- good<!-- standard table -->
|4=Amazing
}}
|15=Unbelievable
|06|6|very good|v.good={{#switch:{{{3}}}
|n=06<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=v.good<!-- shortened text -->
|#default=very good<!-- default text -->
}}
|s=06- v.good<!-- standard table -->
}}
|07|7|high={{#switch:{{{3}}}
|n=17<!-- number -->
|t=high<!-- default text -->
}}
|s=07- high<!-- standard table -->
}}
|08|8|very high|v.high={{#switch:{{{3}}}
|n=08<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=v.high<!-- shortened text -->
|#default=very high<!-- default text -->
}}
|s=08- v.high<!-- standard table -->
}}
|09|9|great={{#switch:{{{3}}}
|n=09<!-- number -->
|t=great<!-- default text -->
}}
|s=09- great<!-- standard table -->
}}
|10|very great|v.great={{#switch:{{{3}}}
|n=10<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=v.great<!-- shortened text -->
|#default=very great<!-- default text -->
}}
|s=10- v.great<!-- standard table -->
}}
|11|extreme={{#switch:{{{3}}}
|n=11<!-- number -->
|t=extreme<!-- default text -->
}}
|s=11- extreme<!-- standard table -->
}}
|12|exceptional={{#switch:{{{3}}}
|n=12<!-- number -->
|t=exceptional<!-- default text -->
}}
|s=12- exceptional<!-- standard table -->
}}
|13|incredible|incredibly|incred={{#switch:{{{3}}}
|n=13<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=incred<!-- shortened text -->
|#default=incredible<!-- default text -->
}}
|s=13- incred<!-- standard table -->
}}
|14|amazing|amazingly={{#switch:{{{3}}}
|n=14<!-- number -->
|t=amazing<!-- default text -->
}}
|s=14- amazing<!-- standard table -->
}}
|15|unbelievable={{#switch:{{{3}}}
|n=15<!-- number -->
|t=unbelievable<!-- default text -->
}}
|s=15- unbelievable<!-- standard table -->
}}
}}{{#switch:{{{t}}}|y=]]/15}}
}}{{#switch:{{{t}}}|y=]]/15}}
|prot2|protection2={{#switch:{{#sub:{{{1|}}}|0|2}}
|prot2|protection2={{#switch:{{#sub:{{{1|}}}|0|2}}

Revision as of 16:31, 23 December 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"


Syntax

|3=n: number
|3=t: text
|4=b: brawling text
|4=bs: brawling text shortened
|4='s: shortened text
|otherwise default text
|3=s: standard, for tables
|4=b: brawling standard, for tables
|otherwise standard table