Difference between revisions of "Template:Death decade category header/doc"
Jump to navigation
Jump to search
imported>Wbm1058 (enhanced documentation) |
imported>BrownHairedGirl |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
== Usage == | == Usage == | ||
| − | To add this template to, for example, [[:Category: | + | To add this template to, for example, [[:Category:1840s deaths]], use the following command: |
<pre> | <pre> | ||
{{Death decade|18|4|19th}} | {{Death decade|18|4|19th}} | ||
| Line 11: | Line 11: | ||
#The next-to-last digit of the decade | #The next-to-last digit of the decade | ||
#The century the decade is in, as an [[ordinal number (linguistics)|ordinal number]] (e.g., 1st, 2nd, 3rd, 19th, etc.) | #The century the decade is in, as an [[ordinal number (linguistics)|ordinal number]] (e.g., 1st, 2nd, 3rd, 19th, etc.) | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Redirects== | ==Redirects== | ||
| Line 23: | Line 18: | ||
* [[Template:Death year category header]] | * [[Template:Death year category header]] | ||
* [[Template:DeathdecadeBC]] | * [[Template:DeathdecadeBC]] | ||
| − | * [[Template: | + | * [[Template:Birth decade category header]] |
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| − | [[Category:People and person templates | + | [[Category:People and person category header templates]] |
| − | [[Category: | + | [[Category:Chronology category header templates]] |
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 20:35, 15 March 2020
| This is a documentation subpage for Template:Death decade category header. It contains usage information, categories and other content that is not part of the original template page. |
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}}