Template:GearProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(eating Template:ShieldProcess)
No edit summary
Line 2: Line 2:
|damage=
|damage=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
|no|none=0
|no|none=0{{ifeq:{{{t}}}|y|]]/26|}}
|dismal=1
|dismal=1{{ifeq:{{{t}}}|y|]]/26|}}
|poor=2
|poor=2{{ifeq:{{{t}}}|y|]]/26|}}
|low=3
|low=3{{ifeq:{{{t}}}|y|]]/26|}}
|somewhat fair|s.fair=4
|somewhat fair|s.fair=4{{ifeq:{{{t}}}|y|]]/26|}}
|fair=5
|fair=5{{ifeq:{{{t}}}|y|]]/26|}}
|somewhat moderate|s.moderate=6
|somewhat moderate|s.moderate=6{{ifeq:{{{t}}}|y|]]/26|}}
|moderate=7
|moderate=7{{ifeq:{{{t}}}|y|]]/26|}}
|somewhat heavy|s.heavy=8
|somewhat heavy|s.heavy=8{{ifeq:{{{t}}}|y|]]/26|}}
|heavy=9
|heavy=9{{ifeq:{{{t}}}|y|]]/26|}}
|very heavy|v.heavy=10
|very heavy|v.heavy=10{{ifeq:{{{t}}}|y|]]/26|}}
|great=11
|great=11{{ifeq:{{{t}}}|y|]]/26|}}
|very great|v.great=12
|very great|v.great=12{{ifeq:{{{t}}}|y|]]/26|}}
|severe=13
|severe=13{{ifeq:{{{t}}}|y|]]/26|}}
|very severe|v.severe=14
|very severe|v.severe=14{{ifeq:{{{t}}}|y|]]/26|}}
|extreme=15
|extreme=15{{ifeq:{{{t}}}|y|]]/26|}}
|very extreme|v.extreme=16
|very extreme|v.extreme=16{{ifeq:{{{t}}}|y|]]/26|}}
|mighty=17
|mighty=17{{ifeq:{{{t}}}|y|]]/26|}}
|very mighty|v.mighty=18
|very mighty|v.mighty=18{{ifeq:{{{t}}}|y|]]/26|}}
|bone-crushing|bonecrushing=19
|bone-crushing|bonecrushing=19{{ifeq:{{{t}}}|y|]]/26|}}
|very bone-crushing|v.bone-crushing|very bonecrushing|v.bonecrushing=20
|very bone-crushing|v.bone-crushing|very bonecrushing|v.bonecrushing=20{{ifeq:{{{t}}}|y|]]/26|}}
|devastating=21
|devastating=21{{ifeq:{{{t}}}|y|]]/26|}}
|very devastating|v.devastating=22
|very devastating|v.devastating=22{{ifeq:{{{t}}}|y|]]/26|}}
|overwhelming=23
|overwhelming=23{{ifeq:{{{t}}}|y|]]/26|}}
|annihilating=24
|annihilating=24{{ifeq:{{{t}}}|y|]]/26|}}
|obliterating=25
|obliterating=25{{ifeq:{{{t}}}|y|]]/26|}}
|catastrophic=26
|catastrophic=26{{ifeq:{{{t}}}|y|]]/26|}}
|0=None
|0=None
|1=Dismal
|1=Dismal
Line 59: Line 59:
|foi|balance|suitability|suitedness=
|foi|balance|suitability|suitedness=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
|not=0
|not=0{{ifeq:{{{t}}}|y|]]/17|}}
|terribly=1
|terribly=1{{ifeq:{{{t}}}|y|]]/17|}}
|dismally=2
|dismally=2{{ifeq:{{{t}}}|y|]]/17|}}
|poorly=3
|poorly=3{{ifeq:{{{t}}}|y|]]/17|}}
|inadequately=4
|inadequately=4{{ifeq:{{{t}}}|y|]]/17|}}
|fairly=5
|fairly=5{{ifeq:{{{t}}}|y|]]/17|}}
|decently=6
|decently=6{{ifeq:{{{t}}}|y|]]/17|}}
|reasonably=7
|reasonably=7{{ifeq:{{{t}}}|y|]]/17|}}
|soundly=8
|soundly=8{{ifeq:{{{t}}}|y|]]/17|}}
|well=9
|well=9{{ifeq:{{{t}}}|y|]]/17|}}
|very well|v.well=10
|very well|v.well=10{{ifeq:{{{t}}}|y|]]/17|}}
|extremely well|e.well=11
|extremely well|e.well=11{{ifeq:{{{t}}}|y|]]/17|}}
|excellently=12
|excellently=12{{ifeq:{{{t}}}|y|]]/17|}}
|superbly=13
|superbly=13{{ifeq:{{{t}}}|y|]]/17|}}
|incredibly=14
|incredibly=14{{ifeq:{{{t}}}|y|]]/17|}}
|amazingly=15
|amazingly=15{{ifeq:{{{t}}}|y|]]/17|}}
|unbelievably=16
|unbelievably=16{{ifeq:{{{t}}}|y|]]/17|}}
|perfectly=17
|perfectly=17{{ifeq:{{{t}}}|y|]]/17|}}
|0=Not
|0=Not
|1=Terribly
|1=Terribly
Line 98: Line 98:
|protection=
|protection=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
|poor=1
|poor=1{{ifeq:{{{t}}}|y|]]/15|}}
|low=2
|low=2{{ifeq:{{{t}}}|y|]]/15|}}
|fair=3
|fair=3{{ifeq:{{{t}}}|y|]]/15|}}
|moderate=4
|moderate=4{{ifeq:{{{t}}}|y|]]/15|}}
|good=5
|good=5{{ifeq:{{{t}}}|y|]]/15|}}
|very good|v.good=6
|very good|v.good=6{{ifeq:{{{t}}}|y|]]/15|}}
|high=7
|high=7{{ifeq:{{{t}}}|y|]]/15|}}
|very high|v.high=8
|very high|v.high=8{{ifeq:{{{t}}}|y|]]/15|}}
|great=9
|great=9{{ifeq:{{{t}}}|y|]]/15|}}
|very great|v.great=10
|very great|v.great=10{{ifeq:{{{t}}}|y|]]/15|}}
|extreme=11
|extreme=11{{ifeq:{{{t}}}|y|]]/15|}}
|exceptional=12
|exceptional=12{{ifeq:{{{t}}}|y|]]/15|}}
|incredible=13
|incredible=13{{ifeq:{{{t}}}|y|]]/15|}}
|amazing=14
|amazing=14{{ifeq:{{{t}}}|y|]]/15|}}
|unbelievable=15
|unbelievable=15{{ifeq:{{{t}}}|y|]]/15|}}
|1=Poor
|1=Poor
|2=Low
|2=Low
Line 131: Line 131:
|absorption=
|absorption=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
|very poor|v.poor=1
|very poor|v.poor=1{{ifeq:{{{t}}}|y|]]/18|}}
|poor=2
|poor=2{{ifeq:{{{t}}}|y|]]/18|}}
|low=3
|low=3{{ifeq:{{{t}}}|y|]]/18|}}
|somewhat fair|s.fair=4
|somewhat fair|s.fair=4{{ifeq:{{{t}}}|y|]]/18|}}
|fair=5
|fair=5{{ifeq:{{{t}}}|y|]]/18|}}
|moderate=6
|moderate=6{{ifeq:{{{t}}}|y|]]/18|}}
|good=7
|good=7{{ifeq:{{{t}}}|y|]]/18|}}
|very good|v.good|=8
|very good|v.good|=8{{ifeq:{{{t}}}|y|]]/18|}}
|high=9
|high=9{{ifeq:{{{t}}}|y|]]/18|}}
|very high|v.high=10
|very high|v.high=10{{ifeq:{{{t}}}|y|]]/18|}}
|great=11
|great=11{{ifeq:{{{t}}}|y|]]/18|}}
|very great|v.great=12
|very great|v.great=12{{ifeq:{{{t}}}|y|]]/18|}}
|extreme=13
|extreme=13{{ifeq:{{{t}}}|y|]]/18|}}
|exceptional=14
|exceptional=14{{ifeq:{{{t}}}|y|]]/18|}}
|incredible=15
|incredible=15{{ifeq:{{{t}}}|y|]]/18|}}
|outstanding=16
|outstanding=16{{ifeq:{{{t}}}|y|]]/18|}}
|amazing=17
|amazing=17{{ifeq:{{{t}}}|y|]]/18|}}
|unbelievable=18
|unbelievable=18{{ifeq:{{{t}}}|y|]]/18|}}
|Very Poor=1
|1=Very Poor
|2=Poor
|2=Poor
|3=Low=3
|3=Low=3
|4=Somewhat Fair
|4=Somewhat Fair
|5=Fair
|5=Fair
|Moderate
|6=Moderate
|7=Good
|7=Good
|8=Very Good
|8=Very Good
Line 168: Line 168:
|18=Unbelievable
|18=Unbelievable
}}
}}
|sprotection=
|protection=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
|none=0
|none=0
|extremely terrible|e.terrible=1
|extremely terrible|e.terrible=1{{ifeq:{{{t}}}|y|]]/26|}}
|terrible=2
|terrible=2{{ifeq:{{{t}}}|y|]]/26|}}
|dismal=3
|dismal=3{{ifeq:{{{t}}}|y|]]/26|}}
|very poor|v.poor=4
|very poor|v.poor=4{{ifeq:{{{t}}}|y|]]/26|}}
|poor=5
|poor=5{{ifeq:{{{t}}}|y|]]/26|}}
|rather low|r.low=6
|rather low|r.low=6{{ifeq:{{{t}}}|y|]]/26|}}
|low=7
|low=7{{ifeq:{{{t}}}|y|]]/26|}}
|fair=8
|fair=8{{ifeq:{{{t}}}|y|]]/26|}}
|better than fair=9
|better than fair=9{{ifeq:{{{t}}}|y|]]/26|}}
|moderate=10
|moderate=10{{ifeq:{{{t}}}|y|]]/26|}}
|moderately good|m.good=11
|moderately good|m.good=11{{ifeq:{{{t}}}|y|]]/26|}}
|good=12
|good=12{{ifeq:{{{t}}}|y|]]/26|}}
|very good|v.good=13
|very good|v.good=13{{ifeq:{{{t}}}|y|]]/26|}}
|high=14
|high=14{{ifeq:{{{t}}}|y|]]/26|}}
|very high|v.high=15
|very high|v.high=15{{ifeq:{{{t}}}|y|]]/26|}}
|great=16
|great=16{{ifeq:{{{t}}}|y|]]/26|}}
|very great|v.great=17
|very great|v.great=17{{ifeq:{{{t}}}|y|]]/26|}}
|exceptional=18
|exceptional=18{{ifeq:{{{t}}}|y|]]/26|}}
|very exceptional|v.exceptional=19
|very exceptional|v.exceptional=19{{ifeq:{{{t}}}|y|]]/26|}}
|impressive=20
|impressive=20{{ifeq:{{{t}}}|y|]]/26|}}
|very impressive|v.impressive=21
|very impressive|v.impressive=21{{ifeq:{{{t}}}|y|]]/26|}}
|amazing=22
|amazing=22{{ifeq:{{{t}}}|y|]]/26|}}
|incredible=23
|incredible=23{{ifeq:{{{t}}}|y|]]/26|}}
|tremendous=24
|tremendous=24{{ifeq:{{{t}}}|y|]]/26|}}
|unbelievable=25
|unbelievable=25{{ifeq:{{{t}}}|y|]]/26|}}
|god like|godlike|god-like=26
|god like|godlike|god-like=26{{ifeq:{{{t}}}|y|]]/26|}}
|0=None
|0=None
|1=Extremely Terrible
|1=Extremely Terrible
Line 227: Line 227:
|stealth|stealth hindrance|hindrance=
|stealth|stealth hindrance|hindrance=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
|no=0
|no=0{{ifeq:{{{t}}}|y|]]/15|}}
|insignificant=1
|insignificant=1{{ifeq:{{{t}}}|y|]]/15|}}
|trivial=2
|trivial=2{{ifeq:{{{t}}}|y|]]/15|}}
|light=3
|light=3{{ifeq:{{{t}}}|y|]]/15|}}
|minor=4
|minor=4{{ifeq:{{{t}}}|y|]]/15|}}
|fair=5
|fair=5{{ifeq:{{{t}}}|y|]]/15|}}
|mild=6
|mild=6{{ifeq:{{{t}}}|y|]]/15|}}
|moderate=7
|moderate=7{{ifeq:{{{t}}}|y|]]/15|}}
|noticeable=8
|noticeable=8{{ifeq:{{{t}}}|y|]]/15|}}
|high=9
|high=9{{ifeq:{{{t}}}|y|]]/15|}}
|significant=10
|significant=10{{ifeq:{{{t}}}|y|]]/15|}}
|great=11
|great=11{{ifeq:{{{t}}}|y|]]/15|}}
|extreme=12
|extreme=12{{ifeq:{{{t}}}|y|]]/15|}}
|debilitating=13
|debilitating=13{{ifeq:{{{t}}}|y|]]/15|}}
|overwhelming=14
|overwhelming=14{{ifeq:{{{t}}}|y|]]/15|}}
|insane=15
|insane=15{{ifeq:{{{t}}}|y|]]/15|}}
|0=No
|0=No
|1=Insignificant
|1=Insignificant
Line 262: Line 262:
|construction=
|construction=
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
|extremely weak|e.weak=1
|extremely weak|e.weak=1{{ifeq:{{{t}}}|y|]]/18|}}
|very delicate|v.delicate=2
|very delicate|v.delicate=2{{ifeq:{{{t}}}|y|]]/18|}}
|quite fragile=3
|quite fragile=3{{ifeq:{{{t}}}|y|]]/18|}}
|rather flimsy|r.flimsy=4
|rather flimsy|r.flimsy=4{{ifeq:{{{t}}}|y|]]/18|}}
|particularly weak=5
|particularly weak=5{{ifeq:{{{t}}}|y|]]/18|}}
|somewhat unsound|s.unsound=6
|somewhat unsound|s.unsound=6{{ifeq:{{{t}}}|y|]]/18|}}
|appreciably susceptible=7
|appreciably susceptible=7{{ifeq:{{{t}}}|y|]]/18|}}
|marginally vulnerable=8
|marginally vulnerable=8{{ifeq:{{{t}}}|y|]]/18|}}
|average construction|average=9
|average construction|average=9{{ifeq:{{{t}}}|y|]]/18|}}
|a bit safeguarded|a bit=10
|a bit safeguarded|a bit=10{{ifeq:{{{t}}}|y|]]/18|}}
|rather reinforced|r.reinforced=11
|rather reinforced|r.reinforced=11{{ifeq:{{{t}}}|y|]]/18|}}
|quite guarded=12
|quite guarded=12{{ifeq:{{{t}}}|y|]]/18|}}
|highly protected=13
|highly protected=13{{ifeq:{{{t}}}|y|]]/18|}}
|very strong|v.strong=14
|very strong|v.strong=14{{ifeq:{{{t}}}|y|]]/18|}}
|extremely resistant|e.resistant=15
|extremely resistant|e.resistant=15{{ifeq:{{{t}}}|y|]]/18|}}
|unusually resilient=16
|unusually resilient=16{{ifeq:{{{t}}}|y|]]/18|}}
|nearly impervious=17
|nearly impervious=17{{ifeq:{{{t}}}|y|]]/18|}}
|practically invulnerable=18
|practically invulnerable=18{{ifeq:{{{t}}}|y|]]/18|}}
|1=Extremely Weak
|1=Extremely Weak
|2=Very Delicate
|2=Very Delicate
Line 299: Line 299:
|18=Practically Invulnerable
|18=Practically Invulnerable
}}
}}
}}</includeonly><noinclude>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, construction.
}}</includeonly><noinclude>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.

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"


If the text needs to be lower case, for semantic tagging for example, use <nowiki> {{lc:}}</nowiki>.{{cat|templates,Templates for Templates}}</noinclude>
If the text needs to be lower case, for semantic tagging for example, use <nowiki> {{lc:}}</nowiki>.{{cat|templates,Templates for Templates}}</noinclude>

Revision as of 19:35, 18 March 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.

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"

If the text needs to be lower case, for semantic tagging for example, use {{lc:}}.