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

From blackwiki
Jump to navigation Jump to search
imported>Fayenatic london
(Fix links from 2nd century to 90s, and 1st century to 0s)
imported>Wbm1058
m (remove blank line)
Line 13: Line 13:
 
[[Category:{{{1}}}{{{2}}}0s|Births]]
 
[[Category:{{{1}}}{{{2}}}0s|Births]]
 
[[Category:{{{3}}}-century births|#{{PAGENAME}}]]
 
[[Category:{{{3}}}-century births|#{{PAGENAME}}]]
</includeonly>
+
</includeonly><noinclude>
<noinclude>
 
 
{{documentation}}
 
{{documentation}}
  

Revision as of 17:33, 17 February 2017

Template documentation[view] [edit] [history] [purge]

Usage

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

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

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

See also