Template:ParmAnd3

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

1

Documentation icon Documentationviewedithistorypurge

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

Parameter Description Default Status
1
parameter #1 empty required
2
parameter #2 empty required
3
parameter #3 empty required
4
Return if all are set. 1 optional
5
Return 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|}}