Difference between revisions of "Template:Color"

From CETAF Identifiers Wiki
Jump to: navigation, search
(https://species-id.net/o/index.php?title=Template:Color&oldid=181536)
 
(No difference)

Latest revision as of 13:30, 15 January 2020

!


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