Template:HindAdapter: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Created page with "<includeonly>{{#switch:{{{1}}}|no=0|insignificant=1|trivial=2|light=3|minor=4|fair=5|mild=6|moderate=7|noticeable=8|high=9|significant=10|great=11|extreme=12|debilitating=13|o...")
 
m (fixed adapter to work with old code)
Line 1: Line 1:
<includeonly>
<includeonly>{{#switch:{{{1}}}|no=0|insignificant=1|trivial=2|light=3|minor=4|fair=5|mild=6|moderate=7|noticeable=8|high=9|significant=10|great=11|extreme=12|debilitating=13|overwhelming=14|insane=15}}</includeonly><noinclude>A plugin template that will convert text hindrances to numbers.{{Cat|Templates,Templates for Templates}}</noinclude>
{{#switch:{{#len:{{{1|}}}}}
|0=??|
{{#switch:{{lc:{{{2}}}}}
|stealth|stealth hindrance|hind|hindrance={{#switch:{{lc:{{{1}}}}}
|no=0
|insignificant|insig=1
|trivial=2
|light=3
|minor=4
|fair=5
|mild=6
|moderate|mod=7
|noticeable=8
|high=9
|significant|signif|sig=10
|great=11
|extreme=12
|overwhelming=14
|insane=15
|0=No
|1=Insignificant
|2=Trivial
|3=Light
|4=Minor
|5=Fair
|6=Mild
|7=Moderate
|8=Noticeable
|9=High
|10=Significant
|11=Great
|12=Extreme
|13=Debilitating
|14=Overwhelming
|15=Insane
}}{{#switch:{{{t}}}|y=]]/8}}
|stealth2|stealth hindrance2|hind2|hindrance2={{#switch:{{#sub:{{{1|}}}|0|2}}
|0|0-|00=00- none
|1|1-|01=01- insig
|2|2-|02=02- trivial
|3|3-|02=02- light
|4|4-|04=04- minor
|5|5-|03=03- fair
|6|6-|06=06- mild
|7|7-|07=07- mod
|8|8-|08=08- noticeable
|9|9-|09=09- high
|10=10- signif
|11|11-|06=06- great
|12=12- extreme
|13=13- debil
|14|14-|14=14- overwhelm
|15|15-|15=15- insane
|{{#switch:{{lc:{{{1|}}}}}
|no|none=00- none
|insignificant|insig=01- insig
|trivial=02- trivial
|light=03- light
|minor=04- minor
|fair=05- fair
|mild=06- mild
|moderate|mod=07- mod
|noticeable=08- noticeable
|high=09- high
|significant|signif=10- signif
|great=11- great
|extreme=12- extreme
|debilitating|debil=13- debil
|overwhelming|overwhelm=14- overwhelm
|insane=15- insane
|?
}}
}}
}}
}}
{{#switch:{{{1}}}|no=0|insignificant=1|trivial=2|light=3|minor=4|fair=5|mild=6|moderate=7|noticeable=8|high=9|significant=10|great=11|extreme=12|debilitating=13|overwhelming=14|insane=15}}</includeonly><noinclude>A plugin template that will convert text hindrances to numbers.{{Cat|Templates,Templates for Templates}}</noinclude>

Revision as of 13:53, 27 December 2018

A plugin template that will convert text hindrances to numbers.