Template:ParmAnd3

From ISTP Computing
Jump to navigation Jump to search

1

Template documentation[view] [edit] [history] [purge]

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

ParameterDescriptionDefaultStatus
1
emptyrequired
2
emptyrequired
3
emptyrequired
4
1optional
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|}}