Template:WeaponProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Attempt at getting elemental damage to show up)
No edit summary
Line 28: Line 28:
#switch: {{{span}}} | 3={{!}}{{!}}{{#if: {{{impact3|}}} | [[impact damage is::{{{impact3}}}]] ([[impact damage is number::{{GearProcess|{{{impact3}}}|damage}}]]/28) | [[missing::Infobox entry for impact damage3|''Unknown'']] | }} }} }} {{#switch:{{lc:{{{impacttype}}}}} | i|y|yes=(increase) }}
#switch: {{{span}}} | 3={{!}}{{!}}{{#if: {{{impact3|}}} | [[impact damage is::{{{impact3}}}]] ([[impact damage is number::{{GearProcess|{{{impact3}}}|damage}}]]/28) | [[missing::Infobox entry for impact damage3|''Unknown'']] | }} }} }} {{#switch:{{lc:{{{impacttype}}}}} | i|y|yes=(increase) }}
|-
|-
{{#if {{{fire|}}}{{{fire2|}}}{{{fire3|}}} |
{{#if {{{fire}}}{{{fire2}}}{{{fire3}}} |
{{!}} '''Fire:''' {{!}}{{!}} {{
{{!}} '''Fire:''' {{!}}{{!}} {{
#if: {{{fire|}}} | [[fire damage is::{{{fire}}}]] [[fire damage is::{{{fire}}}]] ([[fire damage is number::{{GearProcess|{{{fire}}}|damage}}]]/28) | [[missing::Infobox entry on fire damage|''Unknown'']] }}
#if: {{{fire|}}} | [[fire damage is::{{{fire}}}]] [[fire damage is::{{{fire}}}]] ([[fire damage is number::{{GearProcess|{{{fire}}}|damage}}]]/28) | [[missing::Infobox entry on fire damage|''Unknown'']] }}
Line 37: Line 37:
}}
}}
|-
|-
{{#if {{{cold|}}}{{{cold2|}}}{{{cold3|}}} |
{{#if {{{cold}}}{{{cold2}}}{{{cold3}}} |
{{!}} '''Cold:''' {{!}}{{!}} {{
{{!}} '''Cold:''' {{!}}{{!}} {{
#if: {{{cold|}}} | [[cold damage is::{{{cold}}}]] [[cold damage is::{{{cold}}}]] ([[cold damage is number::{{GearProcess|{{{cold}}}|damage}}]]/28) | [[missing::Infobox entry on cold damage|''Unknown'']] }}
#if: {{{cold|}}} | [[cold damage is::{{{cold}}}]] [[cold damage is::{{{cold}}}]] ([[cold damage is number::{{GearProcess|{{{cold}}}|damage}}]]/28) | [[missing::Infobox entry on cold damage|''Unknown'']] }}
Line 46: Line 46:
}}
}}
|-
|-
{{#if {{{electric|}}}{{{electric2|}}}{{{electric3|}}} |
{{#if {{{electric}}}{{{electric2}}}{{{electric3}}} |
{{!}} '''Electric:''' {{!}}{{!}} {{
{{!}} '''Electric:''' {{!}}{{!}} {{
#if: {{{electric|}}} | [[electric damage is::{{{electric}}}]] [[electric damage is::{{{electric}}}]] ([[electric damage is number::{{GearProcess|{{{electric}}}|damage}}]]/28) | [[missing::Infobox entry on electric damage|''Unknown'']] }}
#if: {{{electric|}}} | [[electric damage is::{{{electric}}}]] [[electric damage is::{{{electric}}}]] ([[electric damage is number::{{GearProcess|{{{electric}}}|damage}}]]/28) | [[missing::Infobox entry on electric damage|''Unknown'']] }}

Revision as of 11:00, 10 September 2022

A plug in for Weapon template.