Fandom


text?

Vorlagen-Dokumentation (Für die oben gezeigte Vorlage, manchmal unsichtbar oder versteckt.)

Vorlage für changing text foreground and background color. Accepts standard HTML color names or RGB hex triplets.

Benutzung

{{color|red|text}}
{{color|#FF0000|text}}
{{color|red|text|bg=green}}

Unless used on your user page, use with great caution as a poor contrast can make the text difficult to read. Be aware that this template does not change the color of links as these are determined by site or personal settings.

Parameter

requiredIcon required
<unnamed 1>
HTML color name or RGB hex triplet of text foreground color.
requiredIcon required
<unnamed 2>
Text which should be colored.
optionalIcon optional
bg
HTML color name or RGB hex triplet of text background color.

Beispiele

  • {{color|red|text}} results in: text
  • {{color|#800080|text}} results in: text
  • {{color|yellow|text|bg=green}} results in: text
Dokumentation transkludiert aus Vorlage:Color/doc.
Nutzung von Community-Inhalten gemäß CC-BY-SA , sofern nicht anders angegeben.