Template:Background/doc: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
m (Text replacement - "Powerpedia" to "Saintapedia") |
||
Line 12: | Line 12: | ||
{{Tlx|Background|#0000AA|#BBFFFF|Hello, world!}} results in {{background|#0000AA|#BBFFFF|Hello, world!}} | {{Tlx|Background|#0000AA|#BBFFFF|Hello, world!}} results in {{background|#0000AA|#BBFFFF|Hello, world!}} | ||
View a list of available [http://en.wikipedia.org/wiki/Web_colors Web Colors]. See also [[Help:Mediawiki color]] for more information about colors in | View a list of available [http://en.wikipedia.org/wiki/Web_colors Web Colors]. See also [[Help:Mediawiki color]] for more information about colors in Saintapedia. | ||
==Accessibility== | ==Accessibility== |
Latest revision as of 20:44, 16 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 Saintapedia.
Accessibility
See also
{{color}}
, if you want to just set the text color.