Template:Group quantity subject

From Wikimedia Commons, the free media repository
(Redirected from Template:Qty group)
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]

Used to categorize categories with a specific quantity of a particular subject ("qty subject" format)

The template automatically sets the following categories: for the example {{qty group|3|children}} it will set the categories 3 people and Children by quantity.

Usage

{{group quantity subject |1= |2= }}

Or use the shorthand

Template parameters

ParameterDescriptionDefaultStatus
1
q
quantitynumeric quantity of a groupemptyrequired
2
n
group nameplural label for the subject (should match category name minus quantity)emptyoptional

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: no user group specified

Relies on:
{{Group}}, {{Group/qtygrp}}

See also

Examples

{{qty group|3|children}}

renders in Category:3 children as:


Categories: 3 people | Children by quantity