Difference between revisions of "Template:Centurybox/doc"

From blackwiki
Jump to navigation Jump to search
imported>Redaktor
m (errors in text)
imported>JFG
(Clarify doc)
Line 2: Line 2:
 
{{centurybox|21}}
 
{{centurybox|21}}
 
{{centurybox|-1}}
 
{{centurybox|-1}}
This template produces a navigational box for a century, as illustrated for <nowiki>{{centurybox|21}} (for the 21st century) and {{centurybox|-1}} (for the first century BC)</nowiki>.
 
  
; Optional parameters
+
== Usage ==
 +
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.
 +
 
 +
=== Examples ===
 +
* For the [[21st century]], use {{tlc|centurybox|21}}.
 +
* For the [[1st century BC]], use {{tlc|centurybox|-1}}.
 +
 
 +
=== Optional parameters ===
 
By default, the navigational box will float to the right of the page.  This behaviour can be altered using <code><nowiki>float=</nowiki> <code>''left''</code>, <code>''right''</code>, <code>''center''</code>, or <code>''none''</code>
 
By default, the navigational box will float to the right of the page.  This behaviour can be altered using <code><nowiki>float=</nowiki> <code>''left''</code>, <code>''right''</code>, <code>''center''</code>, or <code>''none''</code>
  

Revision as of 18:19, 5 January 2017

[[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