Actions

Template

Difference between revisions of "Color"

From Sonic Retro

(Added new parameter to allow background and text color combination.)
(Let's see if this won't spread on unwanted text parts.)
Line 1: Line 1:
<span style="{{ #if: {{{color|}}} | color:{{{color}}}; | }} {{ #if: {{{background|}}} | background-color:{{{background}}}; | }} mix-blend-mode:{{ #if: {{{blend-mode|}}} | {{{blend-mode}}} | normal }}">{{{content}}}</span><noinclude>
+
<span style="{{ #if: {{{color|}}} | color:{{{color}}}; | }} {{ #if: {{{background|}}} | background-color:{{{background}}}; | }} {{ #if: {{{blend-mode|}}} | mix-blend-mode:{{{blend-mode}}} | mix-blend-mode:normal }}">{{{content}}}</span><noinclude>
 
[[Category:Color templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Color templates|{{PAGENAME}}]]</noinclude>

Revision as of 22:27, 11 April 2018

{{{content}}}