Template:Infobox settlement: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
| 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|TBA}}} | ||
|- | |- | ||
! 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|TBA}}} | ||
|}} | |||
|- | |- | ||
! 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|TBA}}} | ||
|}} | |||
|- | |- | ||
! 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|TBA}}} | ||
|- | |- | ||
! 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 | | {{#if: {{{FoundedYearLore|}}} | {{#expr: {{CurrentLoreYear}} - {{{FoundedYearLore}}} }} Years | TBA }} | ||
|- | |- | ||
! 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}}} }} | | {{#if: {{{FoundedYearLore|}}} | {{#ifexpr: {{{FoundedYearLore}}} < 1 | Era Vetus Year {{#expr: abs({{{FoundedYearLore}}}) }} | Era Nova Year {{{FoundedYearLore}}} }} | TBA }} | ||
|- | |- | ||
! 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: {{{FoundedIRL|}}} | {{{FoundedIRL}}} - ({{#expr: floor( ({{#time: U}} - {{#time: U | 20{{#titleparts:{{{FoundedIRL}}}|1|3}}-{{#titleparts:{{{FoundedIRL}}}|1|2}}-{{#titleparts:{{{FoundedIRL}}}|1|1}} }}) / 86400 )}} days old) | TBA }} | ||
|- | |- | ||
! 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|TBA}}} | ||
|}} | |||
|- | |- | ||
! 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|TBA}}} | ||
|}} | |||
|- | |- | ||
! 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|TBA}}} | ||
|}} | |||
|- | |- | ||
! 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|TBA}}} | ||
|}} | |||
|- | |- | ||
! 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|TBA}}} | ||
|}} | |||
|- | |- | ||
! 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|TBA}}} | ||
|}} | |||
|- | |- | ||
! 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|TBA}}} | ||
|- | |- | ||
! 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 125: | Line 105: | ||
}, | }, | ||
"image": { | "image": { | ||
"label": "Image File Name | "label": "Image File Name", | ||
"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" | ||
}, | }, | ||
"nation": { | "nation": { | ||
"label": "Sovereign Nation | "label": "Sovereign Nation", | ||
"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" | ||
}, | }, | ||
"location": { | "location": { | ||
| Line 152: | Line 130: | ||
}, | }, | ||
"FoundedYearLore": { | "FoundedYearLore": { | ||
"label": "Founded Year (Lore | "label": "Founded Year (Lore)", | ||
"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" | ||
}, | }, | ||
"FoundedIRL": { | "FoundedIRL": { | ||
"label": "Founded Date (IRL | "label": "Founded Date (IRL)", | ||
"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" | ||
}, | }, | ||
"founder": { | "founder": { | ||
| Line 199: | Line 175: | ||
}, | }, | ||
"status": { | "status": { | ||
"label": "Current Status | "label": "Current Status", | ||
"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", | ||
"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 | image | The image file name for the settlement flag, crest, or portrait. Example: City_Flag.png (Do not wrap in [[File:]]). | File | optional |
| Sovereign Nation | nation | The nation or empire that controls or owns this settlement. | String | optional |
| 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) | 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 | optional |
| Founded Date (IRL) | 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 | optional |
| 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 | status | Select the operational or structural state of the settlement. Auto-colors text based on selection.
| String | suggested |