Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Yesno/doc: Difference between revisions

Template page
comment out default
m Reverted edits by MSGJ (talk) to last version by Happy-melon
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:46, 1 May 2009

This template normalises an input to be a yes/no output.

Usage

  • {{yesno| input }}
  • {{yesno| input | default }}

    The default is applied when an unrecognised input is given, and itself defaults to "no".

See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.