Template:WeaponQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 38: Line 38:
{{#if:{{{puncture|}}}|[[puncture damage is number::{{#if:{{{pmod|}}}|{{{pmod}}}}}{{DamAdapter|{{{puncture}}}}}]]}}
{{#if:{{{puncture|}}}|[[puncture damage is number::{{#if:{{{pmod|}}}|{{{pmod}}}}}{{DamAdapter|{{{puncture}}}}}]]}}
{{#if:{{{foi|}}}|[[foi is number::{{#if:{{{foimod|}}}|{{{foimod}}}}}{{SBAdapter|{{{foi}}}}}]]}}
{{#if:{{{foi|}}}|[[foi is number::{{#if:{{{foimod|}}}|{{{foimod}}}}}{{SBAdapter|{{{foi}}}}}]]}}
{{#if:{{{slice|}}}|[[slice damage is number::{{#if:{{{smod|}}}|{{{slmod}}}}}{{DamAdapter|{{{slice}}}}}]]}}
{{#if:{{{slice|}}}|[[slice damage is number::{{#if:{{{slmod|}}}|{{{slmod}}}}}{{DamAdapter|{{{slice}}}}}]]}}
{{#if:{{{balance|}}}|[[balance is number::{{#if:{{{bmod|}}}|{{{bmod}}}}}{{SBAdapter|{{{balance}}}}}]]}}
{{#if:{{{balance|}}}|[[balance is number::{{#if:{{{bmod|}}}|{{{bmod}}}}}{{SBAdapter|{{{balance}}}}}]]}}
{{#if:{{{impact|}}}|[[impact damage is number::{{#if:{{{imod|}}}|{{{imod}}}}}{{DamAdapter|{{{impact}}}}}]]}}
{{#if:{{{impact|}}}|[[impact damage is number::{{#if:{{{imod|}}}|{{{imod}}}}}{{DamAdapter|{{{impact}}}}}]]}}
Line 52: Line 52:
{{#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 60: Line 60:
}}
}}
}}
}}
{{#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
| {{#ifeq:{{{numbersonly|}}}|Yes|?Puncture damage is|?Puncture damage number is}}=Puncture
| {{#ifeq:{{{numbersonly|}}}|Yes|?Puncture damage is number|?Puncture damage is}}=Puncture
| ?Slice damage is=Slice
| {{#ifeq:{{{numbersonly|}}}|Yes|?Slice damage is number|?Slice damage is}}=Slice
| ?Impact damage is=Impact
| {{#ifeq:{{{numbersonly|}}}|Yes|?Impact damage is number|?Impact damage is}}=Impact
| ?FOI is=FOI
| {{#ifeq:{{{numbersonly|}}}|Yes|?FOI is number|?FOI is}}=FOI
| ?Balance is=Balance
| {{#ifeq:{{{numbersonly|}}}|Yes|?Balance is number|?Balance is}}=Balance
| ?Suitedness is=Suitedness
| {{#ifeq:{{{numbersonly|}}}|Yes|?Suitedness is number|?Suitedness is}}=Suitedness
| ?Weight of=Weight
| ?Weight of=Weight
| {{#if:{{{rangedRT|}}}|?Ranged RT is=Ranged RT}}
| {{#if:{{{rangedRT|}}}|?Ranged RT is=Ranged RT}}
| {{#if:{{{ammocap|}}}|?Ammo capacity of=Ammo Capacity}}
| {{#if:{{{ammocap|}}}|?Ammo capacity of=Ammo Capacity}}
| {{#if:{{{grade|}}}|?Grade is=Grade}}
| {{#if:{{{flare|}}}|?Flare is=Flare}}
| {{#if:{{{ebonus|}}}|?Ebonus is=Enchant Bonus}}
| ?Source is=Sources
| ?Source is=Sources
}}
}}

Latest revision as of 10:22, 16 July 2023

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