Template:Background: Difference between revisions
>TheDoyen No edit summary |
m (1 revision imported) |
(No difference)
| |
Latest revision as of 08:59, 13 September 2024
{{{3}}}
|
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.