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

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
m (BrownHairedGirl moved page Template:Birth decade/doc to Template:Birth decade category header/doc: for clarity and consistency)
imported>BrownHairedGirl
Line 18: Line 18:
 
<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|{{PAGENAME}}]]
+
[[Category:People and person category header templates]]
 
[[Category:Chronology category templates]]
 
[[Category:Chronology category templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 00:27, 15 March 2020

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