Difference between revisions of "Template:Centurybox"
Jump to navigation
Jump to search
imported>Colonies Chris |
imported>JFG (Format decades with hlists) |
||
| Line 11: | Line 11: | ||
|- style="background:#f0f0f0" | |- style="background:#f0f0f0" | ||
! style="text-align:right;" | <small>[[List of decades|Decades]]:</small> | ! style="text-align:right;" | <small>[[List of decades|Decades]]:</small> | ||
| − | | {{dr|c|d|{{{1}}}|0|s}} {{dr|c|d|{{{1}}}|1|s}} {{dr|c|d|{{{1}}}|2|s}} {{dr|c|d|{{{1}}}|3|s}} {{dr|c|d|{{{1}}}|4|s}} | + | | {{hlist |
| + | | {{dr|c|d|{{{1}}}|0|s}} | ||
| + | | {{dr|c|d|{{{1}}}|1|s}} | ||
| + | | {{dr|c|d|{{{1}}}|2|s}} | ||
| + | | {{dr|c|d|{{{1}}}|3|s}} | ||
| + | | {{dr|c|d|{{{1}}}|4|s}} | ||
| + | }} {{hlist | ||
| + | | {{dr|c|d|{{{1}}}|5|s}} | ||
| + | | {{dr|c|d|{{{1}}}|6|s}} | ||
| + | | {{dr|c|d|{{{1}}}|7|s}} | ||
| + | | {{dr|c|d|{{{1}}}|8|s}} | ||
| + | | {{dr|c|d|{{{1}}}|9|s}} | ||
| + | }} | ||
|- | |- | ||
! style="text-align:right;" | {{#ifexpr:{{{1}}}<22|<small>Categories:</small>}} | ! style="text-align:right;" | {{#ifexpr:{{{1}}}<22|<small>Categories:</small>}} | ||
Revision as of 10:48, 22 December 2016
| Millennium: | [[Template:Ordinal millennium|Template:Ordinal millennium]] |
|---|---|
| Centuries: |
|
| 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]] |
| Millennium: | [[Template:Ordinal millennium BC|Template:Ordinal millennium BC]] |
|---|---|
| Centuries: |
|
| 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
| The above documentation is transcluded from Template:Centurybox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |