Template:ShieldQuery: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
TEVESHSZAT (talk | contribs) No edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This is the ShieldQuery Template. It can only be used through the [[Special:RunQuery/ShieldQuery|Shield Query]]{{Cat|Templates}} |
<noinclude>This is the ShieldQuery Template. It can only be used through the [[Special:RunQuery/ShieldQuery|Shield Query]]{{Cat|Templates,Search Templates}} |
||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
{{#ask:[[Category:Shields]] |
{{#ask:[[Category:Shields]] |
||
{{#if:{{{noun|}}}| |
{{#if:{{{noun|}}}| |
||
[[noun is::{{#arraymap:{{{noun}}}|,|x|x| {{!}}{{!}} }}]]}} |
|||
{{#if:{{{MTag|}}}| |
{{#if:{{{MTag|}}}| |
||
{{#ifeq:{{{MTagmod}}}|OR| |
{{#ifeq:{{{MTagmod}}}|OR| |
||
{{#arraymap:{{{MTag}}}|,|x| |
[[uses material::{{#arraymap:{{{MTag}}}|,|x|x| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]}} |
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]}} |
||
Line 12: | Line 13: | ||
{{#if:{{{CTag|}}}| |
{{#if:{{{CTag|}}}| |
||
{{#ifeq:{{{CTagmod}}}|OR| |
{{#ifeq:{{{CTagmod}}}|OR| |
||
{{#arraymap:{{{CTag}}}|,|x| |
[[uses color::{{#arraymap:{{{CTag}}}|,|x|x| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]}} |
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]}} |
||
Line 19: | Line 20: | ||
{{#if:{{{STag|}}}| |
{{#if:{{{STag|}}}| |
||
{{#ifeq:{{{STagmod}}}|OR| |
{{#ifeq:{{{STagmod}}}|OR| |
||
{{#arraymap:{{{STag}}}|,|x| |
[[uses symbol::{{#arraymap:{{{STag}}}|,|x|x| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]}} |
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]}} |
||
Line 26: | Line 27: | ||
{{#if:{{{type|}}}| |
{{#if:{{{type|}}}| |
||
{{#ifeq:{{{typemod}}}|OR| |
{{#ifeq:{{{typemod}}}|OR| |
||
{{#arraymap:{{{type}}}|,|x| |
[[is combat type::{{#arraymap:{{{type}}}|,|x|x| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{type}}}|,|x|[[is combat type::x]]| }} |
{{#arraymap:{{{type}}}|,|x|[[is combat type::x]]| }} |
||
Line 32: | Line 33: | ||
}} |
}} |
||
{{#if:{{{hindrance|}}}|[[hindrance is::{{#if:{{{hindmod|}}}|{{{hindmod}}}}}{{{hindrance}}}]]}} |
{{#if:{{{hindrance|}}}|[[hindrance is number::{{#if:{{{hindmod|}}}|{{{hindmod}}}}}{{HindAdapter|{{{hindrance}}}}}]]}} |
||
{{#if:{{{minprotection|}}}|[[Min protection is::{{#if:{{{minprotmod|}}}|{{{minprotmod}}}}}{{{minprotection}}}]]}} |
{{#if:{{{minprotection|}}}|[[Min protection is number::{{#if:{{{minprotmod|}}}|{{{minprotmod}}}}}{{SProtAdapter|{{{minprotection}}}}}]]}} |
||
{{#if:{{{maxprotection|}}}|[[Max protection is::{{#if:{{{maxprotmod|}}}|{{{maxprotmod}}}}}{{{maxprotection}}}]]}} |
{{#if:{{{maxprotection|}}}|[[Max protection is number::{{#if:{{{maxprotmod|}}}|{{{maxprotmod}}}}}{{SProtAdapter|{{{maxprotection}}}}}]]}} |
||
{{#if:{{{ |
{{#if:{{{maxaprotection|}}}|[[Max arm protection is number::{{#if:{{{maxaprotmod|}}}|{{{maxaprotmod}}}}}{{SProtAdapter|{{{maxaprotection}}}}}]]}} |
||
{{#if:{{{ |
{{#if:{{{puncture|}}}|[[puncture damage is number::{{#if:{{{pmod|}}}|{{{pmod}}}}}{{DamAdapter|{{{puncture}}}}}]]}} |
||
{{#if:{{{ |
{{#if:{{{balance|}}}|[[balance is number::{{#if:{{{bmod|}}}|{{{bmod}}}}}{{SBAdapter|{{{balance}}}}}]]}} |
||
{{#if:{{{ |
{{#if:{{{slice|}}}|[[slice damage is number::{{#if:{{{smod|}}}|{{{slmod}}}}}{{DamAdapter|{{{slice}}}}}]]}} |
||
{{#if:{{{ |
{{#if:{{{suitedness|}}}|[[suitedness is number::{{#if:{{{sumod|}}}|{{{sumod}}}}}{{SBAdapter|{{{suitedness}}}}}]]}} |
||
{{#if:{{{ |
{{#if:{{{impact|}}}|[[impact damage is number::{{#if:{{{imod|}}}|{{{imod}}}}}{{DamAdapter|{{{impact}}}}}]]}} |
||
{{#if:{{{construction|}}}|[[construction is number::{{#if:{{{conmod|}}}|{{{conmod}}}}}{{ConAdapter|{{{construction}}}}}]]}} |
|||
{{#if:{{{metal|}}}| |
{{#if:{{{metal|}}}| |
||
{{#ifeq:{{{metal}}}|either |
{{#ifeq:{{{metal}}}|either |
||
Line 49: | 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=[[festival item::true]]|no=[[festival item::false]]|only not=[[festival item::!true]]}} |
|||
{{#if:{{{special|}}}| |
{{#if:{{{special|}}}| |
||
{{#ifeq:{{{spmod|}}}|OR| |
{{#ifeq:{{{spmod|}}}|OR| |
||
{{#arraymap:{{{special}}}|,|x| |
[[has item property::{{#arraymap:{{{special}}}|,|x|x| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]}} |
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]}} |
||
}} |
}} |
||
}} |
}} |
||
{{#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 |
||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Hindrance is number|?Hindrance is}}=Hindrance |
|||
| ?hindrance is |
|||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Min protection is number|?Min protection is}}=Block Chance |
|||
| ?min protection is |
|||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Max protection is number|?Max protection is}}=Held Protection |
|||
| ?max protection is |
|||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Max arm protection is number|?Max arm protection is}}=Arm-Worn Protection |
|||
| ?Weight of |
| ?Weight of=Weight |
||
| {{#if:{{{grade|}}}|?Grade is=Grade}} |
|||
| {{#if:{{{flare|}}}|?Flare is=Flare}} |
|||
| {{#if:{{{ebonus|}}}|?Ebonus is=Enchant Bonus}} |
|||
| ?Source is=Sources |
|||
}} |
}} |
||
</includeonly> |
</includeonly> |
Latest revision as of 10:27, 16 July 2023
This is the ShieldQuery Template. It can only be used through the Shield Query