Difference between revisions of "Template:Yesno"

From MINR.ORG WIKI
m (allow different behaviour for blank input)
m (15 revisions imported: Import Template Tlx and subtemplates)
 
(5 intermediate revisions by 4 users 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
  |1
+
|true
  |#default = {{{yes|yes}}}
+
  |1       = {{{yes|yes}}}
 +
  |#default = {{{def|{{{yes|yes}}}}}}
 
}}<noinclude>
 
}}<noinclude>
{{pp-template}}
+
{{Documentation}}
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:28, 11 August 2017

Template documentation[create]