Template:Color: Difference between revisions

From CETAF ISTC Wiki
bwf>Andreas Plank
(https://species-id.net/o/index.php?title=Template:Color&oldid=181536)
 
m (removed old Mediawiki Commons Templates)
Line 16: Line 16:


The {{color|black|''bg''-color}} is {{W|Tooltip|''tooltipped''}}
The {{color|black|''bg''-color}} is {{W|Tooltip|''tooltipped''}}
 
</noinclude>
[[af:Sjabloon:Kleur]]
[[ar:قالب:لون]]
[[da:Skabelon:Color]]
[[de:Vorlage:Farbindex]]
[[en:Template:Color]]
[[fr:Modèle:Coloré]]
[[ja:Template:Color]]
[[nl:Sjabloon:Tekstkleur]]
[[no:Mal:Farve]]
[[pl:Szablon:Kolor]]
[[pt:Predefinição:Color]]
[[ro:Format:Color]]
[[ru:Шаблон:Color]]
[[sl:Predloga:Barva]]
[[uk:Шаблон:Кольоровий текст]]
[[zh-yue:Template:Color]]
[[Category:Color text formatting templates| ]]
[[Category:Imported from Wikimedia Commons 2013]]</noinclude>

Revision as of 13:53, 24 February 2025

!


Usage: {{color|color|text}}

Examples:

  • {{color|red|example text}} → example text
  • {{color|#0000FF|example text}} → example text
  • {{color|white|example text|bg=black}} → example text


To draw just a color box with bg-color use it like

  • {{color||{{0|00}}|bg=#0A0}} → 00   or   {{color|1=#F0F|2=XX|bg=#F0F}} → XX


For colors see: Web colors.

The bg-color is tooltipped