ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Template:Co: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m oooops |
||
Line 7: | Line 7: | ||
*'''background-color''' with the bg-color the text should have (can be left blank) | *'''background-color''' with the bg-color the text should have (can be left blank) | ||
==Examples== | ==Examples== | ||
<pre>{{Co|Blue | <pre>{{Co|Blue text|blue}}</pre> | ||
Creates {{Co| | Creates {{Co|Blue text|blue}}. | ||
<pre>{{Co|Green text with a black background|green|black}}</pre> | <pre>{{Co|Green text with a black background|green|black}}</pre> | ||
Creates {{Co|Green text with a black background|green|black}}. | Creates {{Co|Green text with a black background|green|black}}. | ||
</noinclude> | </noinclude> |
Revision as of 17:37, 7 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 .