Difference between revisions of "Template:Decadebox"
Jump to navigation
Jump to search
imported>JFG (Add "By topic" link showing all categories of the decade) |
imported>JFG (Avoid blank lines when some categories do not exist) |
||
| Line 41: | Line 41: | ||
| style="text-align: right;" | '''Categories:''' | | style="text-align: right;" | '''Categories:''' | ||
| {{unbulleted list | {{flatlist | | | {{unbulleted list | {{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]] |
| − | }} | {{flatlist | | + | }} }} | {{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><!-- | |}</includeonly><!-- | ||
--><noinclude> | --><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 04:41, 18 January 2017
| 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. |