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

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
(add beginnings cat if it exists)
imported>BrownHairedGirl
([[Category:{{{1}}}{{{2}}}0s beginnings]])
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><!--
People born in the '''[[{{{1}}}{{#ifeq:{{{2}}} | 0 | {{{2}}}0–{{{1}}}{{{2}}}9{{!}}{{{1}}}}}{{{2}}}0s]]'''.<br>
+
-->People born in the '''[[{{Decade link|{{{1}}}{{{2}}}0}}]]'''.<br />''See also: [[:Category:{{{1}}}{{{2}}}0s deaths]].''
''See also:'' [[:Category:{{{1}}}{{{2}}}0s deaths]].  
 
 
{{Navseasoncats with centuries below decade}}
 
{{Navseasoncats with centuries below decade}}
 
 
{{#ifeq:{{NAMESPACE}}|{{ns:14}}|
 
{{#ifeq:{{NAMESPACE}}|{{ns:14}}|
[[Category:{{{1}}}{{{2}}}0s|Births]]
+
[[Category:{{{1}}}{{{2}}}0s beginnings|Births]]
 
[[Category:{{{3}}}-century births|#{{PAGENAME}}]]
 
[[Category:{{{3}}}-century births|#{{PAGENAME}}]]
 
[[Category:Births by decade]]
 
[[Category:Births by decade]]
{{#ifexist: Category:{{{1}}}{{{2}}}0s beginnings<!--
+
}}</includeonly><!--
    -->|[[Category:{{{1}}}{{{2}}}0s beginnings{{!}}Deaths]]<!--
+
# Note {{CatAutoTOC}} needs to be available whether or not this template page has been transcluded
-->}}
+
-->{{CatAutoTOC}}<noinclude>
}}</includeonly><noinclude>
+
{{Documentation}}
{{documentation}}
 
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 00:40, 15 March 2020

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