Template:FindNameById: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
Tags: Undo Reverted
No edit summary
 
(2 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

Documentation

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