You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Rgb: Difference between revisions
Jump to navigation
Jump to search
SigmaEpsilon (talk | contribs) (→Examples: update colors again) |
SigmaEpsilon (talk | contribs) (make Usage section) |
||
Line 1: | Line 1: | ||
<includeonly>{{ #switch:{{{1}}}| blue=#00a | red=#a00 | green=#0a0 | light-green= #0f0| #{{{1}}} }}</includeonly> | <includeonly>{{ #switch:{{{1}}}| blue=#00a | red=#a00 | green=#0a0 | light-green= #0f0| #{{{1}}} }}</includeonly> | ||
<noinclude> | <noinclude> | ||
Returns the RGB color-code of named color. ''The colors returned by this | Returns the RGB color-code of named color. ''The colors returned by this template are '''not''' the same as the standard predefined CSS colors.'' | ||
== Usage == | |||
<pre> | |||
{{rgb|colorname}} | |||
</pre> | |||
''colorname'' is the name of the desired color. Entering an RGB code will simply return that code, unaffected. | |||
=== Examples === | === Examples === | ||
Curently, the following colors are defined | Curently, the following colors are defined. | ||
{| border="1" cellpadding="2" cellspacing="0" | {| border="1" cellpadding="2" cellspacing="0" |
Revision as of 01:17, 21 August 2007
Returns the RGB color-code of named color. The colors returned by this template are not the same as the standard predefined CSS colors.
Usage
{{rgb|colorname}}
colorname is the name of the desired color. Entering an RGB code will simply return that code, unaffected.
Examples
Curently, the following colors are defined.
Color name | Example color |
|
|
|
|
|
|
|
|