This page is protected against editing.

Template:ParmAnd3

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

1

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:ParmAnd3/doc.

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
1parameter #1emptyrequired
2parameter #2emptyrequired
3parameter #3emptyrequired
4Return if all are set.1optional
5Return if any are missing.(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|}}