Template:Yesno: Difference between revisions

From Linguifex
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
|false
  |off
  |off
  |0       = {{{no|<!-- null -->}}}
  |0 = {{#if:{{{3|}}}
  |         = {{{blank|{{{no|<!-- null -->}}}}}}
  |{{#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
|true
  |on
  |on
  |1       = {{{yes|yes}}}
  |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