Difference between revisions of "Template:Decadebox"

From blackwiki
Jump to navigation Jump to search
imported>Beland
(update links due to merge)
imported>GeoffreyT2000
m (Formal plural of "millennium" is "millennia".)
 
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;" | '''[[List of decades, centuries, and millenniums|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 decades, centuries, and millenniums|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, centuries, and millenniums|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}}

Latest revision as of 23:30, 16 October 2020

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