Template:Font color: Difference between revisions
m
no edit summary
w:en>Mac mNo edit summary |
w:en>Mac mNo edit summary |
||
Line 4: | Line 4: | ||
{{protect}} | {{protect}} | ||
Examples of use: | Examples of use: | ||
*'''<nowiki>{{fontcolor|green|this is about plants}}</nowiki>''': {{fontcolor|green|this is about plants}} (it appears in green text). | *'''<nowiki>{{fontcolor|green|this is about plants}}</nowiki>''': {{fontcolor|green|this is about plants}}(it appears in green text). | ||
*'''<nowiki>{{fontcolor||red|red background}}</nowiki>''': {{fontcolor||red|red background}} (no parameters are used for the text color, only for the [[background]]) | *'''<nowiki>{{fontcolor||red|red background}}</nowiki>''': {{fontcolor||red|red background}}(no parameters are used for the text color, only for the [[background]]) | ||
*'''<nowiki>{{fontcolor|blue|yellow|blue text with yellow background}}</nowiki>''': {{fontcolor|blue|yellow|blue text with yellow background}} | *'''<nowiki>{{fontcolor|blue|yellow|blue text with yellow background}}</nowiki>''': {{fontcolor|blue|yellow|blue text with yellow background}} | ||
[[Category:Wikipedia templates|Fontcolor]] | [[Category:Wikipedia templates|Fontcolor]] | ||
[[zh:Template:Fontcolor]] | [[zh:Template:Fontcolor]] | ||
</noinclude> | </noinclude> |