Difference between revisions of "Template:Centurybox/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
|||
| (7 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| + | __NOTOC__ | ||
{{documentation subpage}} | {{documentation subpage}} | ||
{{centurybox|21}} | {{centurybox|21}} | ||
{{centurybox|-1}} | {{centurybox|-1}} | ||
| − | |||
| − | + | == Usage == | |
| − | 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> | + | 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> <code>''left''</code>, <code>''right''</code>, <code>''center''</code>, or <code>''none''</code> | ||
== See also == | == See also == | ||
| − | * {{ | + | * {{t|Decadebox}}, a navigation box for decades |
| + | * {{t|Years in century}}, a navigation box listing all years in a given century | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
[[Category:Historical period templates|Centurybox]] | [[Category:Historical period templates|Centurybox]] | ||
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 01:37, 24 April 2020
| This is a documentation subpage for Template:Centurybox. It contains usage information, categories and other content that is not part of the original template page. |
[[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
- For the 21st century, use
{{centurybox|21}}. - For the 1st century BC, use
{{centurybox|-1}}.
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