Template:PerkSmallIconBorder: Difference between revisions

From Against the Storm Official Wiki
m (example reflects renaming, added category, updated to refer to color templates)
m (icon needed to be a little larger)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><span style="display:inline-block; border: 3px solid {{{1}}};">[[{{{2}}}|{{ImgS}}]]</span></includeonly><noinclude>
<includeonly><span style="display:inline-block; border: 3px solid {{{1}}};">[[{{{2}}}|{{ImgM}}]]</span></includeonly><noinclude>


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.

Latest revision as of 03:35, 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.

This template makes a small icon. For larger icons, use Template:PerkIconBorder.

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

Question mark.png