Template:CookEffect ID to name: Difference between revisions

actually return the plain name and not a page
mNo edit summary
(actually return the plain name and not a page)
Line 1: Line 1:
<includeonly>{{#cargo_query:table=CookingEffects|fields=CONCAT(_pageName,'{{!}}', PlainName)=Page|where=ObjectID='{{{1|}}}' AND _pageNamespace='0'|limit=1|more results text=|default={{{1|}}}|format=template|template=single query result}}</includeonly><noinclude>[[Category:ID to name Templates]]</noinclude>
<includeonly>{{#cargo_query:table=CookingEffects
|fields= PlainName=Page
|where=ObjectID='{{{1|}}}' AND _pageNamespace='0'
|limit=1
|more results text=
|default={{{1|}}}|format=template|template=single query result}}</includeonly><noinclude>[[Category:ID to name Templates]]</noinclude>