Template:KythrynSearch: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
{{#ask: {{#switch:{{{t|}}}|i=[[page type is::item]]|w=[[page type is::weapon]]|s=[[page type is::shield]]|a=[[page type is::armor]]|#default=}}[[uses symbol::{{#if:{{{1|}}}|{{#arraymap:{{{1}}}|+|@@@@|@@@@|{{!}}{{!}}}}|{{PAGENAME}}}}]] OR [[uses material::{{#if:{{{1|}}}|{{#arraymap:{{{1}}}|+|@@@@|@@@@|{{!}}{{!}}}}|{{lc:{{PAGENAME}}}}}}]]
{{#ask: {{#switch:{{{t|}}}|i=[[page type is::item]]|w=[[page type is::weapon]]|s=[[page type is::shield]]|a=[[page type is::armor]]|#default=}}[[uses symbol::{{#if:{{{1|}}}|{{#arraymap:{{{1}}}|+|@@@@|@@@@|{{!}}{{!}}}}|{{PAGENAME}}}}]] OR [[uses material::{{#if:{{{1|}}}|{{#arraymap:{{{1}}}|+|@@@@|@@@@|{{!}}{{!}}}}|{{lc:{{PAGENAME}}}}}}]]
|format=table
|format=table
|mainlabel=Item
|header=Source
| ?Source is
| ?Source is
|sep=, 
|sep=, 
|header=Source
|sort=Source is,
|sort=Source is,
| ?Rare item
| ?Rare item
|mainlabel=Item
|sort=Rare item,
|sort=Rare item,
|default=None yet
|default=None yet

Revision as of 18:39, 1 December 2018

      • TESTING TEMPLATE from Nov 2018, CAN DELETE AFTER Dec 2018***
        This template is used to list the items that have a Property:Uses symbol or Property:Uses material matching that of the the page's name. If a variable is added, it will use that instead of the page name. Use + to separate multiple values and it will search for all pages with either. Setting "t=" will allow you to specify a specific item type, "i" (items), "w" (weapons), "a" (armor), "s" (shields).