Template:SSearch: Difference between revisions
Jump to navigation
Jump to search
(another small adjustment to the sorting, removed extraneous query commands) |
(Changed "Source is" to "Page source is" to have links in results) |
||
| (4 intermediate revisions by one other user not shown) | |||
| 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 symbol::{{#if:{{{1|}}}|{{#arraymap:{{{1}}}|+|@@@@|@@@@|{{!}}{{!}}}}|{{PAGENAME |
<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 symbol::{{#if:{{{1|}}}|{{#arraymap:{{{1}}}|+|@@@@|@@@@|{{!}}{{!}}}}|{{PAGENAME}}}}]]|format=table|mainlabel=Item| ?Page source is|sep=, | ?Rare item|default=None yet|limit={{{n|10}}}}}{{#if:{{{2|}}}|[[needs updating::true| ]]}}</includeonly><noinclude>This template is used to list the items that have a [[Property:Uses symbol]] 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).{{cat|Templates,Search Templates}}</noinclude> |
||
Latest revision as of 10:10, 30 October 2025
This template is used to list the items that have a Property:Uses symbol 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).