Template:Co: Difference between revisions
Appearance
en>Renegade No edit summary |
en>Renegade m black bg example is worthless on a black bg |
||
| Line 1: | Line 1: | ||
<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| | <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|Yellow text|yellow}}</pre>Creates {{Co|Yellow text|yellow}}.<pre>{{Co|Green text with a red background|green|red}}</pre>Creates {{Co|Green text with a red background|green|red}}.</noinclude> | ||
Revision as of 17:08, 11 March 2007
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|Yellow text|yellow}}Creates Yellow text.
{{Co|Green text with a red background|green|red}}Creates Green text with a red background.