Jump to content

Template:Font color/doc: Difference between revisions

From Fifth Empire Wiki
No edit summary
Line 3: Line 3:


== Usage ==
== Usage ==
'''<nowiki>{{fontcolor|text_color|background_color|text}}</nowiki>'''
'''<nowiki>{{Font color|text_color|background_color|text}}</nowiki>'''


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>{{Font color|green|this is about plants}}</nowiki>''': {{Font color|green|this is about plants}}:(it appears in green text).
*'''<nowiki>{{fontcolor||red|text in red background}}</nowiki>''': {{fontcolor||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>{{fontcolor|red|yellow|red text with yellow background}}</nowiki>''': {{fontcolor|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}}


== See also ==
== See also ==

Revision as of 23:06, 14 May 2010

Usage

{{Font color|text_color|background_color|text}}

Examples of use:

  • {{Font color|green|this is about plants}}: this is about plants:(it appears in green 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

See also