Template:RareItemProcess: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(adding support for [[Property::rare source]])
(swapped)
 
Line 1: Line 1:
<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 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.