Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Position: Difference between revisions

Template page
Calix (talk | contribs)
mNo edit summary
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<infobox type="Position" theme-source="nation"> <title source="name"><default>{{PAGENAME}}</default></title> <image source="image" /> <group> <header>Position Information</header> <data source="place"><label>Nation</label></data> <data source="style"><label>Style</label></data> <data source="type"><label>Type</label></data> <data source="status"><label>Status</label></data> <data source="first"><label>First Holder</label></data> <data source="last"><label>Last Holder</label></data> <data source="current"><label>Current Holder</label></data> <data source="previous"><label>Previous Holder</label></data> <data source="member"><label>Member of</label></data> <data source="residence"><label>Residence</label></data> </group> </infobox> <noinclude> {{Documentation}} </noinclude>
<infobox type="Position" theme-source="nation">
<title source="name"><default>{{PAGENAME}}</default></title>
<image source="image" width="{{{image_size|150px}}}" />
 
<group>
  <header>Position Information</header>
  <data source="place"><label>Nation</label></data>
  <data source="style"><label>Style</label></data>
  <data source="type"><label>Type</label></data>
  <data source="status"><label>Status</label></data>
  <data source="member"><label>Member of</label></data>
  <data source="residence"><label>Residence</label></data>
</group>
 
<group layout="horizontal">
  <header>Holders</header>
  <data source="first"><label>First Holder</label></data>
  <data source="last"><label>Last Holder</label></data>
  <data source="current"><label>Current Holder</label></data>
  <data source="previous"><label>Previous Holder</label></data>
</group>
</infobox>
 
<noinclude>
 
<templatedata>
{
  "description": "Infobox for political or organizational positions.",
  "params": {
    "name": {
      "label": "Name",
      "description": "Name of the position (defaults to page name if omitted).",
      "type": "string"
    },
    "image": {
      "label": "Image",
      "description": "Image representing the position (file name without File:).",
      "type": "wiki-file-name"
    },
    "image_size": {
      "label": "Image size",
      "description": "Width of the image (e.g., 150px).",
      "type": "string"
    },
 
    "place": {
      "label": "Nation",
      "description": "Nation or region associated with the position.",
      "type": "string"
    },
    "style": {
      "label": "Style",
      "description": "Form or style of the position.",
      "type": "string"
    },
    "type": {
      "label": "Type",
      "description": "Type of position (e.g., political, military).",
      "type": "string"
    },
    "status": {
      "label": "Status",
      "description": "Current status of the position.",
      "type": "string"
    },
    "member": {
      "label": "Member of",
      "description": "Organization or body the position belongs to.",
      "type": "string"
    },
    "residence": {
      "label": "Residence",
      "description": "Official residence tied to the position.",
      "type": "string"
    },
 
    "first": {
      "label": "First holder",
      "description": "First known holder of the position.",
      "type": "string"
    },
    "last": {
      "label": "Last holder",
      "description": "Most recent former holder.",
      "type": "string"
    },
    "current": {
      "label": "Current holder",
      "description": "Current holder of the position.",
      "type": "string"
    },
    "previous": {
      "label": "Previous holder",
      "description": "Immediate previous holder.",
      "type": "string"
    }
  },
  "paramOrder": [
    "name",
    "image",
    "image_size",
    "place",
    "style",
    "type",
    "status",
    "member",
    "residence",
    "first",
    "last",
    "current",
    "previous"
  ]
}
</templatedata>
 
{{Documentation}}
 
</noinclude>

Latest revision as of 02:41, 2 May 2026


Infobox for political or organizational positions.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

Name of the position (defaults to page name if omitted).

Stringoptional
Imageimage

Image representing the position (file name without File:).

Fileoptional
Image sizeimage_size

Width of the image (e.g., 150px).

Stringoptional
Nationplace

Nation or region associated with the position.

Stringoptional
Stylestyle

Form or style of the position.

Stringoptional
Typetype

Type of position (e.g., political, military).

Stringoptional
Statusstatus

Current status of the position.

Stringoptional
Member ofmember

Organization or body the position belongs to.

Stringoptional
Residenceresidence

Official residence tied to the position.

Stringoptional
First holderfirst

First known holder of the position.

Stringoptional
Last holderlast

Most recent former holder.

Stringoptional
Current holdercurrent

Current holder of the position.

Stringoptional
Previous holderprevious

Immediate previous holder.

Stringoptional
Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.