Difference between revisions of "Template:Infobox Government Official"

From NSWiki
Jump to: navigation, search
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|style        = width:{{#if:{{{width|}}}|{{{width}}}|17.5em}};
+
| above      = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAME}}</includeonly>}}
|above        = <includeonly>{{{name|{{{post}}} <!--
+
| abovestyle = color:#F9F9F9; background-color:#4F7942;
              -->{{#if:{{{body|}}}
+
| headerstyle = background-color:#C0C0C0
                  | of {{{body}}}
+
                }}
+
                {{#if:{{{nativename|}}}|<br/>{{{nativename}}}}}
+
                }}}</includeonly>
+
|abovestyle   = line-height:1.2em; font-size:135%
+
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|size={{{flagsize|}}}|sizedefault=120px|border={{{flagborder|}}}}}
+
|imagestyle  = padding-bottom:0.4em; border-bottom:solid 1px #ccd2d9;
+
|caption      = {{{flagcaption|}}}
+
  
|abovestyle  = line-height:1.2em; font-size:135%;
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=0.40|alt={{{image_alt|}}}}}
|image2       = {{#invoke:InfoboxImage|InfoboxImage|image={{{insignia|}}}|size={{{insigniasize|}}}|sizedefault=120px}}
+
| caption    = {{{caption|}}}
|imagestyle2  = padding-bottom:0.4em; border-bottom:solid 1px #ccd2d9;
+
| image2     = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image2_size|}}}|sizedefault=frameless|upright=1.16|alt={{{image2_alt|}}}}}
|caption2    = {{{insigniacaption|}}}
+
| caption2  = {{{caption2|}}}
 +
| image3    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image3|}}}|size={{{image3_size|}}}|sizedefault=frameless|upright=1.16|alt={{{image3_alt|}}}}}
 +
| caption3  = {{{caption3|}}}
  
|captionstyle = padding-top:0.2em;
+
| label1 = Type
|labelstyle  = padding:0; background:transparent; line-height:1.2em;
+
| data1 = {{{type|}}}
|datastyle    = padding:0; line-height:1.2em;
+
| label2 = Command
 +
| data2 = {{{command|}}}
 +
| label3 = Eligibility
 +
| data3 = {{{eligibility|}}}
 +
| label4 = Status
 +
| data4 = {{{status|}}}
 +
| label5 = Grades
 +
| data5 = {{{grades|}}}
 +
| label6 = Abbreviation
 +
| data6 = {{{abbreviation|}}}
  
|data1  = {{#if:{{{incumbent|}}}{{{image|}}}
+
| header7 = {{#if:{{{higher|}}}{{{same|}}}{{{lower|}}}{{{same|}}}{{{related|}}}{{{individual|}}}|Precedence}}
            | <div style="padding-bottom:0.4em; <!--
+
| label8 = Next&nbsp;(higher)
                      -->border-bottom:solid 1px #ccd2d9; line-height:1.4em;"><!--
+
| data8 = {{{higher|}}}
              -->{{#if:{{{image|}}}
+
| label9 = Next&nbsp;(lower)
                  | <div style="padding-bottom:0.4em;"><!--
+
| data9 = {{{lower|}}}
                      -->{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=frameless|alt={{{alt|}}}|border=yes|suppressplaceholder=yes}}</div>
+
| label10 = Same
                  }}<!--
+
| data10 = {{{same|}}}
              -->{{#if:{{{incumbent|}}}|'''Incumbent<br/>{{{incumbent}}}'''<!--
+
| label11 = Related
              -->{{#if:{{{incumbentsince|}}}
+
| data11 = {{{related|}}}
                  | <br/><small>since&nbsp;{{{incumbentsince}}}</small>
+
                  }}|{{{imagecaption|}}}}}<!--
+
          --></div><!--
+
        -->}}
+
|data2  = {{{department|}}}
+
|label3  = [[Style (manner of address)|Style]]
+
|data3  = {{{style|}}}
+
|label4  = Abbreviation
+
|data4  = {{{abbreviation|}}}
+
 
+
|label5  = Member of
+
|data5  = {{{member_of|{{{memberof|}}}}}}
+
|label6  = Reports to
+
|data6  = {{{reports_to|{{{reportsto|}}}}}}
+
|label7  = [[Official residence|Residence]]
+
|data7  = {{{residence|}}}
+
|label8  = [[Seat (legal entity)|Seat]]
+
|data8  = {{{seat|}}}
+
|label9  = Nominator
+
|data9   = {{{nominator|}}}
+
|label10 = Appointer
+
|data10 = {{{appointer|}}}<!--
+
        -->{{#if:{{{appointer_qualified|}}}
+
          | <div style="padding-top:0.2em; font-size:80%;">{{{appointer_qualified}}}</div>
+
          }}
+
|label11 = [[Term of office|Term length]]
+
|data11   = {{{termlength|}}}<!--
+
-->{{#if:{{{termlength_qualified|}}}
+
          | <div style="padding-top:0.2em; font-size:80%;">{{{termlength_qualified}}}</div>
+
          }}
+
|label12 = Constituting instrument
+
|data12  = {{{constituting_instrument|}}}
+
|label13 = Precursor
+
|data13  = {{{precursor|}}}
+
|label14 = Inaugural holder
+
|data14  = {{{inaugural|}}}
+
|label15 = Formation
+
|data15  = {{{formation|}}}
+
|label16 = Founder
+
|data16  = {{{founder|}}}
+
|label17 = Named&nbsp;for
+
|data17  = {{{named_for|}}}
+
|label18 = First holder
+
|data18  = {{{first|}}}
+
|label19 = Final holder
+
|data19  = {{{last|}}}
+
|label20 = Abolished
+
|data20  = {{{abolished|}}}
+
|label21 = Succession
+
|data21  = {{{succession|}}}
+
|label22 = Unofficial names
+
|data22  = {{{unofficial_names|}}}
+
|label23 = Deputy
+
|data23  = {{{deputy|}}}
+
|label24 = Salary
+
|data24  = {{{salary|}}}
+
|label25 = Website
+
|data25  = {{{website|}}}
+
 
}}<noinclude>
 
}}<noinclude>
{{Being merged|2014 June 2|merge=Template:Infobox CF rank}}
 
 
{{documentation}}
 
{{documentation}}
<!---Please add categories to the <includeonly> section at the
 
    bottom of [[Template:Infobox Political post/doc]],
 
    not here - thanks!--->
 
 
</noinclude>
 
</noinclude>

Revision as of 19:24, 9 October 2014

Documentation icon Template documentation[create]