Template:Background/doc: Difference between revisions

From Saintapedia
Jump to navigation Jump to search
>Rusty.perrin
(Transclude color accessibility information.)
 
m (Text replacement - "Powerpedia" to "Saintapedia")
 
(One intermediate revision by the same user not shown)
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 Powerpedia.  
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

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 Saintapedia.

Accessibility

See also

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