Template:Perk: Difference between revisions

From Against the Storm Official Wiki
(added inline-block display so the border wraps correctly)
No edit summary
Line 1: Line 1:
<includeonly><span style="display:inline-block; border: 3px solid {{{1}}};">[[{{{2}}}|72x72px]]</span></includeonly><noinclude>
<includeonly><span style="display:inline-block; border: 3px solid {{{1}}};">[[{{{2}}}|64x64px]]</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:35, 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>