Template:ISearch: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (Undo revision 170421 by Caraamon (talk))
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|{{#ask:[[item type is::{{lc:{{{1}}}}}]] OR [[item type is::{{lc:{{{2}}}}}]] |format=table| ?Rare item|mainlabel=Item|default=None yet|limit=10}}|{{#ask:[[item type is::{{#if:{{{1|}}}|{{lc:{{{1}}}}}|{{lc:{{PAGENAME}}}}}}]] |format=table| ?Rare item|mainlabel=Item|default=None yet|limit=10}}}}</includeonly><noinclude>This template is used to list the items that have a [[Property:Item type is]] (or it's subproperty [[Property:Weapon type is]]) matching that of the the page's name. If a variable is added, it will use that instead of the page name. If two variables are added, it will search for all pages with either.{{cat|Templates}}</noinclude>
<includeonly>{{#switch:{{lc:{{{n|}}}}}|y|yes={{#if:{{{2|}}}|{{#ask:[[noun is::{{lc:{{{1}}}}}]] OR [[noun is::{{lc:{{{2}}}}}]] |format=table| ?Rare item|mainlabel=Item|default=None yet|limit=10}}|{{#ask:[[noun::{{#if:{{{1|}}}|{{lc:{{{1}}}}}|{{lc:{{PAGENAME}}}}}}]] |format=table| ?Rare item|mainlabel=Item|default=None yet|limit=10}}}}|#default={{#if:{{{2|}}}|{{#ask:[[item type is::{{lc:{{{1}}}}}]] OR [[item type is::{{lc:{{{2}}}}}]] |format=table| ?Rare item|mainlabel=Item|default=None yet|limit=10}}|{{#ask:[[item type is::{{#if:{{{1|}}}|{{lc:{{{1}}}}}|{{lc:{{PAGENAME}}}}}}]] |format=table| ?Rare item|mainlabel=Item|default=None yet|limit=10}}}}}}</includeonly><noinclude>This template is used to list the items that have a [[Property:Item type is]] (or it's subproperty [[Property:Weapon type is]]) matching that of the the page's name. If a variable is added, it will use that instead of the page name. If two 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]]. {{cat|Templates}}</noinclude>

Revision as of 04:16, 4 March 2012

This template is used to list the items that have a Property:Item type is (or it's subproperty Property:Weapon type is) matching that of the the page's name. If a variable is added, it will use that instead of the page name. If two 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.