Template:Groups

Template documentation[view · edit · history · purge]
This documentation is transcluded from Template:Groups/doc.

use to organize categories for groups by number and grouped entity

The template automatically sets the following categories:

Usage


{{groups |entities= |qty= |qty2= |qty3= |adj= }}

Category:Main message boxes Category:Templates without documentation

Template parameters

ParameterDescriptionDefaultStatus
entities
1
entitiesentities which are grouped using plural form (e.g. for Category:Groups of people use "people"; for Category:2 objects use "objects")emptyrequired
qty
2
quantity 1number of entities within the groups (e.g. for Category:2 objects, use "2")emptyoptional
qty2
3
quantity 2number of entities within the second groups (e.g. for Category:Groups of 1 and 2, use "2")emptyoptional
qty3
4
quantity 3number of entities within the third groups (e.g. for Category:Groups of 1, 2, 3, use "3")emptyoptional
adj
5
adjectiveadjective that precedes entitiesemptyoptional

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

Relies on:
{{Groups/data}}, {{Groups/switch}}

See also

  • {{Group}} – data processing template intended to be called by other templates
Category:Templates using an unknown approach for internationalisation

Examples

{{Groups|flags}}

renders in Category:Flags as:

Category:Flags#Groups Category:Groups of symbols#flags
Categories: Flags | Groups of symbols


{{Groups|flags|8}}

renders in Category:8 flags as:

Category:Flags#Groups Category:Groups of symbols#flags
Categories: Flags by quantity | 8 symbols


{{Groups|people|3|4}}

renders in Category:3 and 4 people as:


Categories: 2 groups of people | 7 people | 3 people | 4 people


{{Groups||2|4}}

renders in Category:Groups of 2 and 4 as:


Categories: 2 groups | Groups of groups by size | Groups of 2 with other groups by size | Groups of 4 with other groups by size | Groups of 6 by size of subgroups


{{groups||1|2|4}}

renders in Category:Groups of 1, 2, 4 as:


Categories: 3 groups | Groups of groups by size | Groups of 1 and 2 | Groups of 1 and 4 | Groups of 2 and 4 | Groups of 7 by size of subgroups
Category:Category maintenance templates Category:By quantity navigational templates#!
Category:Pages using groups template#! Category:By quantity navigational templates#!
Category:By quantity navigational templates Category:Category maintenance templates Category:Flags Category:Groups of symbols Category:Main message boxes Category:Pages using groups template Category:Templates using an unknown approach for internationalisation Category:Templates without documentation