Template:Yesno: Difference between revisions

From LPFM Wiki
Jump to navigation Jump to search
Mediawiki>DannyS712
m (Protected "Template:Yesno": Highly visible template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite)))
 
en>Xaosflux
(add additional paramerters, "t", "f" - requested on talk - worked in sandbox /testcases)
Line 2: Line 2:
  |no
  |no
  |n
  |n
|f
  |false
  |false
|off
  |0        = {{{no|<!-- null -->}}}
  |0        = {{{no|<!-- null -->}}}
  |        = {{{blank|{{{no|<!-- null -->}}}}}}
  |        = {{{blank|{{{no|<!-- null -->}}}}}}
Line 8: Line 10:
  |yes
  |yes
  |y
  |y
|t
  |true
  |true
|on
  |1        = {{{yes|yes}}}
  |1        = {{{yes|yes}}}
  |#default = {{{def|{{{yes|yes}}}}}}
  |#default = {{{def|{{{yes|yes}}}}}}

Revision as of 03:15, 28 August 2020

{{#switch: ¬

|no
|n
|f
|false
|off
|0        = 
|         = 
|¬        = 
|yes
|y
|t
|true
|on
|1        = yes
|#default = yes

}}

Template documentation