Template:Infobox official post: Difference between revisions

Content deleted Content added
Use default image size for portrait image. Increase insigniasize from 100px to 120px.
Tretrid (talk | contribs)
mNo edit summary
 
(85 intermediate revisions by 32 users not shown)
Line 1:
{{#invoke:infobox|infoboxTemplate
{{Infobox
|style = width:{{#if:{{{width|}}}|{{{width}}}|17.5em}};
 
|above = <includeonly>{{{name|{{{post}}} <!--
-->{{#if:{{{body|}}}
| of {{{body}}}
}}
<br/>{{{nativename|}}}
}}}</includeonly>
|abovestyle = line-height:1.2em; font-size:135 125%;
 
|subheader = {{{native_name|}}}
|abovestyle = line-height:1.2em; font-size:135%;
|subheaderstyle = font-size: 125%; font-weight: normal;
|image = {{#if:{{{insignia|}}}
 
| [[Image:{{{insignia}}}|{{px|{{{insigniasize|}}}|120px}}]]
 
}}
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{insignia|}}}|size={{{insigniasize|}}}|alt={{{insigniaalt|}}}|sizedefault=120px}}
|imagestyle = padding-bottom:0.4em; border-bottom:solid 1px #ccd2d9;
|caption = {{#if:{{{insigniacaption|}}}
| '''{{{insigniacaption}}}'''<br/>{{{department|}}}
}}
|captionstyle = padding-top:0.2em;
|labelstyle = padding:0 0.5em 0 0; background:transparent; line-height:1.2em;
|datastyle = padding:0; line-height:1.2em; vertical-align:middle;
 
|image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|size={{{flagsize|}}}|alt={{{flagalt|}}}|sizedefault=120px|border={{{flagborder|}}}}}
|data1 = {{#if:{{{incumbent|}}}
|imagestyle2 = border-bottom:solid 1px #ccd2d9;
|caption2 = {{{flagcaption|}}}
 
|data1 = {{#if:{{{incumbent|}}}{{{image|}}}
| <div style="padding-bottom:0.4em; <!--
-->border-bottom:solid 1px #ccd2d9; line-height:1.4em;"><!--
-->{{#if:{{{image|}}}
| <div style="padding-bottom:0.4em;"><!--
-->[[File{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|center|border|{{px|size={{{imagesize|}}}|sizedefault=frameless}}|alt={{{alt|}}}]]|border=yes|suppressplaceholder=yes}}</div>
}}<!--
-->{{#if:{{{incumbent|}}}|'''{{{incumbentlabel|Incumbent}}}<br/>{{{incumbent}}}'''<br/><!--
-->{{#ifeq:{{{Acting|{{{acting|}}}}}}|yes|[[w:Acting (law)|Acting]]'''&nbsp;|{{#ifeq:{{{Acting|{{{acting|}}}}}}|y|[[w:Acting (law)|Acting]]'''&nbsp;|'''}}}}<!--
-->{{#if:{{{incumbentsince|}}}
| <br/><small>since&nbsp;{{{incumbentsince}}}</small>
}}|{{{imagecaption|}}}}}<!--
--></div><!--
-->}}
|data2 = {{{styledepartment|}}}
|label2label3 = [[w:Style (mannerform of address)|Style]]
|data2 = {{{style|}}}
|data3 = {{{residencestyle|}}}
|label3 = [[Official residence|Residence]]
|label4 = Type
|data3 = {{{residence|}}}
|label4data4 = Nominator{{{type|}}}
|label5 = AppointerStatus
|data4 = {{{nominator|}}}<!--
|data5 = -->{{#if:{{{nominatorpoststatus|}}}
|label6 = Abbreviation
| <div style="padding-top:0.2em; font-size:80%;">as {{{nominatorpost}}}</div>
|data6 = {{{abbreviation|}}}
 
|label7 = InauguralMember holderof
|data7 = {{{member_of|{{{memberof|}}}}}}
|label8 = FormationReports to
|data8 = {{{reports_to|{{{reportsto|}}}}}}
|label3label9 = [[w:Official residence|Residence]]
|data9 = {{{residence|}}}
|label10 = [[w:Seat (legal entity)|Seat]]
|data10 = {{{seat|}}}
|label11 = AbolishedNominator
|data4data11 = {{{nominator|}}}<!--
|label12 = SuccessionAppointer
|data12 = {{{appointer|}}}<!--
|image = -->{{#if:{{{insigniaappointer_qualified|}}}
| <br />{{{nativename|appointer_qualified}}}
}}
|label6label13 = [[w:Term of office|Term length]]
|label5 = Appointer
|data5data13 = {{{appointertermlength|}}}<!--
-->{{#if:{{{appointerposttermlength_qualified|}}}
| <divbr style="padding-top:0.2em; font-size:80%;"/>as {{{appointerposttermlength_qualified}}}</div>
}}
|label14 = Constituting instrument
|label6 = [[Term of office|Term length]]
|data6 data14 = {{{termlengthconstituting_instrument|}}}
|label15 = WebsitePrecursor
|label7 = Inaugural holder
|data7 data15 = {{{inauguralprecursor|}}}
|label9 label16 = FirstInaugural holder
|label8 = Formation
|data8 data16 = {{{formationinaugural|}}}
|label17 = Formation
|label9 = First holder
|data9 data17 = {{{firstformation|}}}
|label10label18 = FinalFirst holder
|data10data18 = {{{lastfirst|}}}
|label19 = Final holder
|label11 = Abolished
|data11data19 = {{{abolishedlast|}}}
|label20 = Abolished
|label12 = Succession
|data12data20 = {{{successionabolished|}}}
|label21 = <span class="nowrap">Superseded by</span>
|label13 = Deputy
|data13data21 = {{{deputysuperseded_by|}}}
|label22 = Succession
|label14 = Salary
|data14data22 = {{{salarysuccession|}}}
|label23 = Unofficial names
|label15 = Website
|data15data23 = {{{websiteunofficial_names|}}}
|label13label24 = Deputy
}}<noinclude>
|data24 = {{{deputy|}}}
|label14label25 = Salary
|data25 = {{{salary|}}}
|label26 = Website
|data26 = {{{website|}}}
|header27 = {{{footnotes_title|}}}
|data28 = {{{footnotes|}}}
}}{{#if:{{{footnotes_title|}}}|[[Category:Pages using infobox official post with footnotes title]]}}<noinclude>
{{documentation}}
<!---Please add metadata (categories, interwikis) to the <includeonly> section at the
 
section at the bottom of [[Template:Infobox Political post/doc]],
<!---Please add metadata (categories, interwikis) to the <includeonly>
section at the bottom of [[Template:Infobox Political post/doc]],
not here - thanks!--->
</noinclude>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox official post with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox official post]] with unknown parameter "_VALUE_"|ignoreblank=y| abbreviation | abolished | acting | Acting | alt | appointer | appointer_qualified | body | constituting_instrument | department | deputy | first | flag | flagalt | flagborder | flagcaption | flagsize | footnotes | footnotes_title | formation | image | imagecaption | imagesize | inaugural | incumbent | incumbentlabel | incumbentsince | insignia | insigniaalt | insigniacaption | insigniasize | last | member_of | memberof | name | native_name | nominator | post | precursor | reports_to | reportsto | residence | salary | seat | status | style | succession | superseded_by | termlength | termlength_qualified | type | unofficial_names | website | width }}
</noinclude>