Template:Color: Difference between revisions
(Add color template) |
(Add link to colors ref) |
||
Line 9: | Line 9: | ||
* {{ic|2}}: the text | * {{ic|2}}: the text | ||
==Example== | == Example == | ||
<nowiki>{{color|orange|Let's be careful}}</nowiki> | <nowiki>{{color|orange|Let's be careful}}</nowiki> | ||
Line 16: | Line 16: | ||
<nowiki>{{color|#229944|Looks good}}</nowiki> | <nowiki>{{color|#229944|Looks good}}</nowiki> | ||
{{color|#229944|Looks good}} | {{color|#229944|Looks good}} | ||
== See also == | |||
https://meta.wikimedia.org/wiki/Help:Text_color | |||
</noinclude><includeonly><span style="color:{{{1}}}">{{{2}}}</span></includeonly> | </noinclude><includeonly><span style="color:{{{1}}}">{{{2}}}</span></includeonly> |
Revision as of 13:37, 9 September 2023
This page is a template, editing it will affect all the pages that make use of it, so users should be especially careful when editing it. For more details on how to use templates see "A Quick Guide to Templates"
Text with colored font.
Usage
1
: the color name or value2
: the text
Example
{{color|orange|Let's be careful}}
Let's be careful
{{color|#229944|Looks good}}
Looks good
See also
https://meta.wikimedia.org/wiki/Help:Text_color