Template:If both/doc
< Template:If both
Jump to navigation
Jump to search
Revision as of 18:06, 9 February 2010 by imported>Droll (tweak text)
| This is a documentation subpage for Template:If both. It contains usage information, categories and other content that is not part of the original template page. |
This simple template is designed to facilitate template coding and should only be used in templates.
The functionality is simple. If a and b then x else y
I both a and b are true {defined} then a is defined If either a or be are (undefined) then is b defined
{{if a | b | x | y}} --> x
{{if a | | x | y}} --> y