Difference between revisions of "Template:Bg/doc"

From blackwiki
Jump to navigation Jump to search
imported>Addbot
m (Bot: Migrating interwiki links, now provided by Wikidata on d:q11069313)
imported>Lfdder
(Redirected page to Template:Background color/doc)
 
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Background color/doc]]
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
 
 
This template can be used to create a background color for a span of text.
 
 
 
=== Usage ===
 
 
 
<pre>{{bg|c=<color>|t=<text>}}</pre>
 
 
 
Alternatively, the attributes can be unnamed:
 
 
 
<pre>{{bg|<color>|<text>}}</pre>
 
 
 
[[Web colors]] provides a list of colors which can be used. Simple colors, like black, blue, red, green, etc. can just be spelled out. Alternatively, colors can be specified using either RGB or hex notation.
 
 
 
===Examples===
 
:{{tlx|bg|indianred|Indian Red}}
 
{{bg|indianred|Indian Red}}
 
 
 
:{{tlx|bg|steelblue|Steel Blue}}
 
{{bg|steelblue|Steel Blue}}
 
 
 
:{{tlx|bg|slategrey|Slate Grey}}
 
{{bg|slategrey|Slate Grey}}
 
 
 
=== See also ===
 
 
 
* {{tl|Colors}} – background/text color (text in free span)
 
* {{tl|TextColors}} – background/text color (text in block table)
 
* {{tl|bkg}} – background color (text in free span)
 
* {{tl|bg}} – background color (text in free span)
 
 
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
 
 
 
</includeonly>
 

Latest revision as of 11:14, 12 October 2013