Template:Location: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><infobox type="Location" theme-source="nation"> | <includeonly> | ||
<title source="title"/> | <infobox type="Location" theme-source="nation"> | ||
<image source="image"><caption source="imagecaption"/></image> | <title source="title"><default>{{PAGENAME}}</default></title> | ||
<image source="image"> | |||
<caption source="imagecaption"/> | |||
</image> | |||
<group> | <group> | ||
<header>Physical Information</header> | <header>Physical Information</header> | ||
<data source="location"><label>Location</label></data> | <data source="location"><label>Location</label></data> | ||
</group> | </group> | ||
<group> | <group> | ||
<header>Government</header> | <header>Government</header> | ||
| Line 18: | Line 24: | ||
<data source="leader"><label>Leader</label></data> | <data source="leader"><label>Leader</label></data> | ||
<data source="admin"><label>Administrator</label></data> | <data source="admin"><label>Administrator</label></data> | ||
</group> | |||
<group> | |||
<header>History</header> | |||
<data source="events"><label>Key events</label></data> | |||
<data source="affiliate"><label>Affiliation</label></data> | |||
<data source="status"><label>Status</label></data> | |||
<data source="cause"><label>Cause</label></data> | |||
<data source="pred"><label>Preceded by</label></data> | |||
<data source="success"><label>Succeeded by</label></data> | |||
</infobox>[[Category:Locations]]</includeonly><noinclude>{{Documentation}}</noinclude> | </group> | ||
</infobox> | |||
[[Category:Locations]] | |||
</includeonly> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"description": "Infobox for locations, nations, cities, and regions.", | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "Display name (defaults to page name if omitted).", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Representative image (file name without File:).", | |||
"type": "wiki-file-name" | |||
}, | |||
"imagecaption": { | |||
"label": "Image caption", | |||
"description": "Caption describing the image.", | |||
"type": "string" | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"description": "Geographic placement or broader region.", | |||
"type": "string" | |||
}, | |||
"position": { | |||
"label": "Position", | |||
"description": "Political or geographic status.", | |||
"type": "string" | |||
}, | |||
"capital": { | |||
"label": "Capital", | |||
"description": "Capital city.", | |||
"type": "string" | |||
}, | |||
"govtype": { | |||
"label": "Form of government", | |||
"description": "Type of government.", | |||
"type": "string" | |||
}, | |||
"statehead": { | |||
"label": "Head of state", | |||
"description": "Primary governing authority.", | |||
"type": "string" | |||
}, | |||
"holyhead": { | |||
"label": "Religious authority", | |||
"description": "Spiritual leader or authority.", | |||
"type": "string" | |||
}, | |||
"currency": { | |||
"label": "Currency", | |||
"description": "Official currency used.", | |||
"type": "string" | |||
}, | |||
"ruler": { | |||
"label": "Ruler", | |||
"description": "Monarch or ruling figure.", | |||
"type": "string" | |||
}, | |||
"owner": { | |||
"label": "Owner", | |||
"description": "Controlling entity.", | |||
"type": "string" | |||
}, | |||
"leader": { | |||
"label": "Leader", | |||
"description": "Administrative or political leader.", | |||
"type": "string" | |||
}, | |||
"admin": { | |||
"label": "Administrator", | |||
"description": "Administrative official.", | |||
"type": "string" | |||
}, | |||
"events": { | |||
"label": "Key events", | |||
"description": "Important historical events.", | |||
"type": "string" | |||
}, | |||
"affiliate": { | |||
"label": "Affiliation", | |||
"description": "Associated faction or group.", | |||
"type": "string" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Current status (active, destroyed, disputed, etc.).", | |||
"type": "string" | |||
}, | |||
"cause": { | |||
"label": "Cause", | |||
"description": "Cause of status change or historical shift.", | |||
"type": "string" | |||
}, | |||
"pred": { | |||
"label": "Preceded by", | |||
"description": "Previous entity or state.", | |||
"type": "string" | |||
}, | |||
"success": { | |||
"label": "Succeeded by", | |||
"description": "Next entity or state.", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"imagecaption", | |||
"location", | |||
"position", | |||
"capital", | |||
"govtype", | |||
"statehead", | |||
"holyhead", | |||
"currency", | |||
"ruler", | |||
"owner", | |||
"leader", | |||
"admin", | |||
"events", | |||
"affiliate", | |||
"status", | |||
"cause", | |||
"pred", | |||
"success" | |||
] | |||
} | |||
</templatedata> | |||
{{Documentation}} | |||
</noinclude> | |||
Latest revision as of 02:48, 2 May 2026
Infobox for locations, nations, cities, and regions.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Display name (defaults to page name if omitted). | String | optional |
| Image | image | Representative image (file name without File:). | File | optional |
| Image caption | imagecaption | Caption describing the image. | String | optional |
| Location | location | Geographic placement or broader region. | String | optional |
| Position | position | Political or geographic status. | String | optional |
| Capital | capital | Capital city. | String | optional |
| Form of government | govtype | Type of government. | String | optional |
| Head of state | statehead | Primary governing authority. | String | optional |
| Religious authority | holyhead | Spiritual leader or authority. | String | optional |
| Currency | currency | Official currency used. | String | optional |
| Ruler | ruler | Monarch or ruling figure. | String | optional |
| Owner | owner | Controlling entity. | String | optional |
| Leader | leader | Administrative or political leader. | String | optional |
| Administrator | admin | Administrative official. | String | optional |
| Key events | events | Important historical events. | String | optional |
| Affiliation | affiliate | Associated faction or group. | String | optional |
| Status | status | Current status (active, destroyed, disputed, etc.). | String | optional |
| Cause | cause | Cause of status change or historical shift. | String | optional |
| Preceded by | pred | Previous entity or state. | String | optional |
| Succeeded by | success | Next entity or state. | 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. |