Template:Id: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Niightblade
(Created page with "<includeonly> {{#switch: {{{1}}} | r | R | red | Red = <span class="support-gem-id-red" style="background-color: rgb(236, 052, 044);">{{{2}}}</span> | g | G | green |...")
 
>Niightblade
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#switch:  {{{1}}}
{{#switch:  {{{1}}}
  | r | R | red  | Red  = <span class="support-gem-id-red"  style="background-color: rgb(236, 052, 044);">{{{2}}}</span>
  | r | R | red  | Red  = <span class="support-gem-id-red"  style="color: white !important; background-color: rgb(236, 052, 044); padding: 2px">{{{2}}}</span>
  | g | G | green | Green = <span class="support-gem-id-green" style="background-color: rgb(052, 236, 044);">{{{2}}}</span>
  | g | G | green | Green = <span class="support-gem-id-green" style="color: white !important; background-color: rgb(052, 236, 044); padding: 2px">{{{2}}}</span>
  | b | B | blue  | Blue  = <span class="support-gem-id-blue"  style="background-color: rgb(044, 052, 236);">{{{2}}}</span>
  | b | B | blue  | Blue  = <span class="support-gem-id-blue"  style="color: white !important; background-color: rgb(044, 052, 236); padding: 2px">{{{2}}}</span>
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 08:34, 5 February 2013

Template documentation[view] [edit] [history] [purge]


Usage

  • {{id|r|F}}

F

  • {{id|g|a}}

a

  • {{id|b|c}}

c

CSS

This template uses the following styles in common.css:

.support-gem-id-red, .support-gem-id-green, .support-gem-id-blue {
	width:1em;
	color:white !important;
	background-color:#c51e1e;
	display:inline-block;
	text-align:center;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.support-gem-id-red { background-color:#c51e1e; }
.support-gem-id-green { background-color:#08a842; }
.support-gem-id-blue { background-color:#4163c9; }