Template:ArmorQuery: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
TEVESHSZAT (talk | contribs) No edit summary |
||
(16 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::@@@@]]}} |
||
}} |
}} |
||
}} |
}} |
||
{{#if:{{{ |
{{#if:{{{area|}}}| |
||
{{#ifeq:{{{ |
{{#ifeq:{{{areamod}}}|OR| |
||
{{#arraymap:{{{ |
[[protects area::{{#arraymap:{{{area}}}|,|@@@@|@@@@| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{ |
{{#arraymap:{{{area}}}|,|@@@@|[[protects area::@@@@]]| }} |
||
}} |
}} |
||
}} |
}} |
||
{{#if:{{{ |
{{#if:{{{type|}}}| |
||
{{#ifeq:{{{ |
{{#ifeq:{{{typemod}}}|OR| |
||
{{#arraymap:{{{ |
[[is combat type::{{#arraymap:{{{type}}}|,|@@@@|@@@@| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{ |
{{#arraymap:{{{type}}}|,|@@@@|[[is combat type::@@@@]]| }} |
||
}} |
}} |
||
}} |
}} |
||
{{#if:{{{hindrance|}}}|[[hindrance is::{{#if:{{{hindmod|}}}|{{{hindmod}}}}}{{{hindrance}}}]]}} |
{{#if:{{{hindrance|}}}|[[hindrance is number::{{#if:{{{hindmod|}}}|{{{hindmod}}}}}{{GearProcess|{{{hindrance}}}|hindrance}}]]}} |
||
{{#if:{{{stealth|}}}|[[stealth hindrance is::{{#if:{{{stealthmod|}}}|{{{stealthmod}}}}}{{{stealth}}}]]}} |
{{#if:{{{stealth|}}}|[[stealth hindrance is number::{{#if:{{{stealthmod|}}}|{{{stealthmod}}}}}{{GearProcess|{{{stealth}}}|hindrance}}]]}} |
||
{{#if:{{{puncture|}}}|[[puncture protection is::{{#if:{{{punctureprotmod|}}}|{{{punctureprotmod}}}}}{{{puncture}}}]]}} |
{{#if:{{{puncture|}}}|[[puncture protection is number::{{#if:{{{punctureprotmod|}}}|{{{punctureprotmod}}}}}{{GearProcess|{{{puncture}}}|protection}}]]}} |
||
{{#if:{{{punctureab|}}}|[[puncture |
{{#if:{{{punctureab|}}}|[[puncture absorption is number::{{#if:{{{punctureabmod|}}}|{{{punctureabmod}}}}}{{GearProcess|{{{punctureab}}}|absorption}}]]}} |
||
{{#if:{{{slice|}}}|[[slice protection is::{{#if:{{{sliceprotmod|}}}|{{{sliceprotmod}}}}}{{{slice}}}]]}} |
{{#if:{{{slice|}}}|[[slice protection is number::{{#if:{{{sliceprotmod|}}}|{{{sliceprotmod}}}}}{{GearProcess|{{{slice}}}|protection}}]]}} |
||
{{#if:{{{sliceab|}}}|[[slice |
{{#if:{{{sliceab|}}}|[[slice absorption is number::{{#if:{{{sliceabmod|}}}|{{{sliceabmod}}}}}{{GearProcess|{{{sliceab}}}|absorption}}]]}} |
||
{{#if:{{{impact|}}}|[[impact protection is::{{#if:{{{impactprotmod|}}}|{{{impactprotmod}}}}}{{{impact}}}]]}} |
{{#if:{{{impact|}}}|[[impact protection is number::{{#if:{{{impactprotmod|}}}|{{{impactprotmod}}}}}{{GearProcess|{{{impact}}}|protection}}]]}} |
||
{{#if:{{{impactab|}}}|[[impact |
{{#if:{{{impactab|}}}|[[impact absorption is number::{{#if:{{{impactabmod|}}}|{{{impactabmod}}}}}{{GearProcess|{{{impactab}}}|absorption}}]]}} |
||
{{#if:{{{fire|}}}|[[fire protection is::{{#if:{{{fireprotmod|}}}|{{{fireprotmod}}}}}{{{fire}}}]]}} |
{{#if:{{{fire|}}}|[[fire protection is number::{{#if:{{{fireprotmod|}}}|{{{fireprotmod}}}}}{{GearProcess|{{{fire}}}|protection}}]]}} |
||
{{#if:{{{fireab|}}}|[[fire |
{{#if:{{{fireab|}}}|[[fire absorption is number::{{#if:{{{fireabmod|}}}|{{{fireabmod}}}}}{{GearProcess|{{{fireab}}}|absorption}}]]}} |
||
{{#if:{{{cold|}}}|[[cold protection is::{{#if:{{{coldprotmod|}}}|{{{coldprotmod}}}}}{{{cold}}}]]}} |
{{#if:{{{cold|}}}|[[cold protection is number::{{#if:{{{coldprotmod|}}}|{{{coldprotmod}}}}}{{GearProcess|{{{cold}}}|protection}}]]}} |
||
{{#if:{{{coldab|}}}|[[cold |
{{#if:{{{coldab|}}}|[[cold absorption is number::{{#if:{{{coldabmod|}}}|{{{coldabmod}}}}}{{GearProcess|{{{coldab}}}|absorption}}]]}} |
||
{{#if:{{{electric|}}}|[[electric protection is::{{#if:{{{electricprotmod|}}}|{{{electricprotmod}}}}}{{{electric}}}]]}} |
{{#if:{{{electric|}}}|[[electric protection is number::{{#if:{{{electricprotmod|}}}|{{{electricprotmod}}}}}{{GearProcess|{{{electric}}}|protection}}]]}} |
||
{{#if:{{{electricab|}}}|[[electric |
{{#if:{{{electricab|}}}|[[electric absorption is number::{{#if:{{{electricabmod|}}}|{{{electricabmod}}}}}{{GearProcess|{{{electricab}}}|absorption}}]]}} |
||
{{#if:{{{construction|}}}|[[construction is::{{#if:{{{conmod|}}}|{{{conmod}}}}}{{{construction}}}]]}} |
{{#if:{{{construction|}}}|[[construction is number::{{#if:{{{conmod|}}}|{{{conmod}}}}}{{GearProcess|{{{construction}}}|construction}}]]}} |
||
{{#if:{{{metal|}}}| |
{{#if:{{{metal|}}}| |
||
{{#ifeq:{{{metal}}}|either |
{{#ifeq:{{{metal}}}|either |
||
Line 63: | 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=[[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 |
|||
| ?Weight of |
| ?Weight of=Weight |
||
| {{#if:{{{grade|}}}|?Grade is=Grade}} |
|||
| {{#if:{{{flare|}}}|?Flare is=Flare}} |
|||
| {{#if:{{{ebonus|}}}|?Ebonus is=Enchant Bonus}} |
|||
| ?Source is=Sources |
|||
}} |
}} |
||
{{Cat|Templates}} |
|||
</includeonly> |
</includeonly> |
||
<!-- |
|||
<!-- | ?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.