Template:ArmorProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(hinderance scale adjustments)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>|'''Type:'''||{{#If:{{{type|}}}|[[is combat type::{{SkillCode|{{{type}}}|false= }}]]|''Unknown''}}
<includeonly>|'''Type:'''||{{#If:{{{type|}}}|[[is combat type::{{SkillCode|{{{type}}}|false= }}]]|[[missing::Infobox entry on armor type|''Unknown'']]}}
|-
|-
|'''Areas Covered:'''||{{
|'''Areas Covered:'''||{{#if:{{{area|}}}|{{#if:{{{area2|}}}|{{#if:{{IfMatch|tack|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|{{{special6}}}}}|{{#if:{{{area|}}}|{{#switch:{{lc:{{{area}}}}}|arms=[[protects area::front legs]]|legs=[[protects area::rear legs]]|[[protects area::{{{area}}}]]}}|''Unknown''}}{{#if:{{{area2|}}}|{{#switch:{{lc:{{{area2}}}}}|arms=, [[protects area::front legs]]|legs=, [[protects area::rear legs]]|, [[protects area::{{{area2}}}]]}}}}{{#if:{{{area3|}}}|{{#switch:{{lc:{{{area3}}}}}|arms=, [[protects area::front legs]]|legs=, [[protects area::rear legs]]|, [[protects area::{{{area3}}}]]}}}}{{#if:{{{area4|}}}|{{#switch:{{lc:{{{area4}}}}}|arms=, [[protects area::front legs]]|legs=, [[protects area::rear legs]]|, [[protects area::{{{area4}}}]]}}}}{{#if:{{{area5|}}}|{{#switch:{{lc:{{{area5}}}}}|arms=, [[protects area::front legs]]|legs=, [[protects area::rear legs]]|, [[protects area::{{{area5}}}]]}}}}{{#if:{{{area6|}}}|{{#switch:{{lc:{{{area6}}}}}|arms=, [[protects area::front legs]]|legs=, [[protects area::rear legs]]|, [[protects area::{{{area6}}}]]}}}}|{{#if:{{{area|}}}|[[protects area::{{{area}}}]]|''Unknown''}}{{#if:{{{area2|}}}|, [[protects area::{{{area2}}}]]}}{{#if:{{{area3|}}}|, [[protects area::{{{area3}}}]]}}{{#if:{{{area4|}}}|, [[protects area::{{{area4}}}]]}}{{#if:{{{area5|}}}|, [[protects area::{{{area5}}}]]}}{{#if:{{{area6|}}}|, [[protects area::{{{area6}}}]]}}}}|{{#if:{{IfMatch|tack|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|{{{special6}}}}}|{{#arraymaptemplate:{{{area}}}|Template:Armor/AreaTack|,}}|{{#arraymap:{{{area}}}|,|x|[[protects area::x]]}}}}}}|''Unknown''}}
#if: {{{area|}}} | {{
#if:{{IfMatch|tack|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|{{{special6}}}}} | {{#arraymaptemplate:{{{area}}}{{
#if:{{{area2}}}|,{{{area2}}}}}{{
#if:{{{area3}}}|,{{{area3}}}}}{{
#if:{{{area4}}}|,{{{area4}}}}}{{
#if:{{{area5}}}|,{{{area5}}}}}{{
#if:{{{area6}}}|,{{{area6}}}}}|Template:Armor/AreaTack|,}}|{{
#arraymap:{{{area}}}{{
#if:{{{area2}}}|,{{{area2}}}}}{{
#if:{{{area3}}}|,{{{area3}}}}}{{
#if:{{{area4}}}|,{{{area4}}}}}{{
#if:{{{area5}}}|,{{{area5}}}}}{{
#if:{{{area6}}}|,{{{area6}}}}}|,|@@@@|[[protects area::{{lc:@@@@}}]]}}}}|[[missing::Infobox entry on areas protected|''Unknown'']]}}
|-
|-
{{#if:{{IfMatch|tack|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|{{{special}}}}}||{{!}}'''Hindrance:'''{{!}}{{!}}{{ArmorProcess|{{{hindrance}}}|hindrance is}} ({{ArmorProcess|{{{stealth}}}|stealth hindrance is}} for stealth)}}
{{#if:{{IfMatch|tack|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|{{{special}}}}} | | {{!}}'''Hindrance:'''{{!}}{{!}}{{#if:{{{hindrance|}}}|[[hindrance is::{{{hindrance}}}]] ([[hindrance is number::{{GearProcess|{{{hindrance}}}|hindrance}}]]/15) | [[missing::Infobox entry on hindrance|''Unknown'']]}} / {{#if:{{{stealth|}}}|[[stealth hindrance is::{{{stealth}}}]] ([[stealth hindrance is number::{{GearProcess|{{{stealth}}}|hindrance}}]]/15) | [[missing::Infobox entry on stealth hindrance|''Unknown'']]}} for stealth}}
|-
|-
{{#if:
{{#if:{{IfMatch|tack|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|{{{special}}}}}||{{!}}'''Protection:'''{{!}}{{!}}{{ArmorProcess|{{{puncture}}}|puncture protection is}} protection and {{ArmorProcess|{{#if:{{{punctureab|}}}|{{{punctureab}}}|{{{absorbance}}}}}|puncture absorption is}} damage absorption for puncture attacks.<br />{{ArmorProcess|{{{slice}}}|slice protection is}} protection and {{ArmorProcess|{{#if:{{{sliceab|}}}|{{{sliceab}}}|{{{absorbance}}}}}|slice absorption is}} damage absorption for slice attacks.<br />{{ArmorProcess|{{{impact}}}|impact protection is}} protection and {{ArmorProcess|{{#if:{{{impactab|}}}|{{{impactab}}}|{{{absorbance}}}}}|impact absorption is}} damage absorption for impact attacks.<br />{{ArmorProcess|{{{fire}}}|fire protection is}} protection and {{ArmorProcess|{{#if:{{{fireab|}}}|{{{fireab}}}|{{{absorbance}}}}}|fire absorption is}} damage absorption for fire attacks.<br />{{ArmorProcess|{{{cold}}}|cold protection is}} protection and {{ArmorProcess|{{#if:{{{coldab|}}}|{{{coldab}}}|{{{absorbance}}}}}|cold absorption is}} damage absorption for cold attacks.<br />{{ArmorProcess|{{{electric}}}|electric protection is}} protection and {{ArmorProcess|{{#if:{{{electricab|}}}|{{{electricab}}}|{{{absorbance}}}}}|electric absorption is}} damage absorption for electrical attacks.}}
{{IfMatch|tack|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|{{{special}}}}} | | {{!}}'''Protection:'''{{!}}{{!}}{{
#if: {{{puncture|}}} | [[puncture protection is::{{{puncture}}}]] ([[puncture protection is number::{{GearProcess|{{{puncture}}}|protection}}]]/15) | [[missing::Infobox entry on puncture protection|''Unknown'']]}} protection and {{
#if: {{{punctureab|}}} {{{absorbance|}}} | [[puncture absorption is::{{#if:{{{punctureab|}}}|{{{punctureab}}}|{{{absorbance}}}}}]] ([[puncture absorption is number::{{GearProcess|{{#if:{{{punctureab|}}}|{{{punctureab}}}|{{{absorbance}}}}}|absorption}}]]/17)| [[missing::Infobox entry on puncture absorbance|''unknown'']]}} damage absorption for puncture attacks.<br />{{
#if: {{{slice|}}} | {{ArmorProcess|{{{slice}}}|slice protection is}} | [[missing::Infobox entry on slice protection|''Unknown'']]}} protection and {{
#if: {{{sliceab|}}} {{{absorbance|}}} | {{ArmorProcess|{{#if:{{{sliceab|}}}|{{{sliceab}}}|{{{absorbance}}}}}|slice absorption is}} | [[missing::Infobox entry on slice absorbance|''unknown'']]}} damage absorption for slice attacks.<br />{{
#if: {{{impact|}}} | {{ArmorProcess|{{{impact}}}|impact protection is}} |[[missing::Infobox entry on impact protection|''Unknown'']]}} protection and {{
#if: {{{impactab|}}} {{{absorbance|}}} | {{ArmorProcess|{{#if:{{{impactab|}}}|{{{impactab}}}|{{{absorbance}}}}}|impact absorption is}} | [[missing::Infobox entry on impact absorbance|''unknown'']]}} damage absorption for impact attacks.<br />{{
#if: {{{fire|}}} | {{ArmorProcess|{{{fire}}}|fire protection is}} | [[missing::Infobox entry on fire protection|''Unknown'']]}} protection and {{
#if: {{{fireab|}}} {{{absorbance|}}} | {{ArmorProcess|{{#if:{{{fireab|}}}|{{{fireab}}}|{{{absorbance}}}}}|fire absorption is}} | [[missing::Infobox entry on fire absorption|''Unknown'']]}} damage absorption for fire attacks.<br />{{
#if: {{{cold|}}} | {{ArmorProcess|{{{cold}}}|cold protection is}} | [[missing::Infobox entry on cold protection|''Unknown'']]}} protection and {{
#if: {{{coldab|}}} {{{absorbance|}}} | {{ArmorProcess|{{#if:{{{coldab|}}}|{{{coldab}}}|{{{absorbance}}}}}|cold absorption is}} | [[missing::Infobox entry on cold absorbance|''unknown'']]}} damage absorption for cold attacks.<br />{{
#if: {{{electric|}}} | {{ArmorProcess|{{{electric}}}|electric protection is}} | [[missing::Infobox entry on electrical protection|''Unknown'']]}} protection and {{
#if: {{{electricab|}}} {{{absorbance|}}} | {{ArmorProcess|{{#if:{{{electricab|}}}|{{{electricab}}}|{{{absorbance}}}}}|electric absorption is}} | [[missing::Infobox entry on electrical absorption|''Unknown'']]}} damage absorption for electrical attacks.}}
|-
|-
|'''Construction:'''||{{
|'''Construction:'''||{{ArmorProcess|{{{construction}}}|construction is}}</includeonly><noinclude>This is a plug in for [[Template:Armor]].{{cat|templates,Templates for Templates}}</noinclude>
#if: {{{construction|}}} |{{ConstructionProcess|{{{construction}}}}}| [[missing::Infobox entry on construction|''Unknown'']]}}</includeonly><noinclude>This is a plug in for [[Template:Armor]].{{cat|templates,Templates for Templates}}</noinclude>

Latest revision as of 11:37, 30 September 2020

This is a plug in for Template:Armor.