You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Color: Difference between revisions
Jump to navigation
Jump to search
LyingBrian (talk | contribs) (created wiki page) |
mNo edit summary |
||
(27 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>< | <includeonly><span style="color:{{rgb|{{{1}}}}}">{{{2}}}</span></includeonly><noinclude>{{Template | ||
|Name=Color | |||
|Type=Formatting | |||
|Type2=Utility | |||
|Type3= | |||
|Sub=No | |||
|Designer=LyingBrian | |||
|Designer2=Andrius | |||
|Designer3= | |||
|Notes= | |||
}} | |||
This is a template for add a specified color to text. | |||
== Usage == | |||
<pre> | |||
{{color| | }} | |||
</pre> | |||
=== Parameters === | |||
;{{{1}}} : The desired color. | |||
:''The {{tlx|rgb}} template is already included; simply enter the color name or code.'' | |||
;{{{2}}} : The text to colorize. | |||
=== Examples === | |||
{| border="1" cellpadding="2" cellspacing="0" | |||
|- | |||
| width=50% | What you type | |||
| width=50% | What it looks like | |||
|- | |||
| | |||
<pre> | |||
{{color|blue|Example}} | |||
</pre> | |||
| | |||
{{color|blue|Example}} | |||
|- | |||
| | |||
<pre> | |||
{{color|red|Example}} | |||
</pre> | |||
| | |||
{{color|red|Example}} | |||
|- | |||
| | |||
<pre> | |||
{{color|green|Example}} | |||
</pre> | |||
| | |||
{{color|green|Example}} | |||
|- | |||
| | |||
<pre> | |||
{{color|lgreen|Example}} | |||
</pre> | |||
| | |||
{{color|lgreen|Example}} | |||
|- | |||
| | |||
<pre> | |||
{{color|ffcc00|Example}} | |||
</pre> | |||
| | |||
{{color|ffcc00|Example}} | |||
|- | |||
| | |||
<pre> | |||
{{color|a0a|Example}} | |||
</pre> | |||
| | |||
{{color|a0a|Example}} | |||
|- | |||
| | |||
<pre> | |||
{{color||Example}} | |||
</pre> | |||
| | |||
{{color||Example}} | |||
|} | |||
[[category: Templates|{{PAGENAME}}]] | |||
</noinclude> |
Latest revision as of 21:48, 21 November 2014
|
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 |