Teimpléad:Color

Ón Vicipéid, an chiclipéid shaor.
Jump to navigation Jump to search

Teimpléad:0


Usage: {{color|color|text}}

Examples:

  • {{color|red|example text}} → example text
  • {{color|#00F|example text}} → example text
  • {{color|white|example text|bg=black}} → example text


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


It is also possible to define additional CSS data, e.g.
{{color|#000|'''color box text'''|bg=#CFC|css=border:2px dotted #F80|title=example}} → color box text