Toggle search
Search
Toggle menu
Notifications
Toggle personal menu
Editing
Template:Yesno/doc
(section)
Template page
Views
Read
Edit
View history
associated-pages
Template
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 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). * {{Tlx|Yesno|yes}} → "yes" (also applies to "Yes", "YeS", etc, "Y", "y" and "1") * {{Tlx|Yesno|no}} → "" (also applies to "No", "NO", "nO", "N", "n" and "0") * {{Tlx|Yesno}} → "" * {{Tlx|Yesno|¬}} → "" * {{Tlx|Yesno|purplemonkeydishwasher}} → "yes" (also applies to any other value not given above) Each of these can be over-ridden. * {{Tlx|Yesno|yes|yes{{=}}bacon}} → "{{Yesno|yes|yes=bacon}}" (also applies to "Yes", "YeS", etc, "Y", "y" and "1") * {{Tlx|Yesno|no|no{{=}}ham}} → "{{Yesno|no|no=ham}}" (also applies to "No", "NO", "nO", "N", "n" and "0") * {{Tlx|Yesno||blank{{=}}eggs}} → "{{Yesno||blank=eggs}}" ** but {{Tlx|Yesno||no{{=}}ham}} → "{{Yesno||no=ham}}" ** and {{Tlx|Yesno||blank{{=}}eggs|no{{=}}ham}} → "{{Yesno||blank=eggs|no=ham}}" * {{Tlx|Yesno|¬|¬{{=}}sausage|blank{{=}}eggs|no{{=}}ham}} → "{{Yesno|¬|¬=sausage|blank=eggs|no=ham}}" ** and {{Tlx|Yesno|¬{{=}}sausage|blank{{=}}eggs|no{{=}}ham}} → "{{Yesno|¬=sausage|blank=eggs|no=ham}}" * {{Tlx|Yesno|purplemonkeydishwasher|def{{=}}cup-of-tea}} → "{{Tlx|Yesno|purplemonkeydishwasher|def{{=}}cup-of-tea}}" (also applies to any other value not given above) ** but {{Tlx|Yesno|purplemonkeydishwasher|yes{{=}}bacon}} → "{{Yesno|purplemonkeydishwasher|yes=bacon}}" ** and {{Tlx|Yesno|purplemonkeydishwasher|def{{=}}cup-of-tea|yes{{=}}bacon}} → "{{Yesno|purplemonkeydishwasher|def=cup-of-tea|yes=bacon}}" This may be used (apparently perversely) thus: * {{Tlx|Yesno|yes|yes{{=}}no|no{{=}}yes}} → "{{Yesno|yes|yes=no|no=yes}}" * {{Tlx|Yesno|no|yes{{=}}no|no{{=}}yes}} → "{{Yesno|no|yes=no|no=yes}}" This creates a logical inversion.
Summary:
Please note that all contributions to WoopMC may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WoopMC:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)