Template:ID to name

Revision as of 13:16, 1 August 2019 by Teamtoto (talk | contribs) (limit to one)

Basic implementation that searches the objectid in ItemsTable and returns the page name in plain text.

{{ID to name|Cyclopean Prism}}

output:


This defaults to Items table, but can search other tables given that they have their own ID in by specifying the table as the second argument:

{{ID to name|Human Corpse|Corpses}}

output:

Error: No field named "StrippedTitle" found for any of the specified database tables.