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

From blackwiki
Jump to navigation Jump to search
imported>Fayenatic london
(update link)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE, AND INTERWIKIS AT WIKIDATA -->
  
 
=== Usage ===
 
=== Usage ===
Line 6: Line 6:
  
 
To create such a page, add
 
To create such a page, add
<pre>{{death category header|D|Y}}</pre>
+
<pre>{{Death year category header|D|Y}}</pre>
 
where D is the year without the last digit, and Y is the last digit of the year.  
 
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  
 
For example, for deaths in year 2017, add  
<pre>{{death category header|201|7}}</pre>
+
<pre>{{Death year category header|201|7}}</pre>
  
 
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.
 
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===
 +
* {{tlx|Death category header}}
 +
* {{tlx|Deathyr}}
  
 
=== See also ===
 
=== See also ===
 
* [[Template:Birth year category header]]
 
* [[Template:Birth year category header]]
 
* [[Template:DeathyrBC ]]
 
* [[Template:DeathyrBC ]]
* [[Template:Death decade]]
+
* [[Template:Death decade category header]]
 
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[bg:Шаблон:Deathyr]]
 
[[fr:Modèle:Décès]]
 
[[lv:Veidne:Mirgads]]
 
[[mk:Шаблон:Deathyr]]
 
[[pt:Predefinição:Categoria de mortes por ano]]
 
[[tr:Şablon:Kronoloji (ölüm)]]
 
[[ur:سانچہ:Death category header]]
 
  
[[Category:People and person templates]]
+
<includeonly>{{Sandbox other||
[[Category:Wikipedia category table of contents templates]]
+
<!-- CATEGORIES HERE, THANKS -->
</includeonly>
+
[[Category:People and person category header templates]]
 +
[[Category:Chronology category header templates]]
 +
}}</includeonly>

Latest revision as of 23:07, 24 April 2020

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