Difference between revisions of "Template:Decadebox/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
  
{{decadebox|201}}
+
{{decadebox|198}}
==Usage==
+
{{decadebox|-2}}
This template is for use on decade articles AD. Use {{tlx|decadebox|x}} where x is the number of the decade, without the final 0. For example, use 152 for the 1520s, -3 for the 30s BC. The example on the right is for the 1980s, i.e. {{tlx|decadebox|198}}.
+
 
 +
== Usage ==
 +
This template is for use on decade articles.
 +
 
 +
Use {{tlx|decadebox|n}} where ''n'' is the number of the decade, without the final 0. Positive numbers yield [[Anno Domini|AD]] years, negative numbers [[Anno Domini|BC]] years.
 +
 
 +
=== Examples ===
 +
* For the [[1980s]], use {{tlc|decadebox|198}}
 +
* For the [[20s BC]], use {{tlc|decadebox|-2}}
  
 
==See also==
 
==See also==
  
<includeonly><!--
+
<includeonly>{{Sandbox other||<!--
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
<!--Categories-->
 
<!--Categories-->
Line 14: Line 22:
  
 
<!--Interwikis-->
 
<!--Interwikis-->
</includeonly>
+
}}</includeonly>

Latest revision as of 23:08, 24 April 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

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

See also