Template:If all/doc
< Template:If all
Jump to navigation
Jump to search
Revision as of 16:01, 8 July 2014 by imported>Hyacinth (* {{tl|If all}} * {{tl|If either}})
| This is a documentation subpage for Template:If all. It contains usage information, categories and other content that is not part of the original template page. |
This helper template performs a logical and on n parameters where n is between 1 and 10. It is intended to be used in other templates.
Usage
{{if all|1|2|3|4|5|6|7|8|9|10
| n = 10
| then = All there.
| else = Something is missing.
}}
→ All there.
{{if all|1|2|3|4|5|6|7|8| |10
| n = 10
| then = All there.
| else = Something is missing.
}}
→ Something is missing.
See also
- {{If all}}
- {{If either}}
- {{ifempty}}
- {{Missing param}}