Template:ArmorProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(hinderance scale adjustments)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1}}}}}
<includeonly>{{#switch:{{lc:{{{2}}}}}
|puncture protection is
|none=[[{{{2}}}::0 - none|None]]
|impact protection is
|poor=[[{{{2}}}::1 - poor|Poor]]
|slice protection is
|insignificant=[[{{{2}}}::1 - insignificant|Insignificant]]
|fire protection is
|low={{#if:{{IfMatch|{{{2}}}|stealth hindrance is|hindrance is}}|[[{{{2}}}::3 - low|Low]]|[[{{{2}}}::2 - low|Low]]}}
|cold protection is
|light=[[{{{2}}}::2 - light|Light]]
|electric protection is=
|fair={{#if:{{IfMatch|{{{2}}}|stealth hindrance is|hindrance is}}|[[{{{2}}}::4 - fair|Fair]]|[[{{{2}}}::3 - fair|Fair]]}}
[[{{{2}}}::{{{1}}}]] ([[{{{2}}} number::{{GearProcess|{{{1}}}|protection}}]]/15)
|moderate={{#if:{{IfMatch|{{{2}}}|stealth hindrance is|hindrance is}}|[[{{{2}}}::5 - moderate|Moderate]]|[[{{{2}}}::4 - moderate|Moderate]]}}
|puncture absorption is
|good=[[{{{2}}}::5 - good|Good]]
|impact absorption is
|high=[[{{{2}}}::6 - high|High]]
|slice absorption is
|great=[[{{{2}}}::7 - great|Great]]
|fire absorption is
|extreme=[[{{{2}}}::8 - extreme|Extreme]]
|cold absorption is
|overwhelming=[[{{{2}}}::8 - overwhelming|Overwhelming]]
|electric absorption is=
|incredible=[[{{{2}}}::9 - incredible|Incredible]]
[[{{{2}}}::{{{1}}}]] ([[{{{2}}} number::{{GearProcess|{{{1}}}|absorption}}]]/17)
|insane=[[{{{2}}}::9 - insane|Insane]]|''Unknown''}
|hindrance is
|god like|godlike|god-like=[[{{{2}}}::10 - god-like|God-Like]]
|stealth hindrance is=
|extremely weak=[[{{{2}}}::0 - extremely weak|Extremely weak]]
[[{{{2}}}::{{{1}}}]] ([[{{{2}}} number::{{GearProcess|{{{1}}}|hindrance}}]]/15)
|flimsy=[[{{{2}}}::1 - flimsy|Flimsy]]
}}</includeonly><noinclude>This is a plug in for [[Template:ArmorProperties]]. Semantically tags variable one with the text in variable two, then uses [[Template:GearProcess]] to convert it to a number to be tagged with the numerical comparitive value. {{cat|templates,Templates for Templates}}</noinclude>
|somewhat flimsy=[[{{{2}}}::2 - somewhat flimsy|Somewhat flimsy]]
|average strength=[[{{{2}}}::3 - average strength|Average strength]]
|fairly sturdy=[[{{{2}}}::4 - fairly sturdy|Fairly sturdy]]
|moderately strong=[[{{{2}}}::5 - moderately strong|Moderately strong]]
|well constructed=[[{{{2}}}::6 - well constructed|Well constructed]]
|very strong=[[{{{2}}}::7 - very strong|Very strong]]
|quite hard=[[{{{2}}}::8 - quite hard|Quite hard]]
|incredibly hard=[[{{{2}}}::9 - incredibly hard|Incredibly hard]]
|unbelievably strong=[[{{{2}}}::10 - unbelievably strong|Unbelievably strong]]
|''Unknown''}}</includeonly><noinclude>This is a plug in for [[Template:ArmorProperties]]. Variable one is the rating for protection, absorpton or construction, and variable 2 is the text which it will be wikitagged with. {{cat|templates,Templates for Templates}}</noinclude>

Latest revision as of 11:35, 30 September 2020

This is a plug in for Template:ArmorProperties. Semantically tags variable one with the text in variable two, then uses Template:GearProcess to convert it to a number to be tagged with the numerical comparitive value.