Template:Yesno/doc: Difference between revisions
Template page
More actions
doc |
comment out default |
||
| Line 7: | Line 7: | ||
*<tt><nowiki>{{yesno| </nowiki>''input''<nowiki> }}</nowiki></tt> | *<tt><nowiki>{{yesno| </nowiki>''input''<nowiki> }}</nowiki></tt> | ||
*<tt><nowiki>{{yesno| </nowiki>''input''<nowiki> | </nowiki>''default''<nowiki> }}</nowiki></tt><p>The default is applied when an unrecognised input is given, and itself defaults to "no". | <!--*<tt><nowiki>{{yesno| </nowiki>''input''<nowiki> | </nowiki>''default''<nowiki> }}</nowiki></tt><p>The default is applied when an unrecognised input is given, and itself defaults to "no". --> | ||
=== See also === | === See also === | ||
Revision as of 08:42, 1 May 2009
This template normalises an input to be a yes/no output.
Usage
- {{yesno| input }}