Difference between revisions of "Template:If all/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hyacinth
(* {{tl|If all}} * {{tl|If either}})
imported>Hyacinth
(→‎See also: * {{tl|If both}})
Line 36: Line 36:
 
=== See also ===
 
=== See also ===
 
* {{tl|If all}}
 
* {{tl|If all}}
 +
* {{tl|If both}}
 
* {{tl|If either}}
 
* {{tl|If either}}
 
* {{tl|ifempty}}
 
* {{tl|ifempty}}

Revision as of 16:02, 8 July 2014

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