Template:FindNameById: Difference between revisions
From Official Barotrauma Wiki
(Created page with "{{#cargo_query:table={{{1}}}|fields=name|where=identifier="{{{2}}}"|format=template|template=FindNameById/sub|default=[[{{{2}}}]]}} {{#cargo_query:table=Afflictions|fields=...") |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#cargo_query:table={{{1}}}|fields=name|where=identifier="{{{2}}}"|format=template|template=FindNameById/sub|default=[[{{{2}}}]] | <noinclude>{{doc}}</noinclude><includeonly><onlyinclude>{{#cargo_query:table={{{1}}}|fields=name,_pageName,icon|where=identifier="{{{2}}}"|format=template|template=FindNameById/sub|default=[[{{{2}}}]]| named args = yes}}</onlyinclude></includeonly> | ||
Latest revision as of 14:12, 29 April 2024
Template used to find a name of something by searching for the matching identifier in a cargo table.
Template Instructions
Field | Note | Example |
---|---|---|
1 | Cargo Table to be searched | Afflictions |
2 | Identifier | gunshotwound |
The above documentation is transcluded from Template:FindNameById/doc. (edit | history)