ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Template:Co: Difference between revisions

From ModEnc
Jump to navigation Jump to search
m oooops
No edit summary
Line 1: Line 1:
<includeonly><font color="{{{2}}}" style="background:{{{3}}};">{{{1}}}</font></includeonly>
<includeonly><font color="{{{2}}}" style="background:{{{3}}};">{{{1}}}</font></includeonly><noinclude>Usage:<pre>{{Co|text|color|background-color}}</pre>Copy-paste the code above and replace<br><ul><li>'''text''' with the text you want to have colored</li><li>'''color''' with the color the text should have</li><li>'''background-color''' with the bg-color the text should have (can be left blank)</li></ul><h2>Examples</h2><pre>{{Co|Blue text|blue}}</pre>Creates {{Co|Blue text|blue}}.<pre>{{Co|Green text with a black background|green|black}}</pre>Creates {{Co|Green text with a black background|green|black}}.</noinclude>
<noinclude>Usage:
<pre>{{Co|text|color|background-color}}</pre>
Copy-paste the code above and replace<br>
*'''text''' with the text you want to have colored
*'''color''' with the color the text should have
*'''background-color''' with the bg-color the text should have (can be left blank)
==Examples==
<pre>{{Co|Blue text|blue}}</pre>
Creates {{Co|Blue text|blue}}.
<pre>{{Co|Green text with a black background|green|black}}</pre>
Creates {{Co|Green text with a black background|green|black}}.
</noinclude>

Revision as of 04:06, 9 May 2006

Usage:

{{Co|text|color|background-color}}

Copy-paste the code above and replace

  • text with the text you want to have colored
  • color with the color the text should have
  • background-color with the bg-color the text should have (can be left blank)

Examples

{{Co|Blue text|blue}}

Creates Blue text.

{{Co|Green text with a black background|green|black}}

Creates Green text with a black background.