Template:Background color: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Cydebot
m (Robot - Speedily moving category Formatting templates to Wikipedia formatting templates per CFD.)
m (23 revisions imported)
 
(13 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<span style="background-color: {{{c}}}">{{{t}}}</span><noinclude>
<span style="background-color: {{{c|{{{1|}}}}}}">{{{t|{{{2|}}}}}}</span>{{Main other|{{Ensure AAA contrast ratio|base={{{c|{{{1|}}}}}}|other={{{t|{{{2|}}}}}}|category=[[Category:Articles using Template:Background color with invalid colour combination]]}}}}{{Template other|{{Ensure AAA contrast ratio|base={{{c|{{{1|}}}}}}|other={{{t|{{{2|}}}}}}|category=[[Category:Articles using Template:Background color with invalid colour combination]]}}}}<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 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 templates|{{PAGENAME}}]]
[[sl:Predloga:Bg]]
</noinclude>
</noinclude>

Latest revision as of 14:49, 3 September 2020