Template:Perk: Difference between revisions

From Against the Storm Official Wiki
(Created page with "<includeonly><span style="border: 5px solid {{#if:{{{2|}}}|{{{2}}}|black}};">[[File:{{{1}}}|72x72px]]</includeonly><noinclude> Fills in a <nowiki>File:example.jpg</nowiki> media tag with the first argument and surrounds it with the provided border color with the second argument for the Perk as seen in-game.</noinclude>")
 
(Updated with references to standard color templates)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span style="border: 5px solid {{#if:{{{2|}}}|{{{2}}}|black}};">[[File:{{{1}}}|72x72px]]</includeonly><noinclude>
<includeonly><span style="display:inline-block; border: 3px solid {{{1}}};">[[{{{2}}}|{{ImgH}}]]</span></includeonly><noinclude>
Fills in a <nowiki>[[File:example.jpg]]</nowiki> media tag with the first argument and surrounds it with the provided border color with the second argument for the Perk as seen in-game.</noinclude>
Fills in a <code><nowiki>[[File:example.jpg]]</nowiki></code> media tag with the second argument and surrounds it with the provided border color from the first argument. Use the appropriate color template:
 
* Green Perk color is defined by [[Template:PerkGreen]]. For example, <code><nowiki>{{Perk|{{PerkGreen}}|File:example.png}}</nowiki></code>.
* Blue Perk color is defined by [[Template:PerkBlue]].
* Purple Perk color is defined by [[Template:PerkPurple]].
* Orange Perk color is defined by [[Template:PerkOrange]].</noinclude>

Latest revision as of 02:49, 13 December 2023

Fills in a [[File:example.jpg]] media tag with the second argument and surrounds it with the provided border color from the first argument. Use the appropriate color template: