Template:KythrynSearch: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (reset for next testing session for TSearch) |
||
(56 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ask:{{#switch:{{lc:{{{n|}}}}}|y|yes=[[noun is::{{lc:{{{1}}}{{#if: {{{2|}}}|{{!}}{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{!}}{{{3}}}}}}}]]|[[item type is::{{lc:{{{1}}}{{#if: {{{2|}}}|{{!}}{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{!}}{{{3}}}}}}}]]}}{{#if:{{{c|}}}|[[has item property::{{{c}}}]]}} |
|||
<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}}}}]] OR [[uses material::{{#if:{{{1|}}}|{{#arraymap:{{{1}}}|+|@@@@|@@@@|{{!}}{{!}}}}|{{lc:{{PAGENAME}}}}}}]] |
|||
|format=table |
|format=table |
||
⚫ | |||
|+limit=3 |
|||
|+searchlabel=further results... |
|||
|mainlabel=Source |
|||
|sort=Source is, |
|||
⚫ | |||
|mainlabel=Item |
|mainlabel=Item |
||
|?Speed is=Speed |
|||
|sort=Rare item, |
|||
|?Speed is number=#|{{#ifeq:{{lc:{{{d}}}}}|n| |
|||
|order=descending,ascending |
|||
|?Construction is=Durability}}|{{#ifeq:{{lc:{{{d}}}}}|n| |
|||
|?Construction is number=#}} |
|||
|?Quality is=Quality |
|||
|?Quality is number=# |
|||
⚫ | |||
|sep=, |
|||
⚫ | |||
|?Is incomplete=Incomplete |
|||
|default=None yet |
|default=None yet |
||
|limit= |
|limit=3}} |
||
</includeonly><noinclude>This template is used to list the tools 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. If "n=" is set to "y" then it will only search [[Property:Noun is]]. If "c=" is set to a craft, it will only search for items labeled as being from that craft. If "d=" set to "n" then it will not include displaying durability, for consumable items. To use variables, place an additional | between each desired filter.</noinclude> |
|||
|[[needs updating::true| ]]}} |
|||
</includeonly><noinclude>***TESTING TEMPLATE from Nov 2018, CAN DELETE AFTER Dec 2018***<br>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).{{cat|Templates,Search Templates}}</noinclude> |
Latest revision as of 23:22, 4 December 2018
This template is used to list the tools 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. If "n=" is set to "y" then it will only search Property:Noun is. If "c=" is set to a craft, it will only search for items labeled as being from that craft. If "d=" set to "n" then it will not include displaying durability, for consumable items. To use variables, place an additional | between each desired filter.