Template:GearProcess3: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(still in progress)
No edit summary
Line 4: Line 4:
|dam|damage={{#switch:{{lc:{{{1}}}}}
|dam|damage={{#switch:{{lc:{{{1}}}}}
|-1|-01|poor (increase)|poor (inc)|poor increase|poor inc=-01- poor (inc)
|-1|-01|poor (increase)|poor (inc)|poor increase|poor inc=-01- poor (inc)
|n=-01<!-- number -->

|some=02{{#switch:{{{out}}}|n=1|t=dismal}}
|t={{#switch:{{{4}}}<!-- text -->
|s|bs=poor (inc)<!-- brawling text shortened -->
|quite a bit=03{{#switch:{{{out}}}|n=1|t=dismal}}
|b|#default=poor increase<!-- brawling text --><!-- default text -->
|a lot=04{{#switch:{{{out}}}|n=1|t=dismal}}
}}

|s={{#switch:{{{4}}}<!-- standard, for tables -->
|b|#default=-01- poor (inc)<!-- standard table -->
}}
|0|00|no|none|no increase|no inc|no (increase)|no (inc)={{#switch:{{{3}}}
|0|00|no|none|no increase|no inc|no (increase)|no (inc)={{#switch:{{{3}}}
|n=00<!-- number -->
|n=00<!-- number -->
Line 33: Line 36:
|#default=01- dismal<!-- standard table -->
|#default=01- dismal<!-- standard table -->
}}
}}

|2|02|poor|some={{#switch:{{{3}}}
|2|02|poor|some={{#switch:{{{3}}}
|n=01<!-- number -->
|n=01<!-- number -->
Line 44: Line 46:
|s={{#switch:{{{4}}}<!-- standard, for tables -->
|s={{#switch:{{{4}}}<!-- standard, for tables -->
|b=02- some<!-- brawling standard, for tables -->
|b=02- some<!-- brawling standard, for tables -->
|#default=01- dismal<!-- standard table -->
|#default=02- poor<!-- standard table -->
}}
}}
|3|03|low|quite a bit={{#switch:{{{3}}}
|n=03<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|b<!-- brawling text -->
|bs=quite a bit<!-- brawling text shortened -->
|s<!-- shortened text -->
|#default=low<!-- default text -->
}}
|s={{#switch:{{{4}}}<!-- standard, for tables -->
|b=03- quite a bit<!-- brawling standard, for tables -->
|#default=03- low<!-- standard table -->
}}
|4|04|a lot|somewhat fair|s.fair=
|n=04<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|b<!-- brawling text -->
|bs=a lot<!-- brawling text shortened -->
|s=s.fair<!-- shortened text -->
|#default=somewhat fair<!-- default text -->
}}
|s={{#switch:{{{4}}}<!-- standard, for tables -->
|b=04- a lot<!-- brawling standard, for tables -->
|#default=04- s.fair<!-- standard table -->
}}
|5|05|fair={{#switch:{{{3}}}
|n=05<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s<!-- shortened text -->
|#default=fair<!-- default text -->
}}
|s={{#switch:{{{4}}}<!-- standard, for tables -->
|#default=05- fair<!-- standard table -->
}}
|6|06|somewhat moderate|s.moderate|s.mod={{#switch:{{{3}}}
|n=06<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=s.mod<!-- shortened text -->
|#default=somewhat moderate<!-- default text -->
}}
|s={{#switch:{{{4}}}<!-- standard, for tables -->
|#default=06- s.mod<!-- standard table -->
}}
|7|07|moderate|mod={{#switch:{{{3}}}
|n=07<!-- number -->
|t={{#switch:{{{4}}}<!-- text -->
|s=mod<!-- shortened text -->
|#default=moderate<!-- default text -->
}}
|s={{#switch:{{{4}}}<!-- standard, for tables -->
|#default=07- mod<!-- standard table -->
}}



|3|03|low=3{{#switch:{{{out}}}|n=1|t=dismal}}
|4|04|somewhat fair|s.fair=4{{#switch:{{{out}}}|n=1|t=dismal}}
|5|05|fair=5{{#switch:{{{out}}}|n=1|t=dismal}}
|6|06|somewhat moderate|s.moderate|s.mod=6{{#switch:{{{out}}}|n=1|t=dismal}}
|7|07|moderate|mod=7{{#switch:{{{out}}}|n=1|t=dismal}}
|8|08|somewhat heavy|s.heavy=8{{#switch:{{{out}}}|n=1|t=dismal}}
|8|08|somewhat heavy|s.heavy=8{{#switch:{{{out}}}|n=1|t=dismal}}
|9|09|heavy=9{{#switch:{{{out}}}|n=1|t=dismal}}
|9|09|heavy=9{{#switch:{{{out}}}|n=1|t=dismal}}

Revision as of 00:19, 22 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