Template:ID to name: Difference between revisions

156 bytes removed ,  15:55, 28 October 2019
replaced with module to use aliases properly
mNo edit summary
(replaced with module to use aliases properly)
 
Line 1: Line 1:
<includeonly>{{#invoke:CargoQuery|main
<includeonly>{{#invoke:Favilink Utility|IDtoname
|q?tables=GeneralData
|{{{1}}}}}</includeonly><noinclude>[[Category:ID to name Templates]]
|q?fields=PlainName=Page
|q?where=ObjectID='{{#replace:{{{1|}}}|'|\'}}' and _pageNamespace='0'
|template=single query result
|default={{{1}}}
|q?limit=1}}</includeonly><noinclude>[[Category:ID to name Templates]]
Basic implementation that searches the objectid in ItemsTable and returns the page name in plain text.
Basic implementation that searches the objectid in ItemsTable and returns the page name in plain text.