Jump to content

Template:Government agency: Difference between revisions

From nUSA Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
<noinclude>{{Documentation}}</noinclude>
<!-- DO NOT FUCK WITH ANY OF THIS SHIT, IT WILL BREAK EVERYTHING -->
<includeonly>
 
{{#invoke:infobox|infoboxTemplate
{{#invoke:infobox|infoboxTemplate
|style        = width:{{#if:{{{width|}}}|{{{width}}}|17.5em}};
|style        = width:{{#if:{{{width|}}}|{{{width}}}|17.5em}};
|above        = <includeonly>{{{title1|{{{post}}}}}{{#if:{{{body|}}}| of {{{body}}}}}</includeonly>
|above        = <includeonly>{{{name|{{{post}}} <!--
|abovestyle  = font-size: 125%;  
              -->{{#if:{{{body|}}}
                  | of {{{body}}}
                }}
                }}}</includeonly>
|abovestyle  = font-size: 125%;
 
|subheader    = {{{native_name|}}}
|subheader    = {{{native_name|}}}
|subheaderstyle = font-size: 125%; font-weight: normal;
|subheaderstyle = font-size: 125%; font-weight: normal;
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image1|}}}|size={{{insigniasize|}}}|alt={{{insigniaalt|}}}|sizedefault=120px}}
 
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{insignia|}}}|size={{{insigniasize|}}}|alt={{{insigniaalt|}}}|sizedefault=120px}}
|imagestyle  = padding-bottom:0.4em; border-bottom:solid 1px #ccd2d9;
|imagestyle  = padding-bottom:0.4em; border-bottom:solid 1px #ccd2d9;
|caption      = {{{caption1|}}}
|caption      = {{{insigniacaption|}}}
 
|image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|size={{{flagsize|}}}|alt={{{flagalt|}}}|sizedefault=120px|border={{{flagborder|}}}}}
|image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|size={{{flagsize|}}}|alt={{{flagalt|}}}|sizedefault=120px|border={{{flagborder|}}}}}
|imagestyle2  = border-bottom:solid 1px #ccd2d9;
|imagestyle2  = border-bottom:solid 1px #ccd2d9;
|caption2    = {{{flagcaption|}}}
|caption2    = {{{flagcaption|}}}
|data1        = {{{incumbent|}}}
 
|label1      = Incumbent
|data1        = {{#if:{{{incumbent|}}}{{{image|}}}
|data2       = {{{type|}}}
            | <div style="padding-bottom:0.4em; <!--
|label2       = Type
                      -->border-bottom:solid 1px #ccd2d9; line-height:1.4em;"><!--
|data3       = {{{jurisdiction|}}}
              -->{{#if:{{{image|}}}
|label3       = Jurisdiction
                  | <div style="padding-bottom:0.4em;"><!--
|data4       = {{{headquarters|}}}
                      -->{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=frameless|alt={{{alt|}}}|border=yes|suppressplaceholder=yes}}</div>
|label4       = Headquarters
                  }}<!--
|data5       = {{{employees|}}}
              -->{{#if:{{{incumbent|}}}|'''{{{incumbentlabel|Incumbent}}}<br/>{{{incumbent}}}{{#ifeq:{{{Acting|{{{acting|}}}}}}|yes|&nbsp;([[Acting (law)|acting]])'''|{{#ifeq:{{{Acting|{{{acting|}}}}}}|y|&nbsp;([[Acting (law)|acting]])'''|'''}}}}<!--
|label5       = Employees
              -->{{#if:{{{incumbentsince|}}}
|data6       = {{{agency_executives|}}}
                  | <br/>since&nbsp;{{{incumbentsince}}}
|label6       = Agency Executives
                  }}|{{{imagecaption|}}}}}<!--
|data7       = {{{first_holder|}}}
          --></div><!--
|label7      = First Holder
        -->}}
|data8       = {{{formed|}}}
 
|label8      = Formed
<!-- Allow any additional data fields -->
|data9       = {{{preceding_agencies|}}}
|data2   = {{{department|}}}
|label9      = Preceding Agencies
|label2 = Department
</includeonly>
|data3   = {{{style|}}}
<noinclude>{{/Documentation}}</noinclude>
|label3 = Style
|data4   = {{{type|}}}
|label4 = Type
|data5   = {{{status|}}}
|label5 = Status
|data6   = {{{abbreviation|}}}
|label6 = Abbreviation
 
|label7  = Member of
|data7   = {{{member_of|{{{memberof|}}}}}}
|label8  = Reports to
|data8   = {{{reports_to|{{{reportsto|}}}}}}
|label9  = Residence
|data9   = {{{residence|}}}
|label10  = Seat
|data10  = {{{seat|}}}
|label11  = Nominator
|data11  = {{{nominator|}}}
|label12 = Appointer
|data12  = {{{appointer|}}}<!--
        -->{{#if:{{{appointer_qualified|}}}
          | <br />{{{appointer_qualified}}}
          }}
|label13  = Term length
|data13  = {{{termlength|}}}<!--
        -->{{#if:{{{termlength_qualified|}}}
          | <br />{{{termlength_qualified}}}
          }}
|label14 = Constituting instrument
|data14  = {{{constituting_instrument|}}}
|label15 = Precursor
|data15  = {{{precursor|}}}
|label16 = Inaugural holder
|data16  = {{{inaugural|}}}
|label17 = Formation
|data17  = {{{formation|}}}
|label18 = First holder
|data18  = {{{first|}}}
|label19 = Final holder
|data19  = {{{last|}}}
|label20 = Abolished
|data20  = {{{abolished|}}}
|label21 = <span class="nowrap">Superseded by</span>
|data21  = {{{superseded_by|}}}
|label22 = Succession
|data22  = {{{succession|}}}
|label23 = Unofficial names
|data23  = {{{unofficial_names|}}}
|label24 = Deputy
|data24  = {{{deputy|}}}
|label25 = Salary
|data25  = {{{salary|}}}
|label26 = Website
|data26  = {{{website|}}}
 
<!-- For extra fields -->
{{#foreach:{{{extraFields|}}}|field|value|
  |label{{field}} = {{field}}
  |data{{field}} = {{value}}
}}
 
|header27 = {{{footnotes_title|}}}
|data28  = {{{footnotes|}}}
}}

Revision as of 01:59, 9 January 2025


Website{{#foreach:|field|value|
 |labelTemplate:Field = Template:Field
 |dataTemplate:Field = Template:Value
}}