Difference between revisions of "Template:Bg/doc"
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]]. | ||
| − | < | + | <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
| This is a documentation subpage for Template:Bg. It contains usage information, categories and other content that is not part of the original template page. |
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)