Difference between revisions of "Template:Decadebox"
Jump to navigation
Jump to search
imported>Primefac m (Protected "Template:Decadebox": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (ind...) |
imported>GeoffreyT2000 m (Formal plural of "millennium" is "millennia".) |
||
| (10 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| class="infobox" style="width: auto; text-align: center;" | <includeonly>{| class="infobox" style="width: auto; text-align: center;" | ||
|- style="background-color:#f0f0f0" | |- style="background-color:#f0f0f0" | ||
| − | | style="text-align: right;" | '''[[Millennium]]:''' | + | | style="text-align: right;" | '''[[List of decades, centuries, and millennia|Millennium]]:''' |
| {{dr|d|m|{{{1}}}|0|ys}} | | {{dr|d|m|{{{1}}}|0|ys}} | ||
|- | |- | ||
| − | | style="text-align: right;" | '''[[List of centuries|Centuries]]:''' | + | | style="text-align: right;" | '''[[List of decades, centuries, and millennia|Centuries]]:''' |
| {{hlist | | {{hlist | ||
| {{dr|d|c|{{{1}}}|-1|ys}} | | {{dr|d|c|{{{1}}}|-1|ys}} | ||
| Line 12: | Line 12: | ||
|- | |- | ||
|- style="background-color:#f0f0f0" | |- style="background-color:#f0f0f0" | ||
| − | | style="text-align: right;" | '''[[List of decades|Decades]]:''' | + | | style="text-align: right;" | '''[[List of decades, centuries, and millennia|Decades]]:''' |
| {{hlist | | {{hlist | ||
| {{dr|d|d|{{{1}}}|-2|ys}} | | {{dr|d|d|{{{1}}}|-2|ys}} | ||
| Line 38: | Line 38: | ||
|- style="background-color:#f0f0f0" | |- style="background-color:#f0f0f0" | ||
| style="text-align: right;" | '''Categories:''' | | 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 country |* [[: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]] | ||
| − | }} | + | }} |
| + | {{endflatlist}} | ||
|}</includeonly><!-- | |}</includeonly><!-- | ||
--><noinclude> | --><noinclude> | ||
| − | {{documentation}} | + | {{documentation}}{{convert to use Sidebar}}</noinclude> |
| − | </noinclude> | ||
Latest revision as of 23:30, 16 October 2020
| Millennium: | [[Template:Ordinal millennium|Template:Ordinal millennium]] |
| Centuries: |
|
| Decades: | |
| Years: | |
| Categories: |
| Millennium: | [[Template:Ordinal millennium BC|Template:Ordinal millennium BC]] |
| Centuries: |
|
| Decades: | |
| Years: | |
| Categories: |
Usage
This template is for use on decade articles.
Use {{decadebox|n}} where n is the number of the decade, without the final 0. Positive numbers yield AD years, negative numbers BC years.
Examples
See also
| The above documentation is transcluded from Template:Decadebox/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
| This template should be converted to a standardized format using Template:Sidebar. (Talk • Category) |