Template:PerkIconBorder: Difference between revisions

From Against the Storm Official Wiki
m (example now reflects renaming)
m (now also suggests the smaller icon version)
 
Line 2: Line 2:


Surrounds a <code><nowiki>[[File:]]</nowiki></code> media tag with a border the color of a perk. The first argument specifies the color; the second argument is the icon filename. Use the appropriate color template.
Surrounds a <code><nowiki>[[File:]]</nowiki></code> media tag with a border the color of a perk. The first argument specifies the color; the second argument is the icon filename. Use the appropriate color template.
For a smaller icon, use [[Template:PerkSmallIconBorder]].


For example, <code><nowiki>{{PerkIconBorder|{{PerkGreen}}|File:question_mark.png}}</nowiki></code> produces:
For example, <code><nowiki>{{PerkIconBorder|{{PerkGreen}}|File:question_mark.png}}</nowiki></code> produces:

Latest revision as of 03:28, 2 October 2024


Surrounds a [[File:]] media tag with a border the color of a perk. The first argument specifies the color; the second argument is the icon filename. Use the appropriate color template.

For a smaller icon, use Template:PerkSmallIconBorder.

For example, {{PerkIconBorder|{{PerkGreen}}|File:question_mark.png}} produces:

Question mark.png