Template:RareItemProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(swapped)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{#show:{{{1}}}|?Festival shop}}|true=1|#default=}}</includeonly><noinclude>This template will take a page name and return "1" if it has [[Property:Festival shop]] set to true, and nothing if it's set to false or absent. Used by [[Template:ItemProperties]].{{Cat|Templates,Templates for Templates}}</noinclude>
<includeonly>{{#if:{{#ask:[[{{{1}}}]][[Rare source::true]]}}||1}}</includeonly><noinclude>This template will take a page name and return "1" if it has [[Property:Rare source]] or it's subproperty of [[Property:Festival shop]] set to false or absent, and nothing if it's set to true. This is to allow a check to see if any sources are not rare. Used by [[Template:ItemProperties]].{{Cat|Templates,Templates for Templates}}</noinclude>

Latest revision as of 22:10, 22 February 2013

This template will take a page name and return "1" if it has Property:Rare source or it's subproperty of Property:Festival shop set to false or absent, and nothing if it's set to true. This is to allow a check to see if any sources are not rare. Used by Template:ItemProperties.