Template:PerkIconBorder: Difference between revisions
From Against the Storm Official Wiki
(took out if for now) |
(added inline-block display so the border wraps correctly) |
||
Line 1: | Line 1: | ||
<includeonly><span style="border: | <includeonly><span style="display:inline-block; border: 3px solid {{{1}}};">[[{{{2}}}|72x72px]]</span></includeonly><noinclude> | ||
Fills in a <nowiki>[[File:example.jpg]]</nowiki> media tag with the second argument and surrounds it with the provided border color with the first argument for the Perk as seen in-game. Based on MediaWiki Formatting Template: <nowiki><includeonly><span style="color: {{#if:{{{1|}}}|{{{1}}}|red}};">{{{2}}}</span></includeonly></nowiki></noinclude> | Fills in a <nowiki>[[File:example.jpg]]</nowiki> media tag with the second argument and surrounds it with the provided border color with the first argument for the Perk as seen in-game. Based on MediaWiki Formatting Template: <nowiki><includeonly><span style="color: {{#if:{{{1|}}}|{{{1}}}|red}};">{{{2}}}</span></includeonly></nowiki></noinclude> |
Revision as of 19:15, 18 November 2022
Fills in a [[File:example.jpg]] media tag with the second argument and surrounds it with the provided border color with the first argument for the Perk as seen in-game. Based on MediaWiki Formatting Template: <includeonly><span style="color: {{#if:{{{1|}}}|{{{1}}}|red}};">{{{2}}}</span></includeonly>