Template:Year by category/doc

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

This template can be used to a navigational header for a year category. Please consider before creating new year categories – there should exist a comprehensive topical categorization for the subject first.

Example;
Category:1900 in Thailand:
{{year by category |m=1 |c=9 |d=0 |y=0 |cat=in Thailand |sortkey=Thailand |subcat=1900 by country }}

produces

Usage

{{Year by category |m= |c= |d= |y= |cat= |sortkey= |subcat= |parent= |in= |transition suffix= |displayredlinks= }}

Template parameters

Parameter Description Default Status
m Millennium empty required
c Century empty required
d Decade empty required
y Year empty required
cat empty required
sortkey empty optional
subcat empty optional
parent empty optional
in empty optional
transition suffix empty optional
displayredlinks Red links are displayed by default. Set displayredlinks=no to hide them. empty optional

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

See also

{{Ybyc}} (provides some defaults for {{year by category}}); {{Decade by category}}, {{Decade years navbox}}