Template:ShieldQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 36: Line 36:
{{#if:{{{minprotection|}}}|[[Min protection is number::{{#if:{{{minprotmod|}}}|{{{minprotmod}}}}}{{SProtAdapter|{{{minprotection}}}}}]]}}
{{#if:{{{minprotection|}}}|[[Min protection is number::{{#if:{{{minprotmod|}}}|{{{minprotmod}}}}}{{SProtAdapter|{{{minprotection}}}}}]]}}
{{#if:{{{maxprotection|}}}|[[Max protection is number::{{#if:{{{maxprotmod|}}}|{{{maxprotmod}}}}}{{SProtAdapter|{{{maxprotection}}}}}]]}}
{{#if:{{{maxprotection|}}}|[[Max protection is number::{{#if:{{{maxprotmod|}}}|{{{maxprotmod}}}}}{{SProtAdapter|{{{maxprotection}}}}}]]}}
{{#if:{{{maxaprotection|}}}|[[Max arm protection is number::{{#if:{{{maxaprotmod|}}}|{{{maxaprotmod}}}}}{{SProtAdapter|{{{maxaprotection}}}}}]]}}
{{#if:{{{puncture|}}}|[[puncture damage is number::{{#if:{{{pmod|}}}|{{{pmod}}}}}{{DamAdapter|{{{puncture}}}}}]]}}
{{#if:{{{puncture|}}}|[[puncture damage is number::{{#if:{{{pmod|}}}|{{{pmod}}}}}{{DamAdapter|{{{puncture}}}}}]]}}
{{#if:{{{balance|}}}|[[balance is number::{{#if:{{{bmod|}}}|{{{bmod}}}}}{{SBAdapter|{{{balance}}}}}]]}}
{{#if:{{{balance|}}}|[[balance is number::{{#if:{{{bmod|}}}|{{{bmod}}}}}{{SBAdapter|{{{balance}}}}}]]}}
Line 50: Line 51:
{{#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 65: Line 66:
{{#if:{{{ebonus|}}}|[[ebonus is::{{#arraymap:{{{ebonus}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]}}
{{#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
| ?Hindrance is=Hindrance
| {{#ifeq:{{{numbersonly|}}}|Yes|?Hindrance is number|?Hindrance is}}=Hindrance
| {{#ifeq:{{{numbersonly|}}}|Yes|?Min protection is number|?Min protection is}}=Block Chance
| ?Min Protection is=Min Prot.
| {{#ifeq:{{{numbersonly|}}}|Yes|?Max protection is number|?Max protection is}}=Held Protection
| ?Max Protection is=Max Prot.
| {{#ifeq:{{{numbersonly|}}}|Yes|?Max arm protection is number|?Max arm protection is}}=Arm-Worn Protection
| ?Weight of=Weight
| ?Weight of=Weight
| {{#if:{{{grade|}}}|?Grade is=Grade}}
| {{#if:{{{grade|}}}|?Grade is=Grade}}

Latest revision as of 10:27, 16 July 2023

This is the ShieldQuery Template. It can only be used through the Shield Query