Actions

Template

Difference between revisions of "Color"

From Sonic Retro

m (Text replace - "Category:Color Templates" to "Category:Color templates")
(Added new parameter to allow background and text color combination.)
Line 1: Line 1:
<span style="{{ #if: {{{color|}}} | color:{{{color}}}; | }} {{ #if: {{{background|}}} | background-color:{{{background}}} | }}">{{{content}}}</span><noinclude>
+
<span style="{{ #if: {{{color|}}} | color:{{{color}}}; | }} {{ #if: {{{background|}}} | background-color:{{{background}}}; | }} mix-blend-mode:{{ #if: {{{blend-mode|}}} | {{{blend-mode}}} | normal }}">{{{content}}}</span><noinclude>
 
[[Category:Color templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Color templates|{{PAGENAME}}]]</noinclude>

Revision as of 22:21, 11 April 2018

{{{content}}}