Difference between revisions of "Template:If all/doc"
Jump to navigation
Jump to search
imported>Plastikspork (→See also: related) |
imported>Droll (tweak) |
||
| Line 3: | Line 3: | ||
{{Ombox | {{Ombox | ||
| type = content | | type = content | ||
| − | | text = This template is '''Under development''' | + | | text = This template is '''Under development'''. |
}} | }} | ||
Revision as of 17:33, 2 August 2010
| 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. |
| File:OOjs UI icon notice-warning.svg | This template is Under development. |
This helper template performs a logical and on n parameters. It can test up to 10 parameters.
It is intended to be used in other templates.
Usage
{{if all |1|2|3|4|5|6|7|8|9|10
| count = 10
| then = All is well.
| else = Something is missing.
}}
Yields:
{{if all |1|2|3|4|5|6|7|8| |10
| count = 10
| then = All is well.
| else = Something is missing.
}}
Yields:
See also
- {{ifempty}}
- {{Missing param}}