Template:Background/doc: Difference between revisions
Jump to navigation
Jump to search
>Rusty.perrin (Transclude color accessibility information.) |
m (1 revision imported) |
(No difference)
|
Revision as of 07:59, 13 September 2024
This is a documentation subpage for Template:Background
(see that page for the template itself). It contains usage information, categories, and other content that is not part of the original template page. |
|
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 Powerpedia.
Accessibility
See also
{{color}}
, if you want to just set the text color.