Template:Infobox historical era: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
No edit summary
 
Line 1: Line 1:
{{Infobox
{{Infobox
| title          = {{{name}}}
| 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 = 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|}}}


| label1        = Including
| label1        = Location
|  data1        = {{{including|}}}
|  data1        = {{{location|}}}
| label2        = Preceded by
| label2        = Including
|  data2        = {{{before|}}}
|  data2        = {{{including|}}}
| label3         = Followed by
| label5        = Monarch(s)
data3         = {{{after|}}}
|  data5        = {{{monarch|}}}
| label4         = Monarch(s)
| label6         = Leader(s)
data4         = {{{monarch|}}}
data6         = {{{leaders|}}}
| label5         = Leader(s)
| label7         = President(s)
data5         = {{{leaders|}}}
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;" {{!}} ←&nbsp;'''Preceded by'''<br />{{#if:{{{before|}}}|{{{before}}}|&mdash;}}
{{!}} style="width: 50%; padding: 0.2em 0 0.2em 0.1em; text-align: right;" {{!}} '''Followed by'''&nbsp;→<br />{{#if:{{{after|}}}|{{{after}}}|&mdash;}}
{{!}}}
}}
}}<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
<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   =
}}</pre>
| 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}}}