Difference between revisions of "Template:Death year category header"

From blackwiki
Jump to navigation Jump to search
imported>Wbm1058
(remove special handling for 100)
imported>Sceptre
m (per ER)
Line 1: Line 1:
 
{{BDYearsInDecade|{{{1|}}}|deaths}}
 
{{BDYearsInDecade|{{{1|}}}|deaths}}
 
<!-- Current template applies "AD" prefix to years 1…100 per RfC decision on [[Talk:AD 1]] -->
 
<!-- Current template applies "AD" prefix to years 1…100 per RfC decision on [[Talk:AD 1]] -->
People who died in '''[[{{#ifexpr: {{{1|}}}{{{2|1}}} <= 100 | AD&nbsp;|}}{{{1|}}}{{{2|1}}}]]'''. <br/>
+
People who died in '''[[{{Year article|{{{1|}}}{{{2|1}}}}}]]'''. <br/>
 
<!-- Current template links to categories AD 1 births…AD 10 births, 11 births…100 births. It will need an update after [[:Category:11 births]]..[[:Category:99 births]] are replaced by decades categories. -->
 
<!-- Current template links to categories AD 1 births…AD 10 births, 11 births…100 births. It will need an update after [[:Category:11 births]]..[[:Category:99 births]] are replaced by decades categories. -->
 
''See also:'' [[:Category:{{#ifexpr: {{{1|}}}{{{2|1}}} <= 10 | AD&nbsp;|}}{{{1|}}}{{{2|1}}} births|{{#ifexpr: {{{1|}}}{{{2|1}}} <= 10 | AD&nbsp;|}}{{{1|}}}{{{2|1}}} births]].
 
''See also:'' [[:Category:{{#ifexpr: {{{1|}}}{{{2|1}}} <= 10 | AD&nbsp;|}}{{{1|}}}{{{2|1}}} births|{{#ifexpr: {{{1|}}}{{{2|1}}} <= 10 | AD&nbsp;|}}{{{1|}}}{{{2|1}}} births]].

Revision as of 23:58, 1 October 2019

People who died in [[Template:Year article]].
See also: AD 1 births.

Template:TOC top Template:TOC bottom
Template documentation[view] [edit] [history] [purge]

Usage

This template is for use on category pages for deaths by year in the Common Era.

To create such a page, add

{{Death year category header|D|Y}}

where D is the year without the last digit, and Y is the last digit of the year.

For example, for deaths in year 2017, add

{{Death year category header|201|7}}

The template will put the category into a parent category for deaths in that decade, Category:2010s deaths, as well as the category for events in that year.

Redirects

See also