Template:bg

From KDE Community Wiki
Revision as of 20:18, 29 September 2023 by Ashark (talk | contribs) (Reformat headers)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 background.

Parameters

  • 1: the color name or value
  • 2: the text

Usage examples

With color name

{{bg|green|Some important text}}

Result:

Some important text

With color code

{{bg|#229944|Some other text}}

Result:

Some other text

See also

https://meta.wikimedia.org/wiki/Help:Text_color