Difference between revisions of "Template:Death decade category header"
Jump to navigation
Jump to search
imported>BrownHairedGirl |
imported>BrownHairedGirl (cleanup) |
||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly><!-- |
| − | People who died in the '''[[{{ | + | -->People who died in the '''[[{{Decade link|{{{1}}}}}{{{2}}}0}}]]'''.<br />''See also: [[:Category:{{{1}}}{{{2}}}0s births]].'' |
| − | ''See also: | ||
{{Navseasoncats with centuries below decade}} | {{Navseasoncats with centuries below decade}} | ||
| − | |||
{{#ifeq:{{NAMESPACE}}|{{ns:14}}| | {{#ifeq:{{NAMESPACE}}|{{ns:14}}| | ||
[[Category:{{{1}}}{{{2}}}0s|Deaths]] | [[Category:{{{1}}}{{{2}}}0s|Deaths]] | ||
| Line 10: | Line 8: | ||
{{#ifexist: Category:{{{1}}}{{{2}}}0s endings<!-- | {{#ifexist: Category:{{{1}}}{{{2}}}0s endings<!-- | ||
-->|[[Category:{{{1}}}{{{2}}}0s endings{{!}}Deaths]]<!-- | -->|[[Category:{{{1}}}{{{2}}}0s endings{{!}}Deaths]]<!-- | ||
| − | -->}} | + | -->}}<!-- |
| − | + | -->}}</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 | ||
-->{{CatAutoTOC}}<noinclude> | -->{{CatAutoTOC}}<noinclude> | ||
Revision as of 09:47, 14 March 2020
Usage
To add this template to, for example, Category:1840s deaths, use the following command:
{{Death decade|18|4|19th}}
The parameters are:
- All the digits of the decade except the last 2
- The next-to-last digit of the decade
- The century the decade is in, as an ordinal number (e.g., 1st, 2nd, 3rd, 19th, etc.)
Redirects
{{deathdecade}}
See also
| The above documentation is transcluded from Template:Death decade 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. |