Template:Infobox historical era: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(added presidents and prime ministers) |
m (129 revisions imported from wikipedia:Template:Infobox_historical_era) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox |
{{Infobox |
||
| |
| above = {{{name}}} |
||
| abovestyle = text-align:center;background-color:#ededed; |
|||
| subheader = {{{start}}}{{#if:{{#invoke:String|match|{{{start}}}{{{end}}}| |plain=true|nomatch=1}}|–| – }}{{{end}}} |
| subheader = {{{start}}}{{#if:{{#invoke:String|match|{{{start}}}{{{end}}}| |plain=true|nomatch=1}}|–| – }}{{{end}}} |
||
| subheaderstyle = |
| subheaderstyle = padding-bottom: 0.4em; border-bottom: 1px solid #aaa; font-weight: bold; |
||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}} |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}} |
||
| caption = {{{caption|}}} |
| caption = {{{caption|}}} |
||
| label1 = |
| label1 = Location |
||
| data1 = {{{ |
| data1 = {{{location|}}} |
||
| label2 = |
| label2 = Including |
||
| data2 = {{{ |
| data2 = {{{including|}}} |
||
| |
| label5 = Monarch(s) |
||
| |
| data5 = {{{monarch|}}} |
||
| |
| label6 = Leader(s) |
||
| |
| data6 = {{{leaders|}}} |
||
| |
| label7 = President(s) |
||
| |
| data7 = {{{presidents|}}} |
||
| |
| label8 = Prime Minister(s) |
||
| |
| data8 = {{{primeministers|}}} |
||
| |
| label9 = Key events |
||
| |
| data9 = {{{key_events|}}} |
||
| data10 = {{#if:{{{before|}}}{{{after|}}}| |
|||
{{{!}} style="width:100%;border-top: 1px solid #aaa;" |
|||
{{!}} style="width: 50%; padding: 0.2em 0.1em 0.2em 0; text-align: left;" {{!}} ← '''Preceded by'''<br />{{#if:{{{before|}}}|{{{before}}}|—}} |
|||
{{!}} style="width: 50%; padding: 0.2em 0 0.2em 0.1em; text-align: right;" {{!}} '''Followed by''' →<br />{{#if:{{{after|}}}|{{{after}}}|—}} |
|||
{{!}}} |
|||
}} |
|||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation|content= |
{{Documentation|content= |
||
{{Parameter names example|_template=Infobox historical era|name|start|end|image|alt|caption|before|including|after|monarch|leaders}} |
{{Parameter names example|_template=Infobox historical era|name|location|start|end|image|alt|caption|before|including|after|monarch|leaders|presidents|primeministers|key_events}} |
||
<pre _base="" style="overflow: auto;">{{Infobox historical era |
<pre _base="" style="overflow: auto;">{{Infobox historical era |
||
| name = |
| name = |
||
| location = |
|||
| start = |
| start = |
||
| end = |
| end = |
||
Line 37: | Line 45: | ||
| monarch = |
| monarch = |
||
| leaders = |
| leaders = |
||
| presidents = |
|||
| primeministers = |
|||
| key_events = |
|||
}}</pre> |
}}</pre> |
||
}} |
}} |
Latest revision as of 14:13, 10 September 2022
{{{name}}} | |
---|---|
{{{start}}}–{{{end}}} |
Template documentation
{{{name}}} | |||
---|---|---|---|
{{{start}}}–{{{end}}} | |||
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |||
Location | {{{location}}} | ||
Including | {{{including}}} | ||
Monarch(s) | {{{monarch}}} | ||
Leader(s) | {{{leaders}}} | ||
President(s) | {{{presidents}}} | ||
Prime Minister(s) | {{{primeministers}}} | ||
Key events | {{{key_events}}} | ||
|
{{Infobox historical era | name = | location = | start = | end = | image = | alt = | caption = | before = | including = | after = | monarch = | leaders = | presidents = | primeministers = | key_events = }}