Template:Background color: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>King of Hearts
create template for facilitating background color
Ookami (talk | contribs)
m 23 revisions imported
 
(18 intermediate revisions by 17 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}}
<tt><nowiki>{{bg|t=text|c=(hexadecimal) color}}</nowiki></tt>
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
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.</noinclude>

Latest revision as of 14:49, 3 September 2020