Template:Infobox historical era: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by one other user 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}} | ||
< | <syntaxhighlight lang="wikitext" _base="" style="overflow: auto;">{{Infobox historical era | ||
| name = | | name = | ||
| start = | | location = | ||
| end = | | start = | ||
| image = | | end = | ||
| alt = | | image = | ||
| caption = | | alt = | ||
| before = | | caption = | ||
| before = | |||
| including = | | including = | ||
| after = | | after = | ||
| monarch = | | monarch = | ||
| leaders = | | leaders = | ||
}}</ | | presidents = | ||
| primeministers = | |||
| key_events = | |||
}}</syntaxhighlight> | |||
}} | }} | ||
[[Category:History and events infobox templates]] | [[Category:History and events infobox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:46, 4 August 2023
{{{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 =
}}