Template:Yesno: Difference between revisions

any no values return nothing
mNo edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{lc: {{{1|}}}}}
<includeonly>{{#switch: {{lc: {{{1|}}}}}
  | y | yes | t | true  | 1 = {{{yes|yes}}}
  | y | yes | t | true | on | 1 = {{{yes|yes}}}
  | n | no  | f | false | 0 | = {{{no|}}}
  | n | no  | f | false | off | 0 | = {{{no|}}}
  |<!--blank--> = {{{blank|{{{no|}}} }}}
  |<!--blank--> = {{{blank|{{{no|}}} }}}
  | #default = {{{yes|yes}}}
  | #default = {{{yes|yes}}}
}}</includeonly><noinclude>{{documentation}}
}}</includeonly><noinclude>{{documentation}}
<!-- Put categories/interwiki on the documentation page --></noinclude>
<!-- Put categories/interwiki on the documentation page --></noinclude>