Template:Infobox official post: Difference between revisions
TacticalOwen (talk | contribs) (Created page with "{{#invoke:infobox|infoboxTemplate |style = width:{{#if:{{{width|}}}|{{{width}}}|17.5em}}; |above = <includeonly>{{{name|{{{post}}} <!-- -->{{#if:{{{body|}}} | of {{{body}}} }} }}}</includeonly> |abovestyle = font-size: 125%; |subheader = {{{native_name|}}} |subheaderstyle = font-size: 125%; font-weight: normal; |image = {{#invoke:InfoboxImage|InfoboxImage|image={{{insignia|}}}...") |
TacticalOwen (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ | <templatedata> | ||
{ | |||
"params": { | |||
"post": { | |||
"label": "Post", | |||
"description": "Name of the post, do not include links", | |||
"example": "President", | |||
"type": "string", | |||
"required": true, | |||
"aliases": [ | |||
"name" | |||
] | |||
}, | |||
"body": { | |||
"label": "Body", | |||
"description": "Name of the body which the post is for", | |||
"example": "the European Commission", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"native_name": { | |||
"label": "Native name", | |||
"type": "line", | |||
"description": "For non-English speaking countries, the native name of the post", | |||
"example": "{{lang|zh-hans|中华人民共和国主席}}" | |||
}, | |||
"flag": { | |||
"label": "Flag image", | |||
"description": "A flag, positional color, or command sign associated with this post, if any", | |||
"type": "wiki-file-name" | |||
}, | |||
"flagsize": { | |||
"label": "Flag size", | |||
"example": "150px", | |||
"description": "Size of the flag", | |||
"type": "string" | |||
}, | |||
"flagborder": { | |||
"label": "Flag border", | |||
"description": "Set to yes or no", | |||
"example": "yes", | |||
"type": "string" | |||
}, | |||
"flagcaption": { | |||
"label": "Flag caption", | |||
"type": "content", | |||
"description": "A caption for the flag image" | |||
}, | |||
"insignia": { | |||
"label": "Insignia image", | |||
"type": "wiki-file-name", | |||
"description": "Official insignia of the post", | |||
"example": "Seal of the United States Department of the Treasury.svg" | |||
}, | |||
"insigniasize": { | |||
"label": "Insignia size", | |||
"example": "150px", | |||
"description": "Size of the insignia image", | |||
"type": "string" | |||
}, | |||
"insigniacaption": { | |||
| | "label": "Insignia caption", | ||
"type": "string", | |||
"description": "Description of the official insignia of the post", | |||
"example": "Seal of the Department of the Treasury" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "wiki-file-name", | |||
"description": "A picture of the incumbent of this post", | |||
"example": "Steven Mnuchin official photo (cropped).jpg", | |||
"suggested": true | |||
}, | |||
"imagesize": { | |||
"label": "Image size", | |||
"example": "150px", | |||
"description": "Size of the image, in px format", | |||
"type": "string" | |||
}, | |||
"alt": { | |||
| | "label": "Alt text", | ||
"description": "Alt text for image", | |||
"type": "string" | |||
}, | |||
"imagecaption": { | |||
"label": "Image caption", | |||
"description": "Caption for image", | |||
"type": "string" | |||
}, | |||
| | "incumbent": { | ||
"label": "Incumbent", | |||
"type": "line", | |||
"description": "The name of the person who currently holds this role", | |||
"example": "[[Steven Mnuchin]]", | |||
"suggested": true | |||
}, | |||
"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> |
Revision as of 23:57, 28 January 2023
<templatedata> { "params": { "post": { "label": "Post", "description": "Name of the post, do not include links", "example": "President", "type": "string", "required": true, "aliases": [ "name" ] }, "body": { "label": "Body", "description": "Name of the body which the post is for", "example": "the European Commission", "type": "string", "suggested": true }, "native_name": { "label": "Native name", "type": "line", "description": "For non-English speaking countries, the native name of the post", "example": "中华人民共和国主席" }, "flag": { "label": "Flag image", "description": "A flag, positional color, or command sign associated with this post, if any", "type": "wiki-file-name" }, "flagsize": { "label": "Flag size", "example": "150px", "description": "Size of the flag", "type": "string" }, "flagborder": { "label": "Flag border", "description": "Set to yes or no", "example": "yes", "type": "string" }, "flagcaption": { "label": "Flag caption", "type": "content", "description": "A caption for the flag image" }, "insignia": { "label": "Insignia image", "type": "wiki-file-name", "description": "Official insignia of the post", "example": "Seal of the United States Department of the Treasury.svg" }, "insigniasize": { "label": "Insignia size", "example": "150px", "description": "Size of the insignia image", "type": "string" }, "insigniacaption": { "label": "Insignia caption", "type": "string", "description": "Description of the official insignia of the post", "example": "Seal of the Department of the Treasury" }, "image": { "label": "Image", "type": "wiki-file-name", "description": "A picture of the incumbent of this post", "example": "Steven Mnuchin official photo (cropped).jpg", "suggested": true }, "imagesize": { "label": "Image size", "example": "150px", "description": "Size of the image, in px format", "type": "string" }, "alt": { "label": "Alt text", "description": "Alt text for image", "type": "string" }, "imagecaption": { "label": "Image caption", "description": "Caption for image", "type": "string" }, "incumbent": { "label": "Incumbent", "type": "line", "description": "The name of the person who currently holds this role", "example": "Steven Mnuchin", "suggested": true }, "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" }, "appointer_qualified": { "label": "Appointer qualification", "example": "with 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": "Fifth[1]" }, "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" }, "salary": { "label": "Salary", "type": "content", "description": "The salary of this office", "example": "Executive Schedule, level I[2]" }, "website": { "label": "Website", "type": "url" }, "width": {}, "insigniaalt": {}, "flagalt": {}, "inaugural": {}, "footnotes_title": {}, "footnotes": {} }, "description": "Infobox for official posts", "format": "block" } </templatedata>