Template:MSearch: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#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 material::{{lc:{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}{{#if: {{{2|}}}|{{!}}{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{!}}{{{3}}}}}}}]]|format=table| ?Rare item|mainlabel=Item|sort=Rare item|order= |
<includeonly>{{#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 material::{{lc:{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}{{#if: {{{2|}}}|{{!}}{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{!}}{{{3}}}}}}}]]|format=table| ?Rare item|mainlabel=Item|sort=Rare item|order=asc|default=None yet|limit=10}}</includeonly><noinclude>This template is used to list the items that have a [[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. If two or three variables are added, 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).{{cat|Templates}}</noinclude> |
Revision as of 22:14, 31 March 2013
This template is used to list the items that have a 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. If two or three variables are added, 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).