Template:Font color

From OpenStreetMap Wiki
Jump to navigation Jump to search

[Edit] [Purge] Template-info.svg Template documentation

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|#0033CC|this is about plants}}: this is about plants: (Hex triplet codes work also)
  • {{Font color|red|yellow|red text with yellow background}}: red text with yellow background
  • {{Font color||red|text in red background}}: text in red background:(note the empty <text color> field "||")

See also