Template:Centurybox: Difference between revisions

From BoyWiki
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Centurybox/{{Centurynum|adbc}}|n={{Centurynum|n}}}}<noinclude>
<includeonly>{| class="infobox" style="text-align:center; {{#ifeq:{{{float}}}|center|float: none; margin-left:auto; margin-right:auto;|{{#if:{{{float|}}}|float: {{{float}}}}}}}"
 
|- style="background:#f0f0f0"
<!-- put categories and & interwiki to /doc and not here! -->
! align="right" | <small>[[Millennium]]:</small>
| {{dr|c|m|{{{1}}}|0|s}}
|-
! align="right" | <small>[[Century (dictionary)|Centuries]]:</small>
| class="hlist" |
*{{dr|c|c|{{{1}}}|-1|ys}}
*{{dr|c|c|{{{1}}}|0|s}}
*{{dr|c|c|{{{1}}}|1|{{#ifeq:{{{1}}}|-1|ysa|ys}}}}
|- style="background:#f0f0f0"
! 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}}<br> {{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}}
|-
! align="right" | {{#ifexpr:{{{1}}}<23|<small>Categories:</small>}}
| [[:Category: births|Births]] – [[{{#ifexpr:{{{1}}}>0|{{ordinal|{{{1}}}}}-century|{{ordinal|{{#expr:-{{{1}}}}}}}-century BC}} deaths|Deaths]] <br>[[:Category:{{#ifexpr:{{{1}}}>0|{{ordinal|{{{1}}}}}-century|{{ordinal|{{#expr:-{{{1}}}}}}}-century BC}} establishments|Establishments]] – [[{{#ifexpr:{{{1}}}>0|{{ordinal|{{{1}}}}}-century|{{ordinal|{{#expr:-{{{1}}}}}}}-century BC}} disestablishments|Disestablishments]]
|}</includeonly> <noinclude>
[[Category:History and events navbox templates]]
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
[[Category:General wiki templates]]

Latest revision as of 15:23, 23 January 2016


BoyWiki Template documentation (for the above template, sometimes hidden or invisible)
Millennium: 1st millennium
Centuries:
Decades: 100s 110s 120s 130s 140s
150s 160s 170s 180s 190s
Categories: BirthsDeaths
EstablishmentsDisestablishments
Millennium: 1st millennium BC
Centuries:
Decades: 190s BC 180s BC 170s BC 160s BC 150s BC
140s BC 130s BC 120s BC 110s BC 100s BC
Categories: BirthsDeaths
EstablishmentsDisestablishments

This template produces a navigational box for a century, as illustrated for {{centurybox|2}} (for the 2nd century) and {{centurybox|-2}} (for the second century BC).

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

{{years in century}}

Visit Template:Centurybox/doc to edit this template's description!
Done making changes?   Refresh   Also see:  Portal:Template index  and   Help:Templates