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

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
([[Category:{{{1|}}}{{{2|1}}} endings]], not year category)
imported>BrownHairedGirl
(fix comment)
Line 12: Line 12:
 
[[Category:{{{1|}}}{{{2|1}}} endings|Deaths]]
 
[[Category:{{{1|}}}{{{2|1}}} endings|Deaths]]
 
[[Category:{{{1|}}}0s deaths|#{{{1|}}}{{{2|1}}}]]
 
[[Category:{{{1|}}}0s deaths|#{{{1|}}}{{{2|1}}}]]
[[Category:Deaths by year|{{{1|}}}{{{2|1}}}]]
+
[[Category:Deaths by year|{{{1|}}}{{{2|1}}}]]<!--
 
-->}}</includeonly><!--
 
-->}}</includeonly><!--
 
  # Note {{CatAutoTOC}} needs to be available whether or not this template page has been transcluded
 
  # Note {{CatAutoTOC}} needs to be available whether or not this template page has been transcluded

Revision as of 12:27, 14 March 2020

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