Difference between revisions of "Template:Death decade category header/doc"
Jump to navigation
Jump to search
imported>Wbm1058 (create documentation) |
imported>Wbm1058 (enhanced documentation) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{documentation subpage}} |
<!-- 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:1840 deaths]], use the following command: | |
<pre> | <pre> | ||
{{Death decade|18|4|19th}} | {{Death decade|18|4|19th}} | ||
</pre> | </pre> | ||
| + | |||
| + | 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 (linguistics)|ordinal number]] (e.g., 1st, 2nd, 3rd, 19th, etc.) | ||
| + | |||
| + | == Examples == | ||
| + | {{Death decade|18|4|19th}} | ||
| + | |||
| + | {{Death decade| |1|1st}} | ||
==Redirects== | ==Redirects== | ||
| Line 11: | Line 21: | ||
== See also == | == See also == | ||
| − | *[[Template:Death year category header]] | + | * [[Template:Death year category header]] |
| − | *[[Template:DeathdecadeBC]] | + | * [[Template:DeathdecadeBC]] |
| − | *[[Template:Birthdecade]] | + | * [[Template:Birthdecade]] |
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
Revision as of 20:20, 17 February 2017
| 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. |
Contents
Usage
To add this template to, for example, Category:1840 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.)
Examples
People who died in the decade 1840s.
See also: Category:1840s births.
Template:Navseasoncats with centuries below decade
People who died in the decade 10s.
See also: Category: 10s births.
Template:Navseasoncats with centuries below decade
Redirects
{{deathdecade}}