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

From blackwiki
Jump to navigation Jump to search
imported>Wbm1058
(add cats)
imported>Wbm1058
(upgrade specs)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 +
<!-- 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:1910s births]], use the following command:
 
To add this template to, for example, [[:Category:1910s births]], use the following command:
Line 20: Line 21:
 
* [[Template:BirthdecadeBC]]
 
* [[Template:BirthdecadeBC]]
 
* [[Template:Death decade]]
 
* [[Template:Death decade]]
<includeonly>
+
<includeonly>{{sandbox other||
<!-- Categories and interwikis go here: -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:People and person templates|{{PAGENAME}}]]
 
[[Category:People and person templates|{{PAGENAME}}]]
 
[[Category:Time, date and calendar templates|{{PAGENAME}}]]
 
[[Category:Time, date and calendar templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Revision as of 20:02, 17 February 2017

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

Examples

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


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


See also