Difference between revisions of "Template:Centurybox/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jimp
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(17 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly>
+
__NOTOC__
<noinclude>{{template doc page viewed directly}}</noinclude>
+
{{documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
+
{{centurybox|21}}
{{Centurybox/ADBC}}
+
{{centurybox|-1}}
{{Commonstmp}}
 
  
This template is for use on century pages.
+
== Usage ==
:Type <code><nowiki>{{Centurybox}}</nowiki></code> on any page with a name of the form ''nth century'' or ''nth century BC''.  It produces a box as in the example to the right.
+
This template produces a navigational box for the century numbered in the parameter. Positive numbers yield [[Anno Domini|AD]] centuries, negative numbers [[Anno Domini|BC]] centuries.
  
<includeonly>[[Category:Historical Period Templates |{{PAGENAME}}]]
+
=== Examples ===
 +
* For the [[21st century]], use {{tlc|centurybox|21}}.
 +
* For the [[1st century BC]], use {{tlc|centurybox|-1}}.
  
<!--- interwikis ---->
+
=== Optional parameters ===
[[simple:Template:Centurybox]]
+
By default, the navigational box will float to the right of the page.  This behaviour can be altered using <code><nowiki>float=</nowiki></code> <code>''left''</code>, <code>''right''</code>, <code>''center''</code>, or <code>''none''</code>
[[sv:Mall:Årtal sekel]]
+
 
[[vi:Tiêu bản:Centurybox]]</includeonly><noinclude>;See also
+
== See also ==
*{{tl|Centurybox/AD}}
+
* {{t|Decadebox}}, a navigation box for decades
*{{tl|Centurybox/BC}}
+
* {{t|Years in century}}, a navigation box listing all years in a given century
*{{tl|Centurybox/ADBC}}
+
 
*{{tl|Centurybox/main}}
+
<includeonly>{{Sandbox other||
*{{tl|Centurybox/decade}}
+
[[Category:Historical period templates|Centurybox]]
*{{tl|Centurybox/decadeAD}}
+
}}</includeonly>
*{{tl|Centurybox/decadeBC}}
 
*{{tl|Centurybox/centh}}
 
*{{tl|Centurybox/link}}
 
*{{tl|Centurybox/millenth}}
 
*{{tl|Centurybox/previous}} (unused on this template)
 
*{{tl|Centurybox/following}} (unused on this template)<!-- but used elsewhere as opposed to decapref -->
 
*{{tl|Centurynum}}</noinclude>
 

Latest revision as of 01:37, 24 April 2020

[[Category:Template:Pagetype with short description]]

Millennium: [[Template:Ordinal millennium|Template:Ordinal millennium]]
Centuries:
Timelines:
State leaders:
Decades:
Categories: [[:Category:Template:Ordinal-century births|Births]] – [[:Category:Template:Ordinal-century deaths|Deaths]]
[[:Category:Template:Ordinal-century establishments|Establishments]] – [[:Category:Template:Ordinal-century disestablishments|Disestablishments]]

[[Category:Template:Pagetype with short description]]

Millennium: [[Template:Ordinal millennium BC|Template:Ordinal millennium BC]]
Centuries:
Timelines:
State leaders:
Decades:
Categories: [[:Category:Template:Ordinal-century BC births|Births]] – [[:Category:Template:Ordinal-century BC deaths|Deaths]]
[[:Category:Template:Ordinal-century BC establishments|Establishments]] – [[:Category:Template:Ordinal-century BC disestablishments|Disestablishments]]


Usage

This template produces a navigational box for the century numbered in the parameter. Positive numbers yield AD centuries, negative numbers BC centuries.

Examples

Optional parameters

By default, the navigational box will float to the right of the page. This behaviour can be altered using float= left, right, center, or none

See also

  • Template:T, a navigation box for decades
  • Template:T, a navigation box listing all years in a given century