Template:Font color/doc: Difference between revisions
Appearance
| Line 6: | Line 6: | ||
Examples of use: | Examples of use: | ||
*'''<nowiki>{{Font color|blue|this is about plants}}</nowiki>''': {{Font color| | *'''<nowiki>{{Font color|blue|this is about plants}}</nowiki>''': {{Font color|blue|this is about plants}}:(it appears in blue text). | ||
*'''<nowiki>{{Font color||red|text in red background}}</nowiki>''': {{Font color||red|text in red background}}:(no parameters are used for the text color, only for the background) | *'''<nowiki>{{Font color||red|text in red background}}</nowiki>''': {{Font color||red|text in red background}}:(no parameters are used for the text color, only for the background) | ||
*'''<nowiki>{{Font color|red|yellow|red text with yellow background}}</nowiki>''': {{Font color|red|yellow|red text with yellow background}} | *'''<nowiki>{{Font color|red|yellow|red text with yellow background}}</nowiki>''': {{Font color|red|yellow|red text with yellow background}} | ||
Revision as of 09:58, 16 November 2010
| icon | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
Usage
{{Font color|<text color>|<background color>|<text>}}
Examples of use:
- {{Font color|blue|this is about plants}}: this is about plants:(it appears in blue text).
- {{Font color||red|text in red background}}: text in red background:(no parameters are used for the text color, only for the background)
- {{Font color|red|yellow|red text with yellow background}}: red text with yellow background