Template:Yesno/doc

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

Usage
The template has five possible outputs depending on the default parameter (input if you will).

In its simplest usage these will all be either "yes" or "" (blank - nothing no characters).


 * 1)     result "yes"  (also applies to "Yes", "YeS", etc, "Y", "y" and "1")
 * 2)    result "" (also applies to "No", "NO", "nO", "N", "n" and "0")
 * 3)    result ""
 * 4)    result ""
 * 5)    result "yes" (also applies to any other value not given above).

Each of these can be over-ridden.


 * 1)     result "bacon"  (also applies to "Yes", "YeS", etc, "Y", "y" and "1")
 * 2)    result "ham" (also applies to "No", "NO", "nO", "N", "n" and "0")
 * 3)    result "eggs"
 * 4) but   </tt> result "ham"
 * 5) and   </tt> result "eggs"
 * 6)   </tt> result "sausage"
 * 7)   </tt> result "cup-of-tea" (also applies to any other value not given above).
 * 8) but   </tt> result "bacon"
 * 9) but   </tt> result "cup-of-tea"

This may be used (apparently perversely) thus:


 *  </tt>  result "no"
 *  </tt>  result "yes"

This creates a logical inversion.