Template:Infobox incumbency: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
|-
|-
{{#if:{{{image1<includeonly>|</includeonly>}}} |
{{#if:{{{image1<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
{{!}} colspan="3" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
! 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}}}'''
| style="{{#if:{{{headofstate|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{headofstate|}}}
| colspan="2" style="{{#if:{{{headofstate|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{headofstate|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{headofgovtTitle|}}}| |display: none;}}" valign="top" |'''{{{headofgovtTitle|}}}'''
| style="{{#if:{{{headofgovtTitle|}}}| |display: none;}}" valign="top" |'''{{{headofgovtTitle|}}}'''
| style="{{#if:{{{headofgovt|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{headofgovt|}}}
| colspan="2" style="{{#if:{{{headofgovt|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{headofgovt|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{cabinet|}}}| |display: none;}}" valign="top" |'''Cabinet'''
| style="{{#if:{{{cabinet|}}}| |display: none;}}" valign="top" |'''Cabinet'''
| style="{{#if:{{{cabinet|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{cabinet|}}}
| colspan="2" style="{{#if:{{{cabinet|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{cabinet|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{party|}}}| |display: none;}}" valign="top" |'''Party'''
| style="{{#if:{{{party|}}}| |display: none;}}" valign="top" |'''Party'''
| style="{{#if:{{{party|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{party|}}}
| colspan="2" style="{{#if:{{{party|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{party|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{election|}}}| |display: none;}}" valign="top" |'''Election'''
| style="{{#if:{{{election|}}}| |display: none;}}" valign="top" |'''Election'''
| style="{{#if:{{{election|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{election|}}}
| colspan="2" style="{{#if:{{{election|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{election|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{nominator|}}}| |display: none;}}" valign="top" |'''Nominated by'''
| style="{{#if:{{{nominator|}}}| |display: none;}}" valign="top" |'''Nominated by'''
| style="{{#if:{{{nominator|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nominator|}}}
| colspan="2" style="{{#if:{{{nominator|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nominator|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{appointer|}}}| |display: none;}}" valign="top" |'''Appointed by'''
| style="{{#if:{{{appointer|}}}| |display: none;}}" valign="top" |'''Appointed by'''
| style="{{#if:{{{appointer|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{appointer|}}}
| colspan="2" style="{{#if:{{{appointer|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{appointer|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{seat|}}}| |display: none;}}" valign="top" |'''Seat'''
| style="{{#if:{{{seat|}}}| |display: none;}}" valign="top" |'''Seat'''
| style="{{#if:{{{seat|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{seat|}}}
| colspan="2" style="{{#if:{{{seat|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{seat|}}}
|-
|-
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{predecessor|}}}|}}" valign="top" align="left" |'''←''' {{{predecessor}}}
| style="{{#if:{{{predecessor|}}}| |display: none;}}" valign="top" |'''←'''
!
| style="{{#if:{{{predecessor|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{predecessor|}}}
| style="{{#if:{{{successor|}}}|}}" valign="top" align="right" |{{{successor}}} '''→'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|-
| style="{{#if:{{{successor|}}}| |display: none;}}" valign="top" |'''→'''
{{#if:{{{image2<includeonly>|</includeonly>}}} |
| style="{{#if:{{{successor|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{successor|}}}
{{!}} colspan="3" style="text-align:center;background-color:#;" {{!}}{{{image2}}}
{{!}}-
}}
|-
! colspan="3" style="{{#if:{{{image2caption|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#212121; background:#FFFFFF;" | {{{image2caption|}}}
|}
|}
|}
|}
Line 66: Line 70:
|predecessor=Example
|predecessor=Example
|successor=Example
|successor=Example
|image2=Example
|image2caption=Example
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 23:40, 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
}}