Template:Infobox official post: Difference between revisions

From nUSA Wiki Archive
Jump to navigation Jump to search
No edit summary
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatedata>
<!-- DO NOT FUCK WITH ANY OF THIS SHIT, IT WILL BREAK EVERYTHING -->
{
 
"params": {
{{#invoke:infobox|infoboxTemplate
"post": {
|style        = width:{{#if:{{{width|}}}|{{{width}}}|17.5em}};
"label": "Post",
 
"description": "Name of the post, do not include links",
|above        = <includeonly>{{{name|{{{post}}} <!--
"example": "President",
              -->{{#if:{{{body|}}}
"type": "string",
                  | of {{{body}}}
"required": true,
                }}
"aliases": [
                }}}</includeonly>
"name"
|abovestyle  = font-size: 125%;
]
 
},
|subheader    = {{{native_name|}}}
"body": {
|subheaderstyle = font-size: 125%; font-weight: normal;
"label": "Body",
 
"description": "Name of the body which the post is for",
 
"example": "the European Commission",
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{insignia|}}}|size={{{insigniasize|}}}|alt={{{insigniaalt|}}}|sizedefault=120px}}
"type": "string",
|imagestyle  = padding-bottom:0.4em; border-bottom:solid 1px #ccd2d9;
"suggested": true
|caption      = {{{insigniacaption|}}}
},
 
"native_name": {
|image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|size={{{flagsize|}}}|alt={{{flagalt|}}}|sizedefault=120px|border={{{flagborder|}}}}}
"label": "Native name",
|imagestyle2  = border-bottom:solid 1px #ccd2d9;
"type": "line",
|caption2    = {{{flagcaption|}}}
"description": "For non-English speaking countries, the native name of the post",
 
"example": "{{lang|zh-hans|中华人民共和国主席}}"
|data1  = {{#if:{{{incumbent|}}}{{{image|}}}
},
            | <div style="padding-bottom:0.4em; <!--
"flag": {
                      -->border-bottom:solid 1px #ccd2d9; line-height:1.4em;"><!--
"label": "Flag image",
              -->{{#if:{{{image|}}}
"description": "A flag, positional color, or command sign associated with this post, if any",
                  | <div style="padding-bottom:0.4em;"><!--
"type": "wiki-file-name"
                      -->{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=frameless|alt={{{alt|}}}|border=yes|suppressplaceholder=yes}}</div>
},
                  }}<!--
"flagsize": {
              -->{{#if:{{{incumbent|}}}|'''{{{incumbentlabel|Incumbent}}}<br/>{{{incumbent}}}{{#ifeq:{{{Acting|{{{acting|}}}}}}|yes|&nbsp;([[Acting (law)|acting]])'''|{{#ifeq:{{{Acting|{{{acting|}}}}}}|y|&nbsp;([[Acting (law)|acting]])'''|'''}}}}<!--
"label": "Flag size",
              -->{{#if:{{{incumbentsince|}}}
"example": "150px",
                  | <br/>since&nbsp;{{{incumbentsince}}}
"description": "Size of the flag",
                  }}|{{{imagecaption|}}}}}<!--
"type": "string"
          --></div><!--
},
        -->}}
"flagborder": {
|data2  = {{{department|}}}
"label": "Flag border",
|label3  = Style
"description": "Set to yes or no",
|data3  = {{{style|}}}
"example": "yes",
|label4  = Type
"type": "string"
|data4  = {{{type|}}}
},
|label5  = Status
"flagcaption": {
|data5  = {{{status|}}}
"label": "Flag caption",
|label6  = Abbreviation
"type": "content",
|data6  = {{{abbreviation|}}}
"description": "A caption for the flag image"
 
},
|label7  = Member of
"insignia": {
|data7  = {{{member_of|{{{memberof|}}}}}}
"label": "Insignia image",
|label8  = Reports to
"type": "wiki-file-name",
|data8  = {{{reports_to|{{{reportsto|}}}}}}
"description": "Official insignia of the post",
|label9  = Residence
"example": "Seal of the United States Department of the Treasury.svg"
|data9  = {{{residence|}}}
},
|label10  = Seat
"insigniasize": {
|data10  = {{{seat|}}}
"label": "Insignia size",
|label11  = Nominator
"example": "150px",
|data11  = {{{nominator|}}}
"description": "Size of the insignia image",
|label12 = Appointer
"type": "string"
|data12  = {{{appointer|}}}<!--
},
        -->{{#if:{{{appointer_qualified|}}}
"insigniacaption": {
          | <br />{{{appointer_qualified}}}
"label": "Insignia caption",
          }}
"type": "string",
|label13  = Term length
"description": "Description of the official insignia of the post",
|data13  = {{{termlength|}}}<!--
"example": "Seal of the Department of the Treasury"
        -->{{#if:{{{termlength_qualified|}}}
},
          | <br />{{{termlength_qualified}}}
"image": {
          }}
"label": "Image",
|label14 = Constituting instrument
"type": "wiki-file-name",
|data14  = {{{constituting_instrument|}}}
"description": "A picture of the incumbent of this post",
|label15 = Precursor
"example": "Steven Mnuchin official photo (cropped).jpg",
|data15  = {{{precursor|}}}
"suggested": true
|label16 = Inaugural holder
},
|data16  = {{{inaugural|}}}
"imagesize": {
|label17 = Formation
"label": "Image size",
|data17  = {{{formation|}}}
"example": "150px",
|label18 = First holder
"description": "Size of the image, in px format",
|data18  = {{{first|}}}
"type": "string"
|label19 = Final holder
},
|data19  = {{{last|}}}
"alt": {
|label20 = Abolished
"label": "Alt text",
|data20  = {{{abolished|}}}
"description": "Alt text for image",
|label21 = <span class="nowrap">Superseded by</span>
"type": "string"
|data21  = {{{superseded_by|}}}
},
|label22 = Succession
"imagecaption": {
|data22  = {{{succession|}}}
"label": "Image caption",
|label23 = Unofficial names
"description": "Caption for image",
|data23  = {{{unofficial_names|}}}
"type": "string"
|label24 = Deputy
},
|data24  = {{{deputy|}}}
"incumbent": {
|label25 = Salary
"label": "Incumbent",
|data25  = {{{salary|}}}
"type": "line",
|label26 = Website
"description": "The name of the person who currently holds this role",
|data26  = {{{website|}}}
"example": "[[Steven Mnuchin]]",
|header27 = {{{footnotes_title|}}}
"suggested": true
|data28  = {{{footnotes|}}}
},
}}
"acting": {
"label": "Acting",
"description": "Set to y or yes if the incumbent is acting",
"example": "yes",
"aliases": [
"Acting"
]
},
"incumbentsince": {
"label": "Incumbent since",
"description": "Date incumbent took office",
"type": "string"
},
"type": {
"label": "Type",
"type": "string"
},
"status": {
"label": "Status",
"type": "string"
},
"department": {
"label": "Department",
"description": "Entity this official heads or is part of",
"type": "string"
},
"style": {
"label": "Style",
"description": "Manner of address",
"example": "Mister Secretary",
"type": "string"
},
"member_of": {
"label": "Member of",
"description": "Group that this post is a part of",
"example": "Cabinet",
"type": "string",
"aliases": [
"memberof"
]
},
"reports_to": {
"label": "Reports to",
"description": "Immediate superior of this post",
"example": "The President",
"type": "string",
"aliases": [
"reportsto"
]
},
"residence": {
"label": "Residence",
"description": "Name of official residence",
"type": "string"
},
"seat": {
"label": "Seat",
"description": "Location of office",
"type": "string",
"example": "[[Washington, D.C.]]"
},
"nominator": {
"label": "Nominator",
"description": "Name of post or body, not incumbent",
"type": "string"
},
"appointer": {
"label": "Appointer",
"description": "Name of the post or body that appoints this position, not the incumbent",
"type": "string",
"example": "The [[President of the United States|President]]"
},
"appointer_qualified": {
"label": "Appointer qualification",
"example": "with [[United States Senate|Senate]] [[advice and consent]]",
"description": "A qualification message displayed under the name of the appointing office or body",
"type": "line"
},
"termlength": {
"label": "Term length",
"type": "string",
"description": "the length of a term of this official post",
"example": "4 years"
},
"termlength_qualified": {
"label": "Term length qualification",
"description": "A qualification message displayed under the length of terms",
"example": "No restriction on renewal",
"type": "line"
},
"constituting_instrument": {
"label": "Constituting instrument",
"description": "The official document(s) which provide the formal legal basis for the post",
"type": "string"
},
"precursor": {
"label": "Precursor",
"description": "Immediate precursor post",
"type": "string"
},
"formation": {
"label": "Date of formation",
"description": "Date of the creation of the post or the first officeholder taking office",
"type": "string"
},
"first": {
"label": "First holder",
"description": "The first person to hold this post",
"type": "string"
},
"last": {
"label": "Last holder",
"description": "The last person to hold this post",
"type": "string"
},
"abolished": {
"label": "Abolished",
"description": "Date abolished",
"type": "string"
},
"succession": {
"label": "Succession",
"type": "string",
"description": "Rank of succession of this office",
"example": "[[United States presidential line of succession|Fifth]]<ref>https://www.law.cornell.edu/uscode/text/3/19</ref>"
},
"abbreviation": {
"label": "Official abbreviation",
"type": "string"
},
"unofficial_names": {
"label": "Unofficial names",
"type": "string"
},
"deputy": {
"label": "Deputy",
"type": "string",
"description": "Wikilink to the office of this position's deputy",
"example": "[[Vice President of the People's Republic of China|Vice President]]"
},
"salary": {
"label": "Salary",
"type": "content",
"description": "The salary of this office",
"example": "[[Executive Schedule|Executive Schedule, level I]]<ref>{{UnitedStatesCode|5|5312}}</ref>"
},
"website": {
"label": "Website",
"type": "url"
},
"width": {},
"insigniaalt": {},
"flagalt": {},
"inaugural": {},
"footnotes_title": {},
"footnotes": {}
},
"description": "Infobox for official posts",
"format": "block"
}
</templatedata>

Latest revision as of 00:27, 29 January 2023