Template:FindNameById: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{doc}}</noinclude><includeonly><onlyinclude>{{#cargo_query:table={{{1}}}|fields=name|where=identifier="{{{2}}}"|format=template|template=FindNameById/sub|default=[[{{{2}}}]]}}</onlyinclude></includeonly> | <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)