Difference between revisions of "Template:Yesno"

From Timelines
Jump to: navigation, search
(remove {{pp-template}} since included in {{documentation}})
(add support for true/false, per request)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#switch: {{lc: {{{1|¬}}} }}
+
{{<includeonly>safesubst:</includeonly>#switch: {{<includeonly>safesubst:</includeonly>lc: {{{1|¬}}} }}
 
  |no
 
  |no
 
  |n
 
  |n
 +
|false
 
  |0        = {{{no|<!-- null -->}}}
 
  |0        = {{{no|<!-- null -->}}}
 
  |        = {{{blank|{{{no|<!-- null -->}}}}}}
 
  |        = {{{blank|{{{no|<!-- null -->}}}}}}
Line 7: Line 8:
 
  |yes
 
  |yes
 
  |y
 
  |y
 +
|true
 
  |1        = {{{yes|yes}}}
 
  |1        = {{{yes|yes}}}
 
  |#default = {{{def|{{{yes|yes}}}}}}
 
  |#default = {{{def|{{{yes|yes}}}}}}
 
}}<noinclude>
 
}}<noinclude>
{{documentation}}
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 06:46, 2 July 2015

Template documentation[create]