Template:Checkbox: Difference between revisions
>Aeliren Created page with "<includeonly><onlyinclude>{{#if:{{{2|}}}|<div>}}{{#ifeq:{{lc:{{{1|}}}}}|yes|Done|{{#ifeq:{{lc:{{{1|}}}}}|partial|Partially done|{{#ifeq:{{..." |
(No difference)
|
Latest revision as of 03:11, 20 January 2022
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Small Icon only template; creates an inline checkbox:
Syntax:
- {{{{#if:|{{{prefix}}}:}}Checkbox{{#if:yes/partial/unsure/no||<yes/partial/unsure/no>}}{{#if:text||<text>}}{{#if:||<{{{4}}}>}}{{#if:||<{{{5}}}>}}{{#if:||<{{{6}}}>}}{{#if:||<{{{7}}}>}}{{#if:||<{{{8}}}>}}{{#if:||<{{{9}}}>}}{{#if:||<{{{10}}}>}}{{#if:||<{{{11}}}>}}{{#if:||<{{{12}}}>}}{{#if:||<{{{13}}}>}}{{#if:||<{{{14}}}>}}{{#if:||<{{{15}}}>}}{{#if:||<{{{16}}}>}}{{#if:||<{{{17}}}>}}{{#if:||<{{{18}}}>}}{{#if:||<{{{19}}}>}}{{#if:||<{{{20}}}>}}{{#if:||<{{{21}}}>}}}}
Options:
- {{#if:|}} Checked
- {{#if:|}} Partially-checked
- {{#if:|}} Unsure
- {{#if:|}} Un-checked
Or supply text, and the checks will be listed:
{{#if:Naxxramas|}} {{#if:Deadmines|}}{{#ifeq:partial|yes|
|{{#ifeq:partial|partial|
|{{#ifeq:partial|unsure|
|
}}}} }}{{#if:Deadmines| Deadmines
}}
{{#if:Uldaman|}}
{{#if:Uldman|}}




and text with links:
{{#if:Naxxramas|}} {{#if:Deadmines|}}{{#ifeq:partial|yes|
|{{#ifeq:partial|partial|
|{{#ifeq:partial|unsure|
|
}}}} }}{{#if:Deadmines| Deadmines
}}
{{#if:Uldman|}}
{{#if:Uldaman|}}




Default:
- {{#if:|}}