Template:Position: Difference between revisions
Template page
More actions
Created page with "<infobox type="Position" theme-source="nation"> <title source="name"><default>{{PAGENAME}}</default></title> <image source="image" /> <group> <header>Position Information</header> <data source="nation"><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</l..." |
No edit summary |
||
| (7 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<infobox type="Position" theme-source="nation"> | <infobox type="Position" theme-source="nation"> | ||
<title source="name"><default>{{PAGENAME}}</default></title> | <title source="name"><default>{{PAGENAME}}</default></title> | ||
<image source="image" /> | <image source="image" width="{{{image_size|150px}}}" /> | ||
<group> | |||
<header>Position Information</header> | <group> | ||
<data source=" | <header>Position Information</header> | ||
<data source="style"><label>Style</label></data> | <data source="place"><label>Nation</label></data> | ||
<data source="type"><label>Type</label></data> | <data source="style"><label>Style</label></data> | ||
<data source="status"><label>Status</label></data> | <data source="type"><label>Type</label></data> | ||
<data source=" | <data source="status"><label>Status</label></data> | ||
<data source=" | <data source="member"><label>Member of</label></data> | ||
< | <data source="residence"><label>Residence</label></data> | ||
<data source=" | </group> | ||
<data source="last"><label> | |||
<data source=" | <group layout="horizontal"> | ||
<data source=" | <header>Holders</header> | ||
</group> | <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> | <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}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 02:41, 2 May 2026
Infobox for political or organizational positions.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the position (defaults to page name if omitted). | String | optional |
| Image | image | Image representing the position (file name without File:). | File | optional |
| Image size | image_size | Width of the image (e.g., 150px). | String | optional |
| Nation | place | Nation or region associated with the position. | String | optional |
| Style | style | Form or style of the position. | String | optional |
| Type | type | Type of position (e.g., political, military). | String | optional |
| Status | status | Current status of the position. | String | optional |
| Member of | member | Organization or body the position belongs to. | String | optional |
| Residence | residence | Official residence tied to the position. | String | optional |
| First holder | first | First known holder of the position. | String | optional |
| Last holder | last | Most recent former holder. | String | optional |
| Current holder | current | Current holder of the position. | String | optional |
| Previous holder | previous | Immediate previous holder. | String | optional |
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. |