Difference between revisions of "Template:Decadebox"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy flatlist)
imported>WOSlinker
Line 43: Line 43:
 
}} {{#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}}
+
}}
 +
{{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}}
+
}}
 +
{{endflatlist}}
 
|}</includeonly><!--
 
|}</includeonly><!--
 
--><noinclude>
 
--><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 19:25, 24 February 2018

Template documentation[view] [edit] [history] [purge]
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

  • For the 1980s, use {{decadebox|198}}
  • For the 20s BC, use {{decadebox|-2}}

See also