Template:ID to name: Difference between revisions

179 bytes removed ,  15:55, 28 October 2019
replaced with module to use aliases properly
(limit to first result)
(replaced with module to use aliases properly)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#sub:{{#cargo_query:table=GeneralData|
<includeonly>{{#invoke:Favilink Utility|IDtoname
fields=PlainName|
|{{{1}}}}}</includeonly><noinclude>[[Category:ID to name Templates]]
where=ObjectID='{{#replace:{{{1|}}}|'|''}}' and _pageNamespace='0'|format=template|template=single query result|default={{{1}}}|no html|limit=1|more results text=}}}}</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.