Usage

{{stripes|<color 1>|<color 2>}}

This template is used to create stripes for a background.

  • 1 (color 1): The first stripe color.
  • 2 (color 2): The second stripe color.
  • angle: The angle of the stripes, in degrees. Defaults to 45.
  • width: The width of the stripes, in pixels. Defaults to 10.

Examples

Code Result
{|style="background:{{stripes|#ccc|#fff}}"
|-
| Table content
|}
Table content
{|style="background:{{stripes|#E3E6FF|#FFDEAD|width=20|angle=-45}}"
|-
| Table content
|}
Table content
Community content is available under CC-BY-SA unless otherwise noted.