Template:ParmAnd3
Jump to navigation
Jump to search
1
Checks if all 3 parameters ( {{{1}}}, {{{2}}} and {{{3}}} ) are set and Return 1 if all are set or if any of the parameters are missing
Usage
{{ParmAnd3 |1= |2= |3= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | empty | required | ||
2 | empty | required | ||
3 | empty | required | ||
4 | 1 | optional | ||
5 | (empty string) | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Examples
{{ParmAnd3|a|b|c|all there|some missing}}
→ all there{{ParmAnd3| |b|c|all there|some missing}}
→ some missing{{ParmAnd3|a| |c|all there|some missing}}
→ some missing{{ParmAnd3|a|b| |all there|some missing}}
→ some missing{{ParmAnd3|a| | |all there|some missing}}
→ some missing{{ParmAnd3| |b| |all there|some missing}}
→ some missing{{ParmAnd3| | |c|all there|some missing}}
→ some missing{{ParmAnd3| | | |all there|some missing}}
→ some missing{{ParmAnd3|a|b|c}}
→ 1{{ParmAnd3|a|b|}}
→
The above documentation is transcluded from Template:ParmAnd3/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |