[edit] [purge] Template-info.png Template documentation

Parameters, all optional:

  • background - background color, preferably HSL format for proper sorting. You may convert other formats to HSL here. Please pad the H value with zeroes so it is exactly three digits long, for example 001 instead of 1, 099 instead of 99.
  • foreground - text color, valid CSS.
  • text - tooltip text, otherwise defaults to background color value.
Example Result
{{colorcell|background=hsl(349, 100%, 88%)|text=pink|foreground=white}}hsl(349, 100%, 88%)¤

Note that only HSL-formatted color will be sorted properly.

Community content is available under CC-BY-SA unless otherwise noted.