Difference between revisions of "Template:Birth decade category header/doc"
Jump to navigation
Jump to search
imported>Wbm1058 |
imported>BrownHairedGirl |
||
| (9 intermediate revisions by 2 users not shown) | |||
| 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 == | |
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: | ||
<pre> | <pre> | ||
{{birthdecade|19|1|20th}} | {{birthdecade|19|1|20th}} | ||
</pre> | </pre> | ||
| − | |||
The parameters are: | The parameters are: | ||
| Line 16: | Line 15: | ||
* [[Template:Birth year category header]] | * [[Template:Birth year category header]] | ||
* [[Template:BirthdecadeBC]] | * [[Template:BirthdecadeBC]] | ||
| − | * [[Template:Death decade]] | + | * [[Template:Death decade category header]] |
| + | <includeonly>{{sandbox other|| | ||
| + | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| + | [[Category:People and person category header templates]] | ||
| + | [[Category:Chronology category header templates]] | ||
| + | }}</includeonly> | ||
Latest revision as of 21:38, 15 March 2020
| This is a documentation subpage for Template:Birth decade category header. It contains usage information, categories and other content that is not part of the original template page. |
Usage
To add this template to, for example, Category:1910s births, use the following command:
{{birthdecade|19|1|20th}}
The parameters are:
- All the digits of the decade except the last 2
- The next-to-last digit of the decade
- The century the decade is in, as an ordinal number (e.g., 1st, 2nd, 3rd, 19th, etc.)