7 Days to Die Wiki
7 Days to Die Wiki
Tag: Source edit
Tag: Source edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<onlyinclude>{{#ifeq:
 
<onlyinclude>{{#ifeq:
{{Item to Icon/sup|{{{1|}}} }} | | | [[File:{{Item to Icon/sup|{{{1|}}} }}|20px]] }}</onlyinclude>
+
{{Item to Icon/sup|{{{1|}}} }} | | | [[File:{{Item to Icon/sup|{{{1|}}} }}|{{{2|20px}}}]] }}</onlyinclude>
<noinclude>This template makes the ammo in infoboxes look prettier. </noinclude>
+
<noinclude>This template makes the ammo in infoboxes look prettier. 1st parameter is the localized name (eg. Steel Helmet, not the game file name) and 2nd parameter is optional size (eg. 30px). Default is 20px and is used in infoboxes. </noinclude>

Latest revision as of 13:11, 31 July 2021

This template makes the ammo in infoboxes look prettier. 1st parameter is the localized name (eg. Steel Helmet, not the game file name) and 2nd parameter is optional size (eg. 30px). Default is 20px and is used in infoboxes.