Difference between revisions of "Template:Death decade category header/doc"

From blackwiki
Jump to navigation Jump to search
imported>Wbm1058
(enhanced documentation)
imported>Wbm1058
m
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:1840 deaths]], use the following command:
+
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}}

Revision as of 20:22, 17 February 2017

Usage

To add this template to, for example, Category:1840s deaths, use the following command:

{{Death decade|18|4|19th}}

The parameters are:

  1. All the digits of the decade except the last 2
  2. The next-to-last digit of the decade
  3. 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

See also