Template:WeaponQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(support for metal/nonmetal)
Line 35: Line 35:
{{#if:{{{impact|}}}|[[impact damage is::{{#if:{{{imod|}}}|{{{imod}}}}}{{{impact}}}]]}}
{{#if:{{{impact|}}}|[[impact damage is::{{#if:{{{imod|}}}|{{{imod}}}}}{{{impact}}}]]}}
{{#if:{{{construction|}}}|[[construction is::{{#if:{{{conmod|}}}|{{{conmod}}}}}{{{construction}}}]]}}
{{#if:{{{construction|}}}|[[construction is::{{#if:{{{conmod|}}}|{{{conmod}}}}}{{{construction}}}]]}}
{{#if:{{{metal|}}}|[[is metal::{{{metal}}}]]}}
{{#if:{{{metal|}}}|
{{#ifeq:{{{metal}}}|either
|
|[[is metal::{{{metal}}}]]}}
}}
{{#if:{{{wearloc|}}}|[[worn in slot::{{{wearloc}}}]]}}
{{#if:{{{wearloc|}}}|[[worn in slot::{{{wearloc}}}]]}}
{{#if:{{{weight|}}}|[[weight is::{{#if:{{{wmod|}}}|{{{wmod}}}}}{{{weight}}}]]}}
{{#if:{{{weight|}}}|[[weight is::{{#if:{{{wmod|}}}|{{{wmod}}}}}{{{weight}}}]]}}

Revision as of 19:12, 4 October 2010

This is the WeaponQuery Template. It can only be used through the Weapon Query