Template:Yesno: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#switch: {{lc: {{{1| | {{#switch: {{lc: {{{1|}}} }} | ||
|no | |no | ||
|n | |n | ||
|false | |||
|f | |f | ||
|off | |off | ||
|0 | |0 = {{#if:{{{3|}}} | ||
| | |{{#if:{{{no|}}} | ||
|{{error|Parameter 3 has been entered more than once. This is probably because a parameter alias has been used.}} | |||
|{{{3}}} | |||
}} | |||
|{{{no|}}} | |||
}} | |||
| = {{{blank | |||
|{{#if:{{{3|}}} | |||
|{{#if:{{{no|}}} | |||
|{{error|Parameter 3 has been entered more than once. This is probably because a parameter alias has been used.}} | |||
|{{{3}}} | |||
}} | |||
|{{{no|}}} | |||
}} | |||
}}} | |||
|yes | |yes | ||
|y | |y | ||
|true | |||
|t | |t | ||
|on | |on | ||
|1 | |1 = {{#if:{{{2|}}} | ||
|#default = {{{def|{{{yes|yes}}}}}} | |{{#if:{{{yes|}}} | ||
|{{error|Parameter 2 has been entered more than once. This is probably because a parameter alias has been used.}} | |||
|{{{2}}} | |||
}} | |||
|{{{yes|yes}}} | |||
}} | |||
|#default = {{{def | |||
|{{#if:{{{2|}}} | |||
|{{#if:{{{yes|}}} | |||
|{{error|Parameter 2 has been entered more than once. This is probably because a parameter alias has been used.}} | |||
|{{{2}}} | |||
}} | |||
|{{{yes|yes}}} | |||
}} | |||
}}} | |||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:10, 9 May 2026
- This template lacks a documentation subpage. Please create it.
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox