Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Checkbox (colored)/documentation

Template page
Revision as of 10:57, 26 April 2025 by Mapper (talk | contribs) (Created page with "noinclude>{{Documentation subpage}} </noinclude> 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== This template takes one unnamed parameter and two named parameters ;<code>1</code>:This unnamed parameter is the checked/unchecked status. It accepts <code>checked</code> and <code>unchecked</code>. The default is to have a checked box. ;<code>color</code>:This paramete...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

noinclude>


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 Template:Para to remove the tick mark from the check box.

Examples edit

Code Box
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Template:Tlx
Cookies help us deliver our services. By using our services, you agree to our use of cookies.