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

From blackwiki
Jump to navigation Jump to search
imported>Auntof6
(add more explanation to doc)
imported>Wbm1058
(show the example)
Line 6: Line 6:
 
{{birthdecade|19|1|20th}}
 
{{birthdecade|19|1|20th}}
 
</pre>
 
</pre>
 +
{{birthdecade|19|1|20th}}
  
 
The parameters are:
 
The parameters are:

Revision as of 17:27, 17 February 2017

Template usage:

To add this template to, for example, Category:1910s births, use the following command:

{{birthdecade|19|1|20th}}

People born in the 1910s.
See also: Category:1910s deaths. Template:Navseasoncats with centuries below decade


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.)