Template:KythrynSearch: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#ask:{{#switch:{{lc:{{{n|}}}}}|y|yes=[[noun is::{{lc:{{{1}}}{{#if: {{{2,&nbsp;test|}}}|{{!}}{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{!}}{{{3}}}}}}}]]|[[item type is::{{lc:{{{1}}}{{#if: {{{2|}}}|{{!}}{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{!}}{{{3}}}}}}}]]}}{{#if:{{{c|}}}|[[has item property::{{{c}}}]]}}
<includeonly>{{#ask:{{#switch:{{lc:{{{n|}}}}}|y|yes=[[noun is::{{lc:{{{1}}}{{#if: {{{2|}}}|{{!,&nbsp;test}}{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{!}}{{{3}}}}}}}]]|[[item type is::{{lc:{{{1}}}{{#if: {{{2|}}}|{{!}}{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{!}}{{{3}}}}}}}]]}}{{#if:{{{c|}}}|[[has item property::{{{c}}}]]}}
|format=table
|format=table
|mainlabel=Item
|mainlabel=Item
Line 13: Line 13:
|?Is incomplete=Incomplete
|?Is incomplete=Incomplete
|default=None yet
|default=None yet
|limit=10}}
|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>
</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>

Revision as of 23:05, 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.