Template:PerkIconBorder: Difference between revisions

From Against the Storm Official Wiki
(added orange color note)
m (better formatting for the template page itself)
Line 1: Line 1:
<includeonly><span style="display:inline-block; border: 3px solid {{{1}}};">[[{{{2}}}|64x64px]]</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>Purple Perk color is ##7f27b9 which is closest to CSS standard 'DarkOrchid'. Blue Perk color is #015db9 which is closest to 'DodgerBlue'. Green Perk color is #15cf00 which is closest to 'LimeGreen'. Orange Perk color is #da6d00 which is closest to 'Chocolate' don't let the name fool you.</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 with the first argument for the Perk as seen in-game.
 
Based on MediaWiki Formatting Template: <code><nowiki><includeonly><span style="color: {{#if:{{{1|}}}|{{{1}}}|red}};">{{{2}}}</span></includeonly></nowiki></code>
 
Purple Perk color is <code>#7f27b9</code> which is closest to CSS standard 'DarkOrchid'.
 
Blue Perk color is <code>#015db9</code> which is closest to 'DodgerBlue'.
 
Green Perk color is <code>#15cf00</code> which is closest to 'LimeGreen'.
 
Orange Perk color is <code>#da6d00</code> which is closest to 'Chocolate' don't let the name fool you it's actually orangeish.</noinclude>

Revision as of 22:09, 20 June 2023

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>

Purple Perk color is #7f27b9 which is closest to CSS standard 'DarkOrchid'.

Blue Perk color is #015db9 which is closest to 'DodgerBlue'.

Green Perk color is #15cf00 which is closest to 'LimeGreen'.

Orange Perk color is #da6d00 which is closest to 'Chocolate' don't let the name fool you it's actually orangeish.