Template:ArmorQuery: Difference between revisions
Jump to navigation
Jump to search
(Created page with '<noinclude>This is the ArmorQuery Template. It can only be used through the Armor Query. </noinclude><includeonly> {{#ask:Category:Armor {{#i…') |
TEVESHSZAT (talk | contribs) No edit summary |
||
| (19 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>This is the ArmorQuery Template. It can only be used through the [[Special:RunQuery/ArmorQuery|Armor Query]]. |
<noinclude>This is the ArmorQuery Template. It can only be used through the [[Special:RunQuery/ArmorQuery|Armor Query]].{{Cat|Templates,Search Templates}} |
||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
{{#ask:[[Category:Armor]] |
{{#ask:[[Category:Armor]] |
||
{{#if:{{{noun|}}}| |
{{#if:{{{noun|}}}| |
||
[[noun is::{{#arraymap:{{{noun}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]}} |
|||
{{#if:{{{MTag|}}}| |
{{#if:{{{MTag|}}}| |
||
{{#ifeq:{{{MTagmod}}}|OR| |
{{#ifeq:{{{MTagmod}}}|OR| |
||
{{#arraymap:{{{MTag}}}|,| |
[[uses material::{{#arraymap:{{{MTag}}}|,|@@@@|@@@@| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{MTag}}}|,|x|[[uses material:: |
{{#arraymap:{{{MTag}}}|,|x|[[uses material::@@@@]]}} |
||
}} |
}} |
||
}} |
}} |
||
{{#if:{{{CTag|}}}| |
{{#if:{{{CTag|}}}| |
||
{{#ifeq:{{{CTagmod}}}|OR| |
{{#ifeq:{{{CTagmod}}}|OR| |
||
{{#arraymap:{{{CTag}}}|,| |
[[uses color::{{#arraymap:{{{CTag}}}|,|@@@@|@@@@| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{CTag}}}|,| |
{{#arraymap:{{{CTag}}}|,|@@@@|[[uses color::@@@@]]}} |
||
}} |
}} |
||
}} |
}} |
||
{{#if:{{{STag|}}}| |
{{#if:{{{STag|}}}| |
||
{{#ifeq:{{{STagmod}}}|OR| |
{{#ifeq:{{{STagmod}}}|OR| |
||
{{#arraymap:{{{STag}}}|,| |
[[uses symbol::{{#arraymap:{{{STag}}}|,|@@@@|@@@@| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{STag}}}|,| |
{{#arraymap:{{{STag}}}|,|@@@@|[[uses symbol::@@@@]]}} |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
[[protects area::{{#arraymap:{{{area}}}|,|@@@@|@@@@| {{!}}{{!}} }}]] |
|||
| |
|||
| ⚫ | |||
}} |
}} |
||
}} |
}} |
||
{{#if:{{{type|}}}| |
{{#if:{{{type|}}}| |
||
{{#ifeq:{{{typemod}}}|OR| |
{{#ifeq:{{{typemod}}}|OR| |
||
{{#arraymap:{{{type}}}|,| |
[[is combat type::{{#arraymap:{{{type}}}|,|@@@@|@@@@| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{type}}}|,| |
{{#arraymap:{{{type}}}|,|@@@@|[[is combat type::@@@@]]| }} |
||
}} |
}} |
||
}} |
}} |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
{{#ifeq:{{{metal}}}|either |
|||
| |
| |
||
|[[is metal::{{{metal}}}]]}} |
|||
| ⚫ | |||
}} |
}} |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
{{#if:{{{wearloc|}}}|[[worn in slot::{{{wearloc}}}]]}} |
{{#if:{{{wearloc|}}}|[[worn in slot::{{{wearloc}}}]]}} |
||
{{#if:{{{weight|}}}|[[weight |
{{#if:{{{weight|}}}|[[weight of::{{#if:{{{wmod|}}}|{{{wmod}}}}}{{{weight}}}]]}} |
||
{{#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 |
| ?Is combat type=Type |
||
| ?Protects area=Areas Covered |
|||
| ?Hindrance is |
|||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Hindrance is number|?Hindrance is}}=Hindrance |
|||
| ?Stealth hindrance is |
|||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Stealth hindrance is number|?Stealth hindrance is}}=Stealth Hindrance |
|||
| ⚫ | |||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Puncture protection is number|?Puncture protection is}}=Puncture Protection |
|||
| ?Puncture absorption is |
|||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Puncture absorption is number|?Puncture absorption is}}=Puncture Absorption |
|||
| ?Slice protection is |
|||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Slice protection is number|?Slice protection is}}=Slice Protection |
|||
| ?Slice absorption is |
|||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Slice absorption is number|?Slice absorption is}}=Slice Absorption |
|||
| ?Impact protection is |
|||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Impact protection is number|?Impact protection is}}=Impact Protection |
|||
| ?Impact absorption is |
|||
| {{#ifeq:{{{numbersonly|}}}|Yes|?Impact absorption is number|?Impact absorption is}}=Impact Absorption |
|||
<!-- | ?Fire protection is |
|||
| ⚫ | |||
| {{#if:{{{grade|}}}|?Grade is=Grade}} |
|||
| {{#if:{{{flare|}}}|?Flare is=Flare}} |
|||
| {{#if:{{{ebonus|}}}|?Ebonus is=Enchant Bonus}} |
|||
| ?Source is=Sources |
|||
}} |
|||
| ⚫ | |||
<!-- |
|||
| ⚫ | |||
| ?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 |
||
--> |
|||
| ⚫ | |||
| ⚫ | |||
{{Cat|Templates}} |
|||
| ⚫ | |||
Latest revision as of 10:25, 16 July 2023
This is the ArmorQuery Template. It can only be used through the Armor Query.