Template:GearProcess3: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(absorption done)
Line 67: Line 67:
}}
}}
}}
}}
|4|04|a lot|somewhat fair|s.fair=
|4|04|a lot|somewhat fair|s.fair={{#switch:{{{3}}}
|n=04<!-- number -->
|n=04<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|t={{#switch:{{{4}}}<!-- text -->
Line 455: Line 455:
}}
}}
}}{{#switch:{{{t}}}|y=]]/15}}
}}{{#switch:{{{t}}}|y=]]/15}}
|prot2|protection2={{#switch:{{#sub:{{{1|}}}|0|2}}
|1|1-|01=01- poor
|2|2-|02=02- low
|3|3-|03=03- fair
|4|4-|04=04- mod
|5|5-|05=05- good
|6|6-|06=06- v.good
|7|7-|07=07- high
|8|8-|08=08- v.high
|9|9-|09=09- great
|10=10- v.great
|11=11- extreme
|12=12- except
|13=13- incred
|14=14- amazing
|15=15- unbelievable
|{{#switch:{{lc:{{{1|}}}}}
|poor=01- poor
|low=02- low
|fair=03- fair
|moderate|mod=04- mod
|good=05- good
|very good|v.good=06- v.good
|high=07- high
|very high|v.high=08- v.high
|great=09- great
|very great|v.great=10- v.great
|extreme=11- extreme
|exceptional=12- except
|incredible=13- incred
|amazing=14- amazing
|unbelievable=15- unbelievable
|?
}}
}}
|abs|absorption={{#switch:{{lc:{{{1}}}}}
|abs|absorption={{#switch:{{lc:{{{1}}}}}
|very poor|v.poor=1
|01|1|very poor|v.poor={{#switch:{{{3}}}
|n=01<!-- number -->
|poor=2
|t={{#switch:{{{4}}}<!-- text -->
|low=3
|s=v.poor<!-- shortened text -->
|somewhat fair|s.fair=4
|#default=very poor<!-- default text -->
|fair=5
}}
|moderate|mod=6
|s=01- v.poor<!-- standard table -->
|good=7
|very good|v.good|=8
|high=9
|very high|v.high=10
|great=11
|very great|v.great=12
|extreme=13
|exceptional=14
|incredible=15
|outstanding=16
|amazing=17
|unbelievable=18
|1=Very Poor
|2=Poor
|3=Low=3
|4=Somewhat Fair
|5=Fair
|6=Moderate
|7=Good
|8=Very Good
|9=High
|10=Very High
|11=Great
|12=Very Great
|13=Extreme
|14=Exceptional
|15=Incredible
|16=Outstanding
|17=Amazing
|18=Unbelievable
}}{{#switch:{{{t}}}|y=]]/18}}
|abs2|absorption2={{#switch:{{#sub:{{{1|}}}|0|2}}
|0|1-|01=01- v.poor
|2|2-|02=02- poor
|3|3-|03=03- low
|4|4-|04=04- s.fair
|5|5-|05=05- fair
|6|6-|06=06- mod
|7|7-|07=07- good
|8|8-|08=08- v.good
|9|9-|09=09- high
|10=10- v.high
|11=11- great
|12=12- v.great
|13=13- extreme
|14=14- except
|15=15- incred
|16=16- outstand
|17=17- amazing
|18=18- unbelievable
|{{#switch:{{lc:{{{1|}}}}}
|very poor|v.poor=01- v.poor
|poor=02- poor
|low=03- low
|somewhat fair|s.fair=04- s.fair
|fair=05- fair
|moderate|mod=06- mod
|good=07- good
|very good|v.good=08- v.good
|high=09- high
|very high|v.high=10- v.high
|great=11- great
|very great|v.great=12- v.great
|extreme=13- extreme
|exceptional=14- except
|incredible=15- incred
|outstanding=16- outstand
|amazing=17- amazing
|unbelievable=18- unbelievable
|?
}}
}}
|02|2|poor={{#switch:{{{3}}}
}}
|n=02<!-- number -->
|t=poor<!-- default text -->
}}
|s=02- poor<!-- standard table -->
}}
|03|3|low={{#switch:{{{3}}}
|n=03<!-- number -->
|t=low<!-- default text -->
}}
|s=03- low<!-- standard table -->
}}
|04|4|somewhat fair|s.fair={{#switch:{{{3}}}
|n=04<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=s.fair<!-- shortened text -->
|#default=somewhat fair<!-- default text -->
}}
|s=04- s.fair<!-- standard table -->
}}
|05|5|fair={#switch:{{{3}}}
|n=05<!-- number -->
|t=fair<!-- default text -->
|s=05- fair<!-- standard table -->
}}
|06|6|moderate|mod={{#switch:{{{3}}}
|n=06<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=mod<!-- shortened text -->
|#default=moderate<!-- default text -->
}}
|s=06- mod<!-- standard table -->
}}
|07|7|good={{#switch:{{{3}}}
|n=07<!-- number -->
|t=good<!-- default text -->
|s=07- good<!-- standard table -->
}}
|08|8|very good|v.good|={{#switch:{{{3}}}
|n=08<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=v.good<!-- shortened text -->
|#default=very good<!-- default text -->
}}
|s=08- v.good<!-- standard table -->
}}
|09|9|high={{#switch:{{{3}}}
|n=09<!-- number -->
|t=high<!-- default text -->
|s=09- high<!-- standard table -->
}}
|10|very high|v.high={{#switch:{{{3}}}
|n=10<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=v.high<!-- shortened text -->
|#default=very high<!-- default text -->
}}
|s=10- v.high<!-- standard table -->
}}
|11|great={{#switch:{{{3}}}
|n=11<!-- number -->
|t=great<!-- default text -->
|s=11- great<!-- standard table -->
}}
|12|very great|v.great={{#switch:{{{3}}}
|n=12<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=v.great<!-- shortened text -->
|#default=very great<!-- default text -->
}}
|s=12- v.great<!-- standard table -->
}}
|13|extreme={{#switch:{{{3}}}
|n=13<!-- number -->
|t=extreme<!-- default text -->
|s=13- extreme<!-- standard table -->
}}
|14|exceptional={{#switch:{{{3}}}
|n=14<!-- number -->
|t=exceptional<!-- default text -->
}}
|s=14- exceptional<!-- standard table -->
}}
|15|incredible|incred={{#switch:{{{3}}}
|n=15<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=incred<!-- shortened text -->
|#default=incredible<!-- default text -->
}}
|s=15- incred<!-- standard table -->
}}
|16|outstanding|outstand={{#switch:{{{3}}}
|n=16<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=outstand<!-- shortened text -->
|#default=outstanding<!-- default text -->
}}
|s=16- outstand<!-- standard table -->
}}
|17|amazing={{#switch:{{{3}}}
|n=17<!-- number -->
|t=amazing<!-- default text -->
|s=17- amazing<!-- standard table -->
}}
|18|unbelievable={{#switch:{{{3}}}
|n=18<!-- number -->
|t=unbelievable<!-- default text -->
}}
|s=18- unbelievable<!-- standard table -->
}}
}}{{#switch:{{{t}}}|y=]]/18}}
|shield|sprot|sprotection={{#switch:{{lc:{{{1}}}}}
|shield|sprot|sprotection={{#switch:{{lc:{{{1}}}}}
|none=0
|none=0

Revision as of 16:53, 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

1=text/number
2=type of text/number

|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