Template:Checkbox (colored)/doc

From Celestial Lance Universe Wiki
< Template:Checkbox (colored)
This is an old revision of this page, as edited by Cellan3 (talk | contribs) at 15:53, 9 April 2025 (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 paramet..."). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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

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

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

Code Box
{{Checkbox (colored)|checked}} Checkbox black checked.png
{{Checkbox (colored)|unchecked}} Checkbox black unchecked.png
{{Checkbox (colored)|checked|color=blue}} Checkbox blue checked.png
{{Checkbox (colored)|checked|color=blue|tick=no}} Checkbox blue on.png
{{Checkbox (colored)|unchecked|color=blue}} Checkbox blue unchecked.png
{{Checkbox (colored)|checked|color=green}} Checkbox green checked.png
{{Checkbox (colored)|checked|color=green|tick=no}} Checkbox green on.png
{{Checkbox (colored)|unchecked|color=green}} File:Checkbox green unchecked.png
{{Checkbox (colored)|checked|color=orange}} File:Checkbox orange checked.png
{{Checkbox (colored)|checked|color=orange|tick=no}} File:Checkbox orange on.png
{{Checkbox (colored)|unchecked|color=orange}} File:Checkbox orange unchecked.png
{{Checkbox (colored)|checked|color=black}} Checkbox black checked.png
{{Checkbox (colored)|checked|color=black|tick=no}} File:Checkbox black on.png
{{Checkbox (colored)|unchecked|color=black}} Checkbox black unchecked.png
{{Checkbox (colored)|checked|color=red}} File:Checkbox red checked.png
{{Checkbox (colored)|checked|color=red|tick=no}} File:Checkbox red on.png
{{Checkbox (colored)|unchecked|color=red}} File:Checkbox red unchecked.png

See also