More actions
Created page with "{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}<no..." |
No edit summary |
||
| Line 1: | Line 1: | ||
{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}<noinclude> | {{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}<noinclude> | ||
< | ==Usage== | ||
{{ | <nowiki>{{co|<text color>|<background color>|<text>}}</nowiki> | ||
==Example== | |||
<nowiki>{{co|red||This text isn't yellow.}}</nowiki> {{co|red||This text isn't yellow.}}<br> | |||
<nowiki>{{co||green|This text has a green background.}}</nowiki> {{co||green|This text has a green background.}}<br> | |||
<nowiki>{{co|#0033CC||This text uses an HTML color code.}}</nowiki> {{co|#0033CC||This text uses an HTML color code.}} | |||
</noinclude> | |||
Revision as of 18:55, 6 December 2012
Usage
{{co|<text color>|<background color>|<text>}}
Example
{{co|red||This text isn't yellow.}} This text isn't yellow.
{{co||green|This text has a green background.}} This text has a green background.
{{co|#0033CC||This text uses an HTML color code.}} This text uses an HTML color code.