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

Template:Color: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
(new description)
Line 3: Line 3:


== Usage ==
== Usage ==
<pre>
<code><nowiki>{{color | | }}</nowiki></code>
{{color
 
| color name or RGB code
=== Parameters ===
| text
;1
}}
:The desired color.
</pre>
:''The {{tlx|rgb}} template is already included; simply enter the color name or code.''
;2
:The text to colorize.


=== Examples ===
=== Examples ===
Curently, blue, red, green, and light-green are defined. A hexadecimal RGB code is also acceptable.


{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="2" cellspacing="0"
Line 41: Line 42:
|
|
<pre>
<pre>
{{color|light-green|Example}}
{{color|lgreen|Example}}
</pre>
</pre>
|
|
{{color|light-green|Example}}
{{color|lgreen|Example}}
|-
|-
|
|

Revision as of 19:03, 21 August 2007

This is a template for add a specified color to text.

Usage

{{color | | }}

Parameters

1
The desired color.
The {{rgb}} template is already included; simply enter the color name or code.
2
The text to colorize.

Examples

What you type What it looks like
{{color|blue|Example}}

Example

{{color|red|Example}}

Example

{{color|green|Example}}

Example

{{color|lgreen|Example}}

Example

{{color|ffcc00|Example}}

Example

{{color|a0a|Example}}

Example

{{color||Example}}

Example