Template:ID to name: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#sub:{{#cargo_query:table={{{2|ItemsTable}}}|where={{#switch: {{{2|ItemsTable}}}| ItemsTable =ObjectID| Mods=ModID| Mutations=MutationID | Factions=FactionID | ObjectID }}='{{{1|}}}'|format=template|template=single query result}}}}</includeonly><noinclude>[[Category:Templates]] | ||
{{#cargo_query:table={{{2|ItemsTable}}}|where={{#switch: {{{2|ItemsTable}}}| ItemsTable =ObjectID| Mods=ModID| Mutations=MutationID | Factions=FactionID | ObjectID }}='{{{1|}}}'|format=template|template=single query result}}</includeonly><noinclude>[[Category: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. | ||