Template:Background color: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Komusou
==See also==, {{PAGENAME}}
Ookami (talk | contribs)
m 23 revisions imported
 
(16 intermediate revisions by 15 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 ==
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>
 
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:Formatting templates|{{PAGENAME}}]]


{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Latest revision as of 14:49, 3 September 2020