Template:Background/doc

From USApedia
template:Background color on Wikipedia

The Background template can be used to add a span of text with both a given text color and a given background color.

Usage

{{Background|name of color or hex code of forground color|name of the background color or hex code of color|Text}}

For example:

{{Background|red|aliceblue|Hello, world!}} results in Hello, world!
{{Background|#0000AA|#BBFFFF|Hello, world!}} results in Hello, world!

View a list of available Web Colors. See also Help:Mediawiki color for more information about colors in USApedia.

Accessibility

See also

  • {{color}}, if you want to just set the text color.