Difference between revisions of "Template:Bg/doc"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(+doc)
 
imported>Thumperward
(more)
Line 6: Line 6:
 
This template is used to create a background color, kind of like highlighting in [[Microsoft Word]].
 
This template is used to create a background color, kind of like highlighting in [[Microsoft Word]].
  
<tt><nowiki>{{bg|t=text|c=(hexadecimal) color}}</nowiki></tt>
+
<pre>{{bg|t=text|c=(hexadecimal) color}}</pre>
 +
 
 +
Alternatively, the attributes can be unnamed:
 +
 
 +
<pre>{{bg|<text>|<color>}}</pre>
  
 
Please see [[Web colors]] for a list of hexadecimal colors, and choose what you want. Note that simple colors, like black, blue, red, green, etc. can just be spelled out.
 
Please see [[Web colors]] for a list of hexadecimal colors, and choose what you want. Note that simple colors, like black, blue, red, green, etc. can just be spelled out.

Revision as of 08:18, 3 September 2010

Usage

This template is used to create a background color, kind of like highlighting in Microsoft Word.

{{bg|t=text|c=(hexadecimal) color}}

Alternatively, the attributes can be unnamed:

{{bg|<text>|<color>}}

Please see Web colors for a list of hexadecimal colors, and choose what you want. Note that simple colors, like black, blue, red, green, etc. can just be spelled out.

See also

  • {{Colors}} – background/text color (text in free span)
  • {{TextColors}} – background/text color (text in block table)
  • {{bkg}} – background color (text in free span)
  • {{bg}} – background color (text in free span)