Template:Centurybox: Difference between revisions
From BoyWiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | <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" | |||
! align="right" | <small>[[Millennium]]:</small> | |||
| {{dr|c|m|{{{1}}}|0|s}} | |||
|- | |||
! align="right" | <small>[[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>}} | |||
| {{#ifexpr:{{{1}}}<23|[[:Category:{{#ifexpr:{{{1}}}>0|{{ordinal|{{{1}}}}}-century|{{ordinal|{{#expr:-{{{1}}}}}}}-century BC}} births|Births]] – [[:Category:{{#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]] – [[:Category:{{#ifexpr:{{{1}}}>0|{{ordinal|{{{1}}}}}-century|{{ordinal|{{#expr:-{{{1}}}}}}}-century BC}} disestablishments|Disestablishments]]}} | |||
|}</includeonly> <noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 17:40, 2 February 2013
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: | Births – Deaths Establishments – Disestablishments |
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: | Births – Deaths Establishments – Disestablishments |
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