You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Rgb: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
mNo edit summary
(YoQzLGDrl)
Line 1: Line 1:
<includeonly>#{{ #switch:{{{1}}}
http://www.med-care-online.com/ generic viagra 61910 http://www.effectivemedcare.com/ phentermine 830
| ltred=f66
| lred=f66
| pink=f66
| red=f00
| darkred=8b0000
| dred=8b0000
| yellow=ff0
| orange=ffa500
| olive=808000
| ltblue=39f
| lblue=39f
| blue=00f
| darkblue=00008b
| dblue=00008b
| ltgreen=0f0
| lgreen=0f0
| lime=0f0
| green=0a0
| darkgreen=050
| dgreen=050
| purple=a0a
| teal=0aa
| indigo=4b0082
| violet=ee82ee
| cyan=0ff
| black=000
| white=fff
| grey=777
| gray=777
| dgray=555
| brown=a52a2a
| {{{1}}} }}</includeonly>
<noinclude>{{TOCright}}
<center>''The colors returned by this template are '''not''' the same as the standard predefined HTML/CSS colors.''</center>
This template returns a RGB color-code for the named color.  
 
== Syntax ==
<pre>
{{rgb| }}
</pre>
 
== Parameter(s) ==
; {{{1}}} : The name of the desired color. Entering an RGB code without a leading # will simply pre-pend the # symbol. Entering an RGB code ''with'' a leading # symbol should not be attempted; simply enter that code directly. ''Doing so within this template will always result in white.''
 
== Examples ==
Curently, the following colors are defined.
 
{| class="wikitable"
|- align=center
! width=120 | Color
! width=60 | Example
! width=120 | Color
! width=60 | Example
! width=120 | Color
! width=60 | Example
|- align=left
| ltred, lred, pink || style="background:#f66" |&nbsp;
| red || style="background:#f00" |&nbsp;
| darkred, dred || style="background:#8b0000" |&nbsp;
|-
| yellow || style="background:#ff0"| &nbsp;
| orange || style="background:#ffa500" |&nbsp;
| olive || style="background:#808000" |&nbsp;
|-
| ltblue, lblue || style="background:#39f " |&nbsp;
| blue || style="background:#00f " |&nbsp;
| darkblue, dblue || style="background:#00008b" |&nbsp;
|-
| ltgreen, lgreen || style="background:#0f0" |&nbsp;
| green || style="background:#0a0 " |&nbsp;
| darkgreen, dgreen || style="background:#050 " |&nbsp;
|-
| purple || style="background:#a0a" |&nbsp;
| indigo || style="background:#4b0082" |&nbsp;
| violet || style="background:#ee82ee" |&nbsp;
|-
| cyan || style="background:#0ff" |&nbsp;
| teal || style="background:#0aa" |&nbsp;
| brown || style="background:#a52a2a" |&nbsp;
|-
| black || style="background:#000" |&nbsp;
| grey, gray || style="background:#777" |&nbsp;
| white|| style="background:#FFF" |&nbsp;
|}
[[Category:Templates|Rgb]]
</noinclude>

Revision as of 02:19, 28 November 2010