Difference between revisions of "Template:Supplies"

(Added link functionality.)
(If you're going to change the link, Jiga, also change the description of the link.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:Supplies.png|Supplies|36px]]<noinclude>[[Category:Equipment Icons]] [[Category:Icon Templates]]</noinclude>
+
{{ #if: {{{1|}}} | [[File:Supplies.png|36px|link={{{1}}}]] | [[File:Supplies.png|Supplies|36px|link=:Category:Supplies]]}}<noinclude>As shown, displays the Supplies icon. If the first parameter is provided, adds a link to that page; otherwise, links to [[:Category:Supplies]].
 
 
{{ #if: {{{1|}}} | [[File:Supplies.png|36px|link={{{1}}}]] | [[File:Supplies.png|36px|link=Maritime Resupply]]}}<noinclude>As shown, displays the Supplies icon. If the first parameter is provided, adds a link to that page; otherwise, links to Maritime Resupply.
 
 
[[Category:Equipment Icons]] [[Category:Icon Templates]]</noinclude>
 
[[Category:Equipment Icons]] [[Category:Icon Templates]]</noinclude>

Latest revision as of 12:25, 25 October 2022

SuppliesAs shown, displays the Supplies icon. If the first parameter is provided, adds a link to that page; otherwise, links to Category:Supplies.