Misplaced Pages

Template:Infobox historical era: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 23:56, 6 May 2020 editTonkarLike (talk | contribs)Extended confirmed users1,403 editsNo edit summaryTags: Mobile edit Mobile web edit Advanced mobile edit← Previous edit Latest revision as of 20:15, 14 November 2024 edit undoMatrix (talk | contribs)Extended confirmed users, Rollbackers, Template editors5,452 edits dark mode optimisations 
(48 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Infobox {{Infobox
| title = {{{name}}} | above = {{{name}}}
| abovestyle = text-align:center;background-color:#ededed;


| subheader = {{{year_start}}}–{{{year_end}}} | subheader = {{{start}}}{{#if:{{#invoke:String|match|{{{start}}}{{{end}}}| |plain=true|nomatch=1}}|| – }}{{{end}}}
| subheaderstyle = padding-top: 0.4em; padding-bottom: 0.4em; border-bottom: 1px solid #aaa; font-weight: bold; | 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|}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|upright={{{image_upright2|1}}}|alt={{{alt2|}}}}}
| caption2 = {{{caption2|}}}


| label1 = Including | label1 = Location
| data1 = {{{including|}}} | data1 = {{{location|}}}
| label2 = Preceded by | label2 = Including
| data2 = {{{before|}}} | data2 = {{{including|}}}
| label3 = Followed by | label3 = {{#if:{{{monarch title|}}}|{{{monarch title}}}|Monarch(s)}}
| data3 = {{{after|}}} | data3 = {{{monarch|}}}
| label4 = Capital | label4 = {{#if:{{{leader title|}}}|{{{leader title}}}|Leader(s)}}
| data4 = {{{capital|}}} | data4 = {{#if:{{{leader|}}}|{{{leader}}}|{{{leaders|}}}}}
| label5 = Capital-in-exile | label5 = President(s)
| data5 = {{{capital_exile|}}} | data5 = {{{presidents|}}}
| label6 = Common languages | label6 = Prime Minister(s)
| data6 = {{{common_languages|}}} | data6 = {{{primeministers|}}}
| label7 = Government | label7 = Key events
| data7 = {{{government_type|}}} | data7 = {{{key_events|}}}

| label8 = Title
| below = {{#if:{{{before|}}}{{{after|}}}|'''Chronology''' <br><table style="background:var(--background-color-neutral, #eaecf0); color: inherit; border-top: 1px solid #aaa;" width="100%">
| data8 = {{{title|}}}
<tr>
| label10 = Historical era
<td width="50%" style="text-align:left;">{{#if:{{{before|}}} |
| data10 = {{{era|}}}
] {{#if:{{{before|}}} | {{{before|}}}}}}}</td>
<td width="50%" style="text-align:right;">{{#if:{{{after|}}} | {{#if:{{{after|}}} | {{{after|}}} | {{{next|}}}}} ]}}</td>
</tr></table>}}

}}<noinclude> }}<noinclude>
{{Documentation|content= {{Documentation|content=
{{Parameter names example|_template=Infobox historical era|name|year_start|year_end|image|image2|alt|caption|caption2|before|including|after|capital|capital_exile|common_languages|government_type|title|era}} {{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 <syntaxhighlight lang="wikitext" _base="" style="overflow: auto;">{{Infobox historical era
| name = | name =
| year_start = | location =
| year_end = | start =
| image = | end =
| alt = | image =
| alt2 = | alt =
| caption = | caption =
| caption2 = | before =
| before =
| including = | including =
| after = | after =
| capital = | monarch =
| capital_exile = | leaders =
| presidents =
| common_languages =
| primeministers =
| government_type =
| title = | key_events =
}}</syntaxhighlight>
| era =
}}</pre>
}} }}
] ]

Latest revision as of 20:15, 14 November 2024

{{{name}}}
{{{start}}}–{{{end}}}
Template documentation
{{{name}}}
{{{start}}}–{{{end}}}
]{{{caption}}}
Location{{{location}}}
Including{{{including}}}
Monarch(s){{{monarch}}}
Leader(s){{{leaders}}}
President(s){{{presidents}}}
Prime Minister(s){{{primeministers}}}
Key events{{{key_events}}}
Chronology
{{{before}}} {{{after}}} class-skin-invert-image
{{Infobox historical era
| name      = 
| location  =
| start     = 
| end       = 
| image     = 
| alt       = 
| caption   = 
| before    = 
| including = 
| after     = 
| monarch   = 
| leaders   = 
| presidents = 
| primeministers = 
| key_events =
}}
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Subpages of this template. Categories: