Difference between revisions of "Template:Birth year category header"
imported>BrownHairedGirl (add explicit sort key for Category:Births by year, so that the 0–10 rage labelled AD are sorted to the start) |
imported>BrownHairedGirl (add [[Category:{{{1|}}}{{{2|1}}} beginnings]] if it exists) |
||
| Line 7: | Line 7: | ||
[[Category:{{{1|}}}0s births|#{{PAGENAME}}]] | [[Category:{{{1|}}}0s births|#{{PAGENAME}}]] | ||
[[Category:Births by year|{{{1|}}}{{{2|1}}}]] | [[Category:Births by year|{{{1|}}}{{{2|1}}}]] | ||
| + | {{#ifexist: Category:{{{1|}}}{{{2|1}}} beginnings<!-- | ||
| + | -->|[[Category:{{{1|}}}{{{2|1}}} beginnings{{!}}{{{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 20:37, 11 March 2020
People born in the year [[Template:Year article]].
See also: 1685 deaths.
Template:Navseasoncats with decades below year
{{#ifeq:Template|Category|
People born in the year [[Template:Year article]].
See also: AD 1 deaths.
Template:Navseasoncats with decades below year
{{#ifeq:Template|Category|
People born in the year [[Template:Year article]].
See also: AD 10 deaths.
Template:Navseasoncats with decades below year
{{#ifeq:Template|Category|
Contents
Usage
This template is for use on category pages for births by year in the Common Era.
To create such a page, add
{{Birth 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 births in year 2017, add
{{Birth year category header|201|7}}
The template will put the category into a parent category for births in that decade, Category:2010s births, as well as the category for events in that year.
Redirects
{{birthyr}}
Subtemplate
{{BDYearsInDecade}}
See also
| The above documentation is transcluded from Template:Birth year category header/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |