Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Jump to content

Template:Decadebox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
m minor fix
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:sidebar|sidebar|name=Decadebox|class=hlist
<includeonly>{| class="infobox" style="width: auto; text-align: center;"
|heading1=[[List of decades, centuries, and millennia|Millennium]]
|- style="background-color:#f0f0f0"
|content1={{dr|d|m|{{{1}}}|0|ys}}
| style="text-align: right;" | '''[[Millennium]]:'''
|heading2=[[List of decades, centuries, and millennia|Centuries]]
| {{dr|d|m|{{{1}}}|0|ys}}
|content2=
|-
* {{dr|d|c|{{{1}}}|-1|ys}}
| style="text-align: right;" | '''[[List of centuries|Centuries]]:'''
* '''{{dr|d|c|{{{1}}}|0|ys}}'''
| {{hlist
| {{dr|d|c|{{{1}}}|-1|ys}}
* {{dr|d|c|{{{1}}}|1|ys}}
|heading3=[[List of decades, centuries, and millennia|Decades]]
| '''{{dr|d|c|{{{1}}}|0|ys}}'''
|content3=
| {{dr|d|c|{{{1}}}|1|ys}}
* {{dr|d|d|{{{1}}}|-2|ys}}
}}
* {{dr|d|d|{{{1}}}|-1|ys}}
|-
* '''{{dr|d|d|{{{1}}}|0|ys}}'''
|- style="background-color:#f0f0f0"
* {{dr|d|d|{{{1}}}|1|ys}}
| style="text-align: right;" | '''[[List of decades|Decades]]:'''
* {{dr|d|d|{{{1}}}|2|ys}}
| {{hlist
|heading4=[[List of years|Years]]
| {{dr|d|d|{{{1}}}|-2|ys}}
|content4=
| {{dr|d|d|{{{1}}}|-1|ys}}
| '''{{dr|d|d|{{{1}}}|0|ys}}'''
{{#ifeq:w{{{1}}}|w0|<!-- There is no year AD 0 -->|* {{dr|d|y|{{{1}}}|-1|{{#ifexpr:{{{1}}}<10|sa|s}}}}}}
| {{dr|d|d|{{{1}}}|1|ys}}
* {{dr|d|y|{{{1}}}|0|{{#ifexpr:{{{1}}}<10|sa|s}}}}
| {{dr|d|d|{{{1}}}|2|ys}}
* {{dr|d|y|{{{1}}}|1|{{#ifexpr:{{{1}}}<10|sa|s}}}}
* {{dr|d|y|{{{1}}}|2|{{#ifexpr:{{{1}}}<10|sa|s}}}}
}}
* {{dr|d|y|{{{1}}}|3|{{#ifexpr:{{{1}}}<10|sa|s}}}}
|-

| style="text-align: right;" | '''[[List of years|Years]]:'''
* {{dr|d|y|{{{1}}}|4|{{#ifexpr:{{{1}}}<10|sa|s}}}}
| {{hlist
| {{#ifeq:w{{{1}}}|w0|<!-- There is no year AD 0 -->|{{dr|d|y|{{{1}}}|-1|{{#ifexpr:{{{1}}}<10|sa|s}}}}}}
* {{dr|d|y|{{{1}}}|5|{{#ifexpr:{{{1}}}<10|sa|s}}}}
| {{dr|d|y|{{{1}}}|0|{{#ifexpr:{{{1}}}<10|sa|s}}}}
* {{dr|d|y|{{{1}}}|6|{{#ifexpr:{{{1}}}<10|sa|s}}}}
| {{dr|d|y|{{{1}}}|1|{{#ifexpr:{{{1}}}<10|sa|s}}}}
* {{dr|d|y|{{{1}}}|7|{{#ifexpr:{{{1}}}<10|sa|s}}}}
| {{dr|d|y|{{{1}}}|2|{{#ifexpr:{{{1}}}<10|sa|s}}}}
{{#ifeq:w{{{1}}}|w-0|<!-- There is no year 0 BC -->|* {{dr|d|y|{{{1}}}|8|{{#ifexpr:{{{1}}}<10|sa|s}}}}}}
|heading5=Categories
| {{dr|d|y|{{{1}}}|3|{{#ifexpr:{{{1}}}<10|sa|s}}}}
|content5=
}} {{hlist
| {{dr|d|y|{{{1}}}|4|{{#ifexpr:{{{1}}}<10|sa|s}}}}
| {{dr|d|y|{{{1}}}|5|{{#ifexpr:{{{1}}}<10|sa|s}}}}
| {{dr|d|y|{{{1}}}|6|{{#ifexpr:{{{1}}}<10|sa|s}}}}
| {{dr|d|y|{{{1}}}|7|{{#ifexpr:{{{1}}}<10|sa|s}}}}
| {{#ifeq:w{{{1}}}|w-0|<!-- There is no year 0 BC -->|{{dr|d|y|{{{1}}}|8|{{#ifexpr:{{{1}}}<10|sa|s}}}}}}
}}
|-
|- style="background-color:#f0f0f0"
| style="text-align: right;" | '''Categories:'''
| {{flatlist}}
{{#ifexist:Category:{{drcat|{{{1}}}}} births |* [[:Category:{{drcat|{{{1}}}}} births|Births]]
{{#ifexist:Category:{{drcat|{{{1}}}}} births |* [[:Category:{{drcat|{{{1}}}}} births|Births]]
}} {{#ifexist:Category:{{drcat|{{{1}}}}} deaths |* [[:Category:{{drcat|{{{1}}}}} deaths|Deaths]]
}} {{#ifexist:Category:{{drcat|{{{1}}}}} deaths |* [[:Category:{{drcat|{{{1}}}}} deaths|Deaths]]
}} {{#ifexist:Category:{{drcat|{{{1}}}}} by country |* [[:Category:{{drcat|{{{1}}}}} by country|By country]]
}} {{#ifexist:Category:{{drcat|{{{1}}}}} by country |* [[:Category:{{drcat|{{{1}}}}} by country|By country]]
}} {{#ifexist:Category:{{drcat|{{{1}}}}} by country |* [[:Category:{{drcat|{{{1}}}}}|By topic]]
}} {{#ifexist:Category:{{drcat|{{{1}}}}} by topic |* [[:Category:{{drcat|{{{1}}}}}|By topic]]
}}
}}

{{endflatlist}}
{{flatlist}}
{{#ifexist:Category:{{drcat|{{{1}}}}} establishments |* [[:Category:{{drcat|{{{1}}}}} establishments|Establishments]]
{{#ifexist:Category:{{drcat|{{{1}}}}} establishments |* [[:Category:{{drcat|{{{1}}}}} establishments|Establishments]]
}} {{#ifexist:Category:{{drcat|{{{1}}}}} disestablishments |* [[:Category:{{drcat|{{{1}}}}} disestablishments|Disestablishments]]
}} {{#ifexist:Category:{{drcat|{{{1}}}}} disestablishments |* [[:Category:{{drcat|{{{1}}}}} disestablishments|Disestablishments]]
}}
}}
}}</includeonly><noinclude>
{{endflatlist}}
{{documentation}}</noinclude>
|}</includeonly><!--
--><noinclude>
{{documentation}}
</noinclude>

Latest revision as of 11:09, 27 July 2023