Difference between revisions of "Template:Birth year category header"
Jump to navigation
Jump to search
imported>BrownHairedGirl m (typo) |
imported>BrownHairedGirl (fmt) |
||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly><!-- 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 born in '''[[{{Year article|{{{1|}}}{{{2|1}}}}}]]'''. <br/> | People born in '''[[{{Year article|{{{1|}}}{{{2|1}}}}}]]'''. <br/> | ||
| + | {{Navseasoncats with decades below year||{{{1|}}}{{{2|1}}}| births}} | ||
<!-- Current template links to categories AD 1 deaths…AD 10 deaths, 11 deaths…100 deaths. It will need an update after [[:Category:11 deaths]]..[[:Category:99 deaths]] are replaced by decades categories. --> | <!-- Current template links to categories AD 1 deaths…AD 10 deaths, 11 deaths…100 deaths. It will need an update after [[:Category:11 deaths]]..[[:Category:99 deaths]] are replaced by decades categories. --> | ||
''See also:'' [[:Category:{{#ifexpr: {{{1|}}}{{{2|1}}} <= 10 | AD |}}{{{1|}}}{{{2|1}}} deaths|{{#ifexpr: {{{1|}}}{{{2|1}}} <= 10 | AD |}}{{{1|}}}{{{2|1}}} deaths]]. | ''See also:'' [[:Category:{{#ifexpr: {{{1|}}}{{{2|1}}} <= 10 | AD |}}{{{1|}}}{{{2|1}}} deaths|{{#ifexpr: {{{1|}}}{{{2|1}}} <= 10 | AD |}}{{{1|}}}{{{2|1}}} deaths]]. | ||
Revision as of 18:58, 11 March 2020
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
People born in [[Template:Year article]].
Template:Navseasoncats with decades below year
See also: 1685 deaths.
People born in [[Template:Year article]].
Template:Navseasoncats with decades below year
See also: AD 1 deaths.
People born in [[Template:Year article]].
Template:Navseasoncats with decades below year
See also: AD 10 deaths.
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. |