Difference between revisions of "Template:Yesno"
From Timelines
(gah, now I need this for the new NOTE stuff to work nicely) |
(add support for true/false, per request) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#switch: {{lc: {{{1|¬}}} }} | + | {{<includeonly>safesubst:</includeonly>#switch: {{<includeonly>safesubst:</includeonly>lc: {{{1|¬}}} }} |
|no | |no | ||
|n | |n | ||
− | |0 | + | |false |
− | | = {{{no|<!-- null -->}}} | + | |0 = {{{no|<!-- null -->}}} |
+ | | = {{{blank|{{{no|<!-- null -->}}}}}} | ||
|¬ = {{{¬|}}} | |¬ = {{{¬|}}} | ||
|yes | |yes | ||
|y | |y | ||
− | |1 | + | |true |
− | |#default = {{{yes|yes}}} | + | |1 = {{{yes|yes}}} |
+ | |#default = {{{def|{{{yes|yes}}}}}} | ||
}}<noinclude> | }}<noinclude> | ||
− | {{ | + | {{Documentation}} |
− | |||
</noinclude> | </noinclude> |
Latest revision as of 06:46, 2 July 2015
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |