Template:Infobox incumbency: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
}}
}}
|-
|-
! colspan="2" style="text-align:center; color:#212121; background:#FFFFFF; font-size:150%;" | {{{name|<font color="black" size=4px>{{{title}}}</font>}}}
! colspan="3" style="text-align:center; color:#212121; background:#FFFFFF; font-size:150%;" | {{{name|<font color="black" size=4px>{{{title}}}</font>}}}
|- style="text-align:center;"
|- style="text-align:center;"
|-
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#212121; background:#FFFFFF;" | {{{termstart|}}}–{{{termend|}}}
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#212121; background:#FFFFFF;" | {{{termstart|}}}–{{{termend|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{headofstateTitle|}}}| |display: none;}}" valign="top" |'''{{{headofstateTitle}}}'''
| style="{{#if:{{{headofstateTitle|}}}| |display: none;}}" valign="top" |'''{{{headofstateTitle}}}'''
Line 47: Line 47:
|-
|-
{{#if:{{{image2<includeonly>|</includeonly>}}} |
{{#if:{{{image2<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image2}}}
{{!}} colspan="3" style="text-align:center;background-color:#;" {{!}}{{{image2}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
! colspan="2" style="{{#if:{{{image2caption|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#212121; background:#FFFFFF;" | {{{image2caption|}}}
! colspan="3" style="{{#if:{{{image2caption|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#212121; background:#FFFFFF;" | {{{image2caption|}}}
|}
|}
|}
|}

Revision as of 23:37, 26 October 2022

{{{image1}}}
{{{title}}}
{{{headofstateTitle}}}
'
Cabinet
Party
Election
Nominated by
Appointed by
Seat
{{{predecessor}}} {{{successor}}}
{{{image2}}}

Example usage:

{{Infobox_incumbency
|color=Example
|title=Example
|image1=Example
|termstart=Example
|termend=Example
|headofstateTitle=Example
|headofstate=Example
|headofgovtTitle=Example
|headofgovt=Example
|cabinet=Example
|party=Example
|election=Example
|nominator=Example
|appointer=Example
|seat=Example
|predecessor=Example
|successor=Example
|image2=Example
|image2caption=Example
}}