Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a24470338ae74bba

Jump to content

Template:Checkbox (colored)/doc

From Wikipedia, the free encyclopedia

The template produces a styled checkbox that can be checked/unchecked, with options to change both the color and the presence of the tick mark.

Usage

[edit]

This template takes one unnamed parameter and two named parameters

1
This unnamed parameter is the checked/unchecked status. It accepts checked and unchecked. The default is to have a checked box.
color
This parameter changes the color (see Modifications below)
tick
If set to no, the tick mark will not be shown in the box.

Modifications

[edit]

In addition to the default color black, this template also supports blue, green, orange, and red. Giving "black" as the color will result in the default display.

If a checkbox without the tick is desired, use the parameter |tick=no to remove the tick mark from the check box.

Examples

[edit]
CodeBox
{{Checkbox (colored)|checked}}
{{Checkbox (colored)|unchecked}}
{{Checkbox (colored)|checked|color=blue}}
{{Checkbox (colored)|checked|color=blue|tick=no}}
{{Checkbox (colored)|unchecked|color=blue}}
{{Checkbox (colored)|checked|color=green}}
{{Checkbox (colored)|checked|color=green|tick=no}}
{{Checkbox (colored)|unchecked|color=green}}
{{Checkbox (colored)|checked|color=orange}}
{{Checkbox (colored)|checked|color=orange|tick=no}}
{{Checkbox (colored)|unchecked|color=orange}}
{{Checkbox (colored)|checked|color=black}}
{{Checkbox (colored)|checked|color=black|tick=no}}
{{Checkbox (colored)|unchecked|color=black}}
{{Checkbox (colored)|checked|color=red}}
{{Checkbox (colored)|checked|color=red|tick=no}}
{{Checkbox (colored)|unchecked|color=red}}

See also

[edit]