Ta̱mpi̱let:Background color/doc
Li
This is a documentation subpage for Ta̱mpi̱let:Background color. It contains usage information, categories and other content that is not part of the original ta̱mpi̱let page. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[jhyuk a̱tyin ka]{{Background color|<color>|<text>}}
Web colors provides a list of colors which can be used. Simple colors, like black, blue, red, green, etc. can just be spelled out. Alternatively, colors can be specified using either RGB or hex notation.
Examples
[jhyuk a̱tyin ka]
results in Hello, world!Ta̱mpi̱let:Ensure AAA contrast ratio{{Background color|red|Hello, world!}}
results in Hello, world!Ta̱mpi̱let:Ensure AAA contrast ratio{{Background color|#00F000|Hello, world!}}
Tracking category
[jhyuk a̱tyin ka]Supporting template
[jhyuk a̱tyin ka]See also
[jhyuk a̱tyin ka]- {{Color}} – sets text color only
- {{Font color}} – sets both text and background color
- {{coltit}} — colored table header cell
- {{Color contrast ratio}}
- {{Hilite}} – sets background color, with an optional expiry date
- {{Resize}}