Template:ID to name

Revision as of 21:08, 29 July 2019 by Teamtoto (talk | contribs) (Created page with "<includeonly> {{#cargo_query:table={{{2|ItemsTable}}}|where={{#switch: {{{2|ItemsTable}}}| ItemsTable =ObjectID|Mods=ModID|Mutations=MutationID|ObjectID}}='{{{1|}}}'|format=te...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

{{ID to name|Cyclopean Prism}}

output:

Amaranthine prism

This defaults to Items table, but can search other tables given that they have their own value that stores object id if the table is specified(Not fully implemented)