Difference between revisions of "Template:Decadebox/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Armanaziz
(Create sandbox version of Template:Decadebox)
 
imported>Sdkb
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{main other|{{short description|{{{1|{{PAGENAME}}}}}}}}}
 
<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"
Line 14: Line 15:
 
| style="text-align: right;" | '''[[List of decades|Decades]]:'''
 
| style="text-align: right;" | '''[[List of decades|Decades]]:'''
 
| {{hlist
 
| {{hlist
   | {{dr|d|d|{{{1}}}|-2|ys}}
+
   | [[{{dr|d|d|{{{1}}}|-2|ys}} in Bangladesh]]
   | {{dr|d|d|{{{1}}}|-1|ys}}
+
   | [[{{dr|d|d|{{{1}}}|-1|ys}} in Bangladesh]]
   | '''{{dr|d|d|{{{1}}}|0|ys}}'''
+
   |[[ '''{{dr|d|d|{{{1}}}|0|ys}}''' in Bangladesh]]
   | {{dr|d|d|{{{1}}}|1|ys}}
+
   |[[ {{dr|d|d|{{{1}}}|1|ys}} in Bangladesh]]
   | {{dr|d|d|{{{1}}}|2|ys}}
+
   | [[ {{dr|d|d|{{{1}}}|2|ys}} in Bangladesh]]
 
}}
 
}}
 
|-
 
|-

Latest revision as of 21:38, 2 January 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