Difference between revisions of "Template:BirthdecadeBC"

From blackwiki
Jump to navigation Jump to search
imported>Greenshed
(Category:Births by decade)
imported>Fayenatic london
(use bullets rather than dashes, which look like minus signs; conditional links rather than red links)
Line 4: Line 4:
  
 
{| class="toccolours" align=center
 
{| class="toccolours" align=center
|[[:Category:{{#expr:{{{1}}}+1}}00s BC births|<<]]
+
|{{LinkCatIfExists2|{{#expr:{{{1}}}+1}}00s BC births|←}}
 
|[[:Category:{{{3}}}-century BC births|{{{3}}}-century BC births]]:  
 
|[[:Category:{{{3}}}-century BC births|{{{3}}}-century BC births]]:  
|[[:Category:{{{1}}}90s BC births|{{{1}}}90s]]–[[:Category:{{{1}}}80s BC births|{{{1}}}80s]]–[[:Category:{{{1}}}70s BC births|{{{1}}}70s]]–[[:Category:{{{1}}}60s BC births|{{{1}}}60s]]–[[:Category:{{{1}}}50s BC births|{{{1}}}50s]]–[[:Category:{{{1}}}40s BC births|{{{1}}}40s]]–[[:Category:{{{1}}}30s BC births|{{{1}}}30s]]–[[:Category:{{{1}}}20s BC births|{{{1}}}20s]]–[[:Category:{{{1}}}10s BC births|{{{1}}}10s]]–[[:Category:{{{1}}}{{#if:{{{1}}}|0|}}0s BC births|{{{1}}}{{#if:{{{1}}}|0|}}0s]]
+
|{{LinkCatIfExists2|{{{1}}}90s BC births|{{{1}}}90s}} • {{LinkCatIfExists2|{{{1}}}80s BC births|{{{1}}}80s}} • {{LinkCatIfExists2|{{{1}}}70s BC births|{{{1}}}70s}} • {{LinkCatIfExists2|{{{1}}}60s BC births|{{{1}}}60s}} • {{LinkCatIfExists2|{{{1}}}50s BC births|{{{1}}}50s}} • {{LinkCatIfExists2|{{{1}}}40s BC births|{{{1}}}40s}} • {{LinkCatIfExists2|{{{1}}}30s BC births|{{{1}}}30s}} • {{LinkCatIfExists2|{{{1}}}20s BC births|{{{1}}}20s}} • {{LinkCatIfExists2|{{{1}}}10s BC births|{{{1}}}10s}} • {{LinkCatIfExists2|{{{1}}}{{#if:{{{1}}}|0|}}0s BC births|{{{1}}}{{#if:{{{1}}}|0|}}0s}}
|{{#ifeq: {{{3}}} | 1st | [[:Category:0s births|>>]] | {{#ifeq: {{{3}}} | 2nd | [[:Category:90s BC births|>>]] | [[:Category:{{#expr:{{{1}}}-1}}90s BC births|>>]] }}}}
+
|{{#ifeq: {{{3}}} | 1st | [[:Category:0s births|]] | {{#ifeq: {{{3}}} | 2nd | [[:Category:90s BC births|]] | {{LinkCatIfExists2|{{#expr:{{{1}}}-1}}90s BC births|→}} }}}}
 
|}
 
|}
 
{{#ifeq:{{NAMESPACE}}|{{ns:14}}|
 
{{#ifeq:{{NAMESPACE}}|{{ns:14}}|

Revision as of 13:08, 19 April 2018

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

Usage

This template is for use on category pages for births by decade BC.

To create such a page, add

{{birthdecadeBC|C|D|Ccc}}

where C is the century digit(s) within the year number, Y is the next digit in the year number (that specifies the decade), and Ccc is the name of the century.

For example, for births in the 690s BC, add

{{birthdecadeBC|6|9|7th}}

The template will put the category into a parent category for births in that decade, e.g. Category:7th-century BC births.

For years in the 12th to 1st centuries BC, it will also put the category into a parent category for events in that decade, e.g. Category:690s BC. (Year categories for 13th century BC and earlier were merged by consensus at CFD in 2015, but the year and decade categories for births and deaths were recreated following an RFC on biographies. Year categories for 12th–9th centuries BC were merged at CFD in 2017.)

Examples

People who were born in the 690s BC.


7th-century BC births: 690s • 680s • 670s • 660s • 650s • 640s • 630s • 620s • 610s • 600s


People who were born in the 10s BC.


1st-century BC births: 90s • 80s • 70s • 60s • 50s • 40s • 30s • 20s • 10s • 0s


See also