Template:Yesno: Difference between revisions
From Kaboom Wiki
>MSGJ m allow different behaviour for blank input |
>Xaosflux add additional paramerters, "t", "f" - requested on talk - worked in sandbox /testcases |
||
| (6 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 | ||
|f | |||
|false | |||
|off | |||
|0 = {{{no|<!-- null -->}}} | |0 = {{{no|<!-- null -->}}} | ||
| = {{{blank|{{{no|<!-- null -->}}}}}} | | = {{{blank|{{{no|<!-- null -->}}}}}} | ||
| Line 7: | Line 10: | ||
|yes | |yes | ||
|y | |y | ||
|1 | |t | ||
|#default = {{{yes|yes}}} | |true | ||
|on | |||
|1 = {{{yes|yes}}} | |||
|#default = {{{def|{{{yes|yes}}}}}} | |||
}}<noinclude> | }}<noinclude> | ||
{{ | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 03:15, 28 August 2020
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]