Template:Infobox settlement: Difference between revisions
No edit summary |
No edit summary Tag: Reverted |
||
| Line 6: | Line 6: | ||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Nation | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Nation | ||
| {{{nation| | | {{{nation}}} | ||
{{#if:{{{location|}}}| | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Location | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Location | ||
| {{{location| | | {{{location}}} | ||
|}} | |||
{{#if:{{{region|}}}| | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Region | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Region | ||
| {{{region| | | {{{region}}} | ||
|}} | |||
{{#if:{{{population|}}}| | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Population | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Population | ||
| {{{population| | | {{{population}}} | ||
|}} | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Age (Lore) | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Age (Lore) | ||
| {{#expr: {{CurrentLoreYear}} - {{{FoundedYearLore}}} }} Years | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Founded (Lore) | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Founded (Lore) | ||
| {{#ifexpr: {{{FoundedYearLore}}} < 1 | Era Vetus Year {{#expr: abs({{{FoundedYearLore}}}) }} | Era Nova Year {{{FoundedYearLore}}} }} | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Founded (IRL) | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Founded (IRL) | ||
| {{{FoundedIRL}}} - ({{#expr: floor( ({{#time: U}} - {{#time: U | 20{{#titleparts:{{{FoundedIRL}}}|1|3}}-{{#titleparts:{{{FoundedIRL}}}|1|2}}-{{#titleparts:{{{FoundedIRL}}}|1|1}} }}) / 86400 )}} days old) | |||
{{#if:{{{founder|}}}| | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Founder | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Founder | ||
| {{{founder| | | {{{founder}}} | ||
|}} | |||
{{#if:{{{leader|}}}| | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Leader | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Leader | ||
| {{{leader| | | {{{leader}}} | ||
|}} | |||
{{#if:{{{culture|}}}| | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Culture | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Culture | ||
| {{{culture| | | {{{culture}}} | ||
|}} | |||
{{#if:{{{religion|}}}| | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Religion | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Religion | ||
| {{{religion| | | {{{religion}}} | ||
|}} | |||
{{#if:{{{languages|}}}| | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Languages | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Languages | ||
| {{{languages| | | {{{languages}}} | ||
|}} | |||
{{#if:{{{economy|}}}| | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Economy | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Economy | ||
| {{{economy| | | {{{economy}}} | ||
|}} | |||
{{#if:{{{landmarks|}}}| | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Major Landmarks | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #e2e8f0;" | Major Landmarks | ||
| {{{landmarks| | | {{{landmarks}}} | ||
|}} | |||
|- | |- | ||
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #1a1a1a;" | Status | ! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF1F5}}}; border-bottom: 1px solid #1a1a1a;" | Status | ||
| Line 105: | Line 125: | ||
}, | }, | ||
"image": { | "image": { | ||
"label": "Image File Name", | "label": "Image File Name (Mandatory)", | ||
"description": "The image file name for the settlement flag, crest, or portrait. Example: City_Flag.png (Do not wrap in [[File:]]).", | "description": "The image file name for the settlement flag, crest, or portrait. Example: City_Flag.png (Do not wrap in [[File:]]).", | ||
"type": "wiki-file-name" | "type": "wiki-file-name", | ||
"required": true | |||
}, | }, | ||
"nation": { | "nation": { | ||
"label": "Sovereign Nation", | "label": "Sovereign Nation (Mandatory)", | ||
"description": "The nation or empire that controls or owns this settlement.", | "description": "The nation or empire that controls or owns this settlement.", | ||
"type": "string" | "type": "string", | ||
"required": true | |||
}, | }, | ||
"location": { | "location": { | ||
| Line 130: | Line 152: | ||
}, | }, | ||
"FoundedYearLore": { | "FoundedYearLore": { | ||
"label": "Founded Year (Lore)", | "label": "Founded Year (Lore) (Mandatory)", | ||
"description": "The in-universe year number when the settlement was founded (e.g. 3 for Era Nova Year 3, or -5 for Era Vetus Year 5). Used to automatically calculate age and era.", | "description": "The in-universe year number when the settlement was founded (e.g. 3 for Era Nova Year 3, or -5 for Era Vetus Year 5). Used to automatically calculate age and era.", | ||
"type": "number" | "type": "number", | ||
"required": true | |||
}, | }, | ||
"FoundedIRL": { | "FoundedIRL": { | ||
"label": "Founded Date (IRL)", | "label": "Founded Date (IRL) (Mandatory)", | ||
"description": "The real-world date this settlement was built or established on the server. Must be formatted strictly as DD/MM/YY (e.g. 28/07/26) to calculate days old automatically.", | "description": "The real-world date this settlement was built or established on the server. Must be formatted strictly as DD/MM/YY (e.g. 28/07/26) to calculate days old automatically.", | ||
"type": "string" | "type": "string", | ||
"required": true | |||
}, | }, | ||
"founder": { | "founder": { | ||
| Line 175: | Line 199: | ||
}, | }, | ||
"status": { | "status": { | ||
"label": "Current Status", | "label": "Current Status (Mandatory)", | ||
"description": "Select the operational or structural state of the settlement. Auto-colors text based on selection.", | "description": "Select the operational or structural state of the settlement. Auto-colors text based on selection.", | ||
"type": "string", | "type": "string", | ||
"default": "Operational", | "default": "Operational", | ||
"required": true, | |||
"suggested": true, | "suggested": true, | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
Revision as of 21:14, 6 September 2026
Usage
{{Infobox settlement
| HeaderColour = #5A6B7C
| HeaderTitleColour = #ffffff
| LabelColour = #EDF1F5
| name =
| image =
| nation =
| location =
| region =
| population =
| FoundedYearLore =
| FoundedIRL = DD/MM/YY
| founder =
| leader =
| culture =
| religion =
| languages =
| economy =
| landmarks =
| status = Operational
}}
Standard Infobox for Cities and Settlements.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Settlement Name | name | The official name of the city, town, or settlement. Defaults to the page title if left empty. | String | optional |
| Header Banner Background Hex | HeaderColour | Hex color code for the main top header banner (e.g. #5A6B7C).
| String | optional |
| Header Title Text Hex | HeaderTitleColour | Hex color code for the text inside the main top header (e.g. #ffffff).
| String | optional |
| Side Label Column Hex | LabelColour | Hex color code for the grey background on the left-side attribute labels (e.g. #EDF1F5).
| String | optional |
| Image File Name (Mandatory) | image | The image file name for the settlement flag, crest, or portrait. Example: City_Flag.png (Do not wrap in [[File:]]). | File | required |
| Sovereign Nation (Mandatory) | nation | The nation or empire that controls or owns this settlement. | String | required |
| Geographic Location | location | The specific local geographic features, island, river, or province where the settlement sits. | String | optional |
| World Region | region | The broader continent, world region, or territory district. | String | optional |
| Population Count | population | Estimated total number of inhabitants or citizens residing in the settlement. | String | optional |
| Founded Year (Lore) (Mandatory) | FoundedYearLore | The in-universe year number when the settlement was founded (e.g. 3 for Era Nova Year 3, or -5 for Era Vetus Year 5). Used to automatically calculate age and era. | Number | required |
| Founded Date (IRL) (Mandatory) | FoundedIRL | The real-world date this settlement was built or established on the server. Must be formatted strictly as DD/MM/YY (e.g. 28/07/26) to calculate days old automatically. | String | required |
| Founder(s) | founder | The character, group, or nation that original established or built the settlement. | String | optional |
| Current Leader / Mayor | leader | The current ruler, mayor, governor, or administrator in charge of the settlement. | String | optional |
| Dominant Culture | culture | The primary ethnic or cultural groups inhabiting the settlement. | String | optional |
| Primary Religion | religion | The main faith, deity worship, or religious practice present in the settlement. | String | optional |
| Spoken Languages | languages | The official or primary languages spoken by the inhabitants. | String | optional |
| Economic Focus / Exports | economy | The primary industries, resources, trade goods, or financial activities of the settlement. | String | optional |
| Major Landmarks | landmarks | Notable buildings, monuments, castles, or geographical highlights within or near the settlement. | String | optional |
| Current Status (Mandatory) | status | Select the operational or structural state of the settlement. Auto-colors text based on selection.
| String | required |