|
|
Line 1: |
Line 1: |
| <span style="background-color: {{{c}}}">{{{t}}}</span><noinclude> | | <span style="background:{{{1}}}">{{{2}}}</span><noinclude> |
|
| |
|
| == Usage ==
| | {{Documentation}} |
| This template is used to create a background color, kind of like highlighting in [[Microsoft Word]].
| | <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> |
| | |
| <tt><nowiki>{{bg|t=text|c=(hexadecimal) color}}</nowiki></tt>
| |
| | |
| 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==
| |
| | |
| * {{tl|Colors}} – background/text color (text in free span)
| |
| * {{tl|TextColors}} – background/text color (text in block table)
| |
| * {{tl|NestTextColors}} – background/text color (text in block div)
| |
| * {{tl|bkg}} – background color (text in free span)
| |
| * {{tl|bg}} – background color (text in free span)
| |
| | |
| [[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
| |
| [[pt:Predefinição:Bg]]
| |
| [[sl:Predloga:Bg]]
| |
| </noinclude> | | </noinclude> |