Template:Font color: Difference between revisions

From The Audiovisual Identity Database
Jump to navigation Jump to search
imported>DisneyInternationalFan
(Created page with "{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}<no...")
imported>Crazy Muzzarino
No edit summary
Line 1: Line 1:
{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}<noinclude>
{{{{{|safesubst:}}}#if:{{{4|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};mix-blend-mode:{{{3|inherit}}};">{{{4|}}}</span>|<span style="color:{{{1|inherit}}};mix-blend-mode:{{{3|inherit}}};">{{{2|}}}</span>}}<noinclude>
This is the {{[[Template:Font color|font color]]}} template.
This is the {{[[Template:Font color|font color]]}} template.


== Example ==
== Example ==
For example, <code><nowiki>{{font color|orange|This is a message.}}</nowiki></code> makes this:<br>
For example, <code><nowiki>{{font color|orange|none|normal|This is a message.}}</nowiki></code> makes this:<br>
{{font color|orange|This is a message.}}
{{font color|orange|none|normal|This is a message.}}<br>
 
The third parameter is the blend type combining color with the background. A list of parameters can be found [https://www.w3schools.com/cssref/pr_mix-blend-mode.asp here].
</noinclude>

Revision as of 13:19, 13 May 2020

This is the {{font color}} template.

Example

For example, {{font color|orange|none|normal|This is a message.}} makes this:
This is a message.
The third parameter is the blend type combining color with the background. A list of parameters can be found here.