Template:Colour: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><span style="color: {{#if:{{{1|}}}|{{{1}}}|red}};">{{{2}}}</span></includeonly><noinclude> Use it like this: {{C|<nowiki>{{color|green|Text goes here.}}</nowiki>}} </noinclude>") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if:{{{1|}}}|<span style="color: {{{1}}};">{{{2}}}</span>|{{{2}}}}}</includeonly><noinclude> | ||
Usage: {{code|<nowiki>{{color|limegreen|Text goes here.}}</nowiki>}} | |||
{{ | Result: {{color|limegreen|Text goes here.}} | ||
Usage: {{code|<nowiki>{{color|#00ff00|Text goes here.}}</nowiki>}} | |||
Result: {{color|#00ff00|Text goes here.}} | |||
Usage: {{code|<nowiki>{{color||Text goes here.}}</nowiki>}} | |||
Result: {{color||Text goes here.}} | |||
</noinclude> | </noinclude> |
Revision as of 08:26, 4 February 2023
Usage: {{color|limegreen|Text goes here.}}
Result: Text goes here.
Usage: {{color|#00ff00|Text goes here.}}
Result: Text goes here.
Usage: {{color||Text goes here.}}
Result: Text goes here.