Difference between revisions of "Template:Death year category header/doc"
Jump to navigation
Jump to search
imported>Fayenatic london (use redirect in example) |
imported>BrownHairedGirl (Death year category header) |
||
| Line 6: | Line 6: | ||
To create such a page, add | To create such a page, add | ||
| − | <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>{{ | + | <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=== | ===Redirects=== | ||
| − | * {{tlx| | + | * {{tlx|Death year category header}} |
=== See also === | === See also === | ||
Revision as of 19:31, 11 March 2020
| File:Edit-copy green.svg | This is a documentation subpage for Template:Death year category header. It contains usage information, categories and other content that is not part of the original template page. |
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