Template:ArmorQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(add source)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 64: Line 64:
{{#if:{{{appcost|}}}|[[appraised cost is::{{#if:{{{apmod|}}}|{{{apmod}}}}}{{{appcost}}}]]}}
{{#if:{{{appcost|}}}|[[appraised cost is::{{#if:{{{apmod|}}}|{{{apmod}}}}}{{{appcost}}}]]}}
{{#if:{{{cost|}}}|[[shop cost is::{{#if:{{{costmod|}}}|{{{costmod}}}}}{{{cost}}}]]}}
{{#if:{{{cost|}}}|[[shop cost is::{{#if:{{{costmod|}}}|{{{costmod}}}}}{{{cost}}}]]}}
{{#if:{{{rarity|}}}|[[rarity is::{{{rarity}}}]]}}
{{#switch:{{{fest|}}}|yes=[[rare item::true]]|no=[[rare item::false]]|only not=[[rare item::!true]]}}
{{#if:{{{special|}}}|
{{#if:{{{special|}}}|
{{#ifeq:{{{spmod|}}}|OR|
{{#ifeq:{{{spmod|}}}|OR|
Line 72: Line 72:
}}
}}
}}
}}
{{#if:{{{potency|}}}|[[potency is::{{{potency}}}]]}}
{{#if:{{{complexity|}}}|[[complexity is::{{{complexity}}}]]}}
{{#if:{{{precision|}}}|[[precision is::{{{precision}}}]]}}
{{#if:{{{grade|}}}|[[grade is::{{#arraymap:{{{grade}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]}}
{{#if:{{{flare|}}}|[[flare is::{{#arraymap:{{{flare}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]}}
{{#if:{{{ebonus|}}}|[[ebonus is::{{#arraymap:{{{ebonus}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]}}
{{#if:{{{maxcharge|}}}|[[holds mana::{{#if:{{{mmod|}}}|{{{mmod|}}}}}{{{maxcharge}}}]]}}
{{#if:{{{maxcharge|}}}|[[holds mana::{{#if:{{{mmod|}}}|{{{mmod|}}}}}{{{maxcharge}}}]]}}
| ?Is combat type=Type
| ?Is combat type=Type
| ?Protects area=Areas Covered
| ?Protects area=Areas Covered
| ?Hindrance is=Hindrance
| {{#ifeq:{{{numbersonly|}}}|Yes|?Hindrance is number|?Hindrance is}}=Hindrance
| ?Stealth hindrance is=Stealth Hindrance
| {{#ifeq:{{{numbersonly|}}}|Yes|?Stealth hindrance is number|?Stealth hindrance is}}=Stealth Hindrance
| ?Puncture protection is=Puncture Protection
| {{#ifeq:{{{numbersonly|}}}|Yes|?Puncture protection is number|?Puncture protection is}}=Puncture Protection
| ?Puncture absorption is=Puncture Absorption
| {{#ifeq:{{{numbersonly|}}}|Yes|?Puncture absorption is number|?Puncture absorption is}}=Puncture Absorption
| ?Slice protection is=Slice Protection
| {{#ifeq:{{{numbersonly|}}}|Yes|?Slice protection is number|?Slice protection is}}=Slice Protection
| ?Slice absorption is=Slice Absorption
| {{#ifeq:{{{numbersonly|}}}|Yes|?Slice absorption is number|?Slice absorption is}}=Slice Absorption
| ?Impact protection is=Impact Protection
| {{#ifeq:{{{numbersonly|}}}|Yes|?Impact protection is number|?Impact protection is}}=Impact Protection
| ?Impact absorption is=Impact Absorption
| {{#ifeq:{{{numbersonly|}}}|Yes|?Impact absorption is number|?Impact absorption is}}=Impact Absorption
| ?Weight of=Weight
| ?Weight of=Weight
| {{#if:{{{grade|}}}|?Grade is=Grade}}
| {{#if:{{{flare|}}}|?Flare is=Flare}}
| {{#if:{{{ebonus|}}}|?Ebonus is=Enchant Bonus}}
| ?Source is=Sources
| ?Source is=Sources
}}
}}
</includeonly>
</includeonly>
<!--
<!-- | ?Fire protection is
| ?Fire protection is
| ?Fire absorption is
| ?Fire absorption is
| ?Cold protection is
| ?Cold protection is
| ?Cold absorption is
| ?Cold absorption is
| ?Electric protection is
| ?Electric protection is
| ?Electric absorption is -->
| ?Electric absorption is
-->

Latest revision as of 11:25, 16 July 2023

This is the ArmorQuery Template. It can only be used through the Armor Query.