Template:GearProcess3: Difference between revisions
Jump to navigation
Jump to search
(in progress) |
(still in progress) |
||
Line 3: | Line 3: | ||
{{#switch:{{lc:{{{2}}}}} |
{{#switch:{{lc:{{{2}}}}} |
||
|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) |
||
⚫ | |||
|some=02{{#switch:{{{out}}}|n=1|t=dismal}} |
|some=02{{#switch:{{{out}}}|n=1|t=dismal}} |
||
|quite a bit=03{{#switch:{{{out}}}|n=1|t=dismal}} |
|quite a bit=03{{#switch:{{{out}}}|n=1|t=dismal}} |
||
|a lot=04{{#switch:{{{out}}}|n=1|t=dismal}} |
|a lot=04{{#switch:{{{out}}}|n=1|t=dismal}} |
||
|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 14: | Line 15: | ||
|bs=no (inc)<!-- brawling text shortened --> |
|bs=no (inc)<!-- brawling text shortened --> |
||
|s<!-- shortened text --> |
|s<!-- shortened text --> |
||
|none <!-- default text --> |
|#default=none <!-- default text --> |
||
}} |
}} |
||
|s={{#switch:{{{4}}<!-- standard, for tables --> |
|s={{#switch:{{{4}}}<!-- standard, for tables --> |
||
|b=00- no (inc)<!-- brawling standard, for tables --> |
|||
|b=none |
|||
| |
|#default=00- none<!-- standard table --> |
||
}} |
}} |
||
|1|01|dismal|a little={{#switch:{{{3}}} |
|1|01|dismal|a little={{#switch:{{{3}}} |
||
|n=01 |
|n=01<!-- number --> |
||
|t={{#switch:{{{4}}} |
|t={{#switch:{{{4}}}<!-- text --> |
||
|b |
|b<!-- brawling text --> |
||
|bs=a little<!-- brawling text shortened --> |
|||
|dismal |
|||
|s<!-- shortened text --> |
|||
|#default=dismal<!-- default text --> |
|||
}} |
}} |
||
|s={{#switch:{{{4}} |
|s={{#switch:{{{4}}}<!-- standard, for tables --> |
||
|b=01- a little<!-- brawling standard, for tables --> |
|||
|b=none |
|||
|#default=01- dismal<!-- standard table --> |
|||
|st=00- no (inc) |
|||
}} |
}} |
||
|2|02|poor= |
|2|02|poor|some={{#switch:{{{3}}} |
||
|n=01<!-- number --> |
|||
⚫ | |||
|b<!-- brawling text --> |
|||
|bs=some<!-- brawling text shortened --> |
|||
|s<!-- shortened text --> |
|||
|#default=poor<!-- default text --> |
|||
}} |
|||
|s={{#switch:{{{4}}}<!-- standard, for tables --> |
|||
|b=02- some<!-- brawling standard, for tables --> |
|||
|#default=01- dismal<!-- standard table --> |
|||
}} |
|||
|3|03|low=3{{#switch:{{{out}}}|n=1|t=dismal}} |
|3|03|low=3{{#switch:{{{out}}}|n=1|t=dismal}} |
||
|4|04|somewhat fair|s.fair=4{{#switch:{{{out}}}|n=1|t=dismal}} |
|4|04|somewhat fair|s.fair=4{{#switch:{{{out}}}|n=1|t=dismal}} |
||
Line 801: | Line 818: | ||
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> |
||
|1=value |
|||
==Syntax== |
|||
|2=type |
|||
|3= |
:|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 |
|||
⚫ |
Revision as of 23:07, 21 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