Template:Infobox Settlement: Difference between revisions
m Baseplate moved page Template:Infobox settlement to Template:Infobox Settlement |
mNo edit summary |
||
| Line 9: | Line 9: | ||
|- | |- | ||
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Location | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Location | ||
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Location|{{{location|TBA}}}}}} | | class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Location|{{{location|TBA}}}}}}{{#if: {{{Coordinates|{{{coordinates|}}}}}} | <div style="font-size: 85%; color: #64748b; margin-top: 3px;">Coords: {{{Coordinates|{{{coordinates|}}}}}}</div> }} | ||
{{#if: {{{Region|{{{region|}}}}}} | {{!}}- | {{#if: {{{Region|{{{region|}}}}}} | {{!}}- | ||
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Region | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Region | ||
| Line 15: | Line 15: | ||
|- | |- | ||
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Population | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Population | ||
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Population|{{{population|TBA}}}}}} | | class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Population|{{{population|TBA}}}}}}{{#if: {{{PlayerCount|{{{player_count|{{{Players|{{{players|}}}}}}}}}}}} | <div style="font-size: 85%; color: #64748b; margin-top: 3px;">({{{PlayerCount|{{{player_count|{{{Players|{{{players|}}}}}}}}}}}} members)</div> }} | ||
{{#if: {{{Founder|{{{founder|}}}}}} | {{!}}- | {{#if: {{{Founder|{{{founder|}}}}}} | {{!}}- | ||
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Founder | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Founder | ||
| Line 38: | Line 38: | ||
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Landmarks|{{{landmarks|{{{Major Landmarks}}}}}}}}} }} | {{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Landmarks|{{{landmarks|{{{Major Landmarks}}}}}}}}} }} | ||
|- | |- | ||
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Age | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Age{{#if: {{{DissolvedYearLore|{{{AbandonedYearLore|}}}}}} | <span style="font-size: 75%; font-weight: normal; color: #718096; display: block;">(Active Span)</span> }} | ||
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{#if: {{{FoundedYearLore|}}} | {{#expr: ({{#if: {{{DissolvedYearLore|{{{AbandonedYearLore|}}}}}} | {{{DissolvedYearLore|{{{AbandonedYearLore}}}}}} | {{CurrentLoreYear}} }} - {{{FoundedYearLore}}}) }} Years | TBA }} | | class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{#if: {{{FoundedYearLore|}}} | {{#expr: ({{#if: {{{DissolvedYearLore|{{{AbandonedYearLore|}}}}}} | {{{DissolvedYearLore|{{{AbandonedYearLore}}}}}} | {{CurrentLoreYear}} }} - {{{FoundedYearLore}}}) }} Years old | TBA }} | ||
|- | |- | ||
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Founded | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Founded | ||
| class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{#if: {{{FoundedYearLore|}}} | {{#ifexpr: {{{FoundedYearLore}}} < 1 | Era Vetus Year {{#expr: abs({{{FoundedYearLore}}}) }} | Era Nova Year {{{FoundedYearLore}}} }} | TBA }} | | class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{#if: {{{FoundedYearLore|}}} | {{#ifexpr: {{{FoundedYearLore}}} < 1 | Era Vetus, Year {{#expr: abs({{{FoundedYearLore}}}) }} | Era Nova, Year {{{FoundedYearLore}}} }} | TBA }}{{#if: {{{FoundedIRL|}}} | <div style="font-size: 85%; color: #64748b; margin-top: 3px;">{{{FoundedIRL}}} {{#iferror: ({{#expr: floor( ({{#time: U}} - {{#time: U | 20{{#titleparts:{{{FoundedIRL}}}|1|3}}-{{#titleparts:{{{FoundedIRL}}}|1|2}}-{{#titleparts:{{{FoundedIRL}}}|1|1}} }}) / 86400 )}} days old) | }}</div> }} | ||
{{#if: {{{DissolvedYearLore|{{{AbandonedYearLore|}}}}}} | {{!}}- | |||
{{#if: {{{ | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Abandoned | ||
{{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{#ifexpr: {{{DissolvedYearLore|{{{AbandonedYearLore}}}}}} < 1 | Era Vetus, Year {{#expr: abs({{{DissolvedYearLore|{{{AbandonedYearLore}}}}}}) }} | Era Nova, Year {{{DissolvedYearLore|{{{AbandonedYearLore}}}}}} }} }} | |||
{{ | |||
{{!}} | |||
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | |||
|- | |- | ||
! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}};" | Status | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}};" | Status | ||
| class="aquila-infobox-data" | <span class="aquila-status-badge" style="background: {{#switch: {{lc:{{{Status|{{{status|Operational}}}}}}}}|operational|prosperous=#f0fdf4|vassal|subject|puppet=#fefce8|union=#eff6ff|declining=#fff7ed|inactive|collapsed|fallen=#fef2f2|abandoned|ruined|annexed|dissolved=#fef2f2|#f0fdf4}}; color: {{#switch: {{lc:{{{Status|{{{status|Operational}}}}}}}}|operational|prosperous=#15803d|vassal|subject|puppet=#a16207|union=#1d4ed8|declining=#c2410c|inactive|collapsed|fallen=#b91c1c|abandoned|ruined|annexed|dissolved=#7f1d1d|#15803d}}; border: 1px solid {{#switch: {{lc:{{{Status|{{{status|Operational}}}}}}}}|operational|prosperous=#bbf7d0|vassal|subject|puppet=#fef08a|union=#bfdbfe|declining=#ffedd5|inactive|collapsed|fallen=#fecaca|abandoned|ruined|annexed|dissolved=#fecaca|#bbf7d0}};">{{{Status|{{{status|Operational}}}}}}</span> | | class="aquila-infobox-data" | <span class="aquila-status-badge" style="background: {{#switch: {{lc:{{{Status|{{{status|Operational}}}}}}}}|operational|prosperous=#f0fdf4|vassal|subject|puppet=#fefce8|union=#eff6ff|declining=#fff7ed|inactive|collapsed|fallen=#fef2f2|abandoned|ruined|annexed|dissolved=#fef2f2|#f0fdf4}}; color: {{#switch: {{lc:{{{Status|{{{status|Operational}}}}}}}}|operational|prosperous=#15803d|vassal|subject|puppet=#a16207|union=#1d4ed8|declining=#c2410c|inactive|collapsed|fallen=#b91c1c|abandoned|ruined|annexed|dissolved=#7f1d1d|#15803d}}; border: 1px solid {{#switch: {{lc:{{{Status|{{{status|Operational}}}}}}}}|operational|prosperous=#bbf7d0|vassal|subject|puppet=#fef08a|union=#bfdbfe|declining=#ffedd5|inactive|collapsed|fallen=#fecaca|abandoned|ruined|annexed|dissolved=#fecaca|#bbf7d0}};">{{{Status|{{{status|Operational}}}}}}</span> | ||
|} | |} | ||
[[Category:Settlements]] | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Line 64: | Line 60: | ||
<pre> | <pre> | ||
{{Infobox Settlement | {{Infobox Settlement | ||
| Colour | | Colour = #5A6B7C | ||
| TextColour | | TextColour = #ffffff | ||
| BorderColour | | BorderColour = #3E4B57 | ||
| LabelColour | | LabelColour = #EDF2F7 | ||
| LabelTextColour | | LabelTextColour = #2d3748 | ||
| LineColour | | LineColour = #cbd5e1 | ||
| Name | | Name = | ||
| Image | | Image = Image.png | ||
| Nation | | Nation = | ||
| Location | | Location = | ||
| Region | | Coordinates = -1000, 2500 | ||
| Population = | | Region = | ||
| Founder | | Population = ~5,000 | ||
| Leader | | PlayerCount = 4 | ||
| Culture | | Founder = | ||
| Religion | | Leader = | ||
| Languages | | Culture = | ||
| Economy | | Religion = | ||
| Landmarks | | Languages = | ||
| FoundedYearLore | | Economy = | ||
| AbandonedYearLore= | | Landmarks = | ||
| FoundedIRL | | FoundedYearLore = | ||
| Status | | AbandonedYearLore = | ||
| FoundedIRL = | |||
| Status = Operational | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 103: | Line 101: | ||
"Image": { "label": "Flag / Crest / View Image", "description": "Filename of settlement image or crest (e.g., Image.png).", "type": "string", "default": "Image.png", "suggested": true }, | "Image": { "label": "Flag / Crest / View Image", "description": "Filename of settlement image or crest (e.g., Image.png).", "type": "string", "default": "Image.png", "suggested": true }, | ||
"Nation": { "label": "Sovereign Nation", "description": "The nation or empire that controls or owns this settlement.", "type": "string", "suggested": true }, | "Nation": { "label": "Sovereign Nation", "description": "The nation or empire that controls or owns this settlement.", "type": "string", "suggested": true }, | ||
"Location": { "label": "Territory Location", "description": "Geographic location, coordinates, | "Location": { "label": "Territory Location", "description": "Geographic location, region, or general area.", "type": "string", "suggested": true }, | ||
"Coordinates": { "label": "Coordinates", "description": "Raw in-game map coordinates. Do NOT write 'Coords:' — enter the numbers only (e.g., -1000, 2500). Renders automatically as Coords: X, Y, Z.", "type": "string", "suggested": true }, | |||
"Region": { "label": "World Region", "description": "Broader continent or world region. Hides automatically if left blank.", "type": "string", "suggested": true }, | "Region": { "label": "World Region", "description": "Broader continent or world region. Hides automatically if left blank.", "type": "string", "suggested": true }, | ||
"Population": { "label": "Population Count", "description": "Estimated total number of inhabitants or citizens.", "type": "string", "suggested": true }, | "Population": { "label": "Population Count", "description": "Estimated total number of inhabitants or citizens.", "type": "string", "suggested": true }, | ||
"PlayerCount": { "label": "Number of Players", "description": "Actual real-world player count. Enter the raw number (e.g., 4). Renders automatically as (4 members).", "type": "number", "suggested": true }, | |||
"Founder": { "label": "Founder(s)", "description": "Character or nation that established the settlement. Hides automatically if left blank.", "type": "string", "suggested": true }, | "Founder": { "label": "Founder(s)", "description": "Character or nation that established the settlement. Hides automatically if left blank.", "type": "string", "suggested": true }, | ||
"Leader": { "label": "Current Leader / Mayor", "description": "Current ruler, mayor, or governor. Hides automatically if left blank.", "type": "string", "suggested": true }, | "Leader": { "label": "Current Leader / Mayor", "description": "Current ruler, mayor, or governor. Hides automatically if left blank.", "type": "string", "suggested": true }, | ||
Latest revision as of 21:22, 16 October 2026
Infobox Settlement
This template displays structured profile data for cities, towns, and settlements. Optional secondary parameters hide automatically if left blank to save screen space.
Usage
Copy and paste this clean code snippet straight onto settlement wiki pages:
{{Infobox Settlement
| Colour = #5A6B7C
| TextColour = #ffffff
| BorderColour = #3E4B57
| LabelColour = #EDF2F7
| LabelTextColour = #2d3748
| LineColour = #cbd5e1
| Name =
| Image = Image.png
| Nation =
| Location =
| Coordinates = -1000, 2500
| Region =
| Population = ~5,000
| PlayerCount = 4
| Founder =
| Leader =
| Culture =
| Religion =
| Languages =
| Economy =
| Landmarks =
| FoundedYearLore =
| AbandonedYearLore =
| FoundedIRL =
| Status = Operational
}}
Standard Infobox for Cities and Settlements.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Banner Background Colour | Colour | Hex code for top banner background.
| String | suggested |
| Banner Text Colour | TextColour | Hex code for top banner text.
| String | suggested |
| Banner Underline Colour | BorderColour | Hex code for top banner underline colour.
| String | suggested |
| Label Background Colour | LabelColour | Hex code for lower background label cells.
| String | suggested |
| Label Text Colour | LabelTextColour | Hex code for text color inside the left-hand label cells.
| String | suggested |
| Internal Grid Line Colour | LineColour | Hex code for thin divider lines between table rows.
| String | suggested |
| Settlement Name | Name | The official name of the settlement. Defaults to page title if blank. | String | suggested |
| Flag / Crest / View Image | Image | Filename of settlement image or crest (e.g., Image.png).
| String | suggested |
| Sovereign Nation | Nation | The nation or empire that controls or owns this settlement. | String | suggested |
| Territory Location | Location | Geographic location, region, or general area. | String | suggested |
| Coordinates | Coordinates | Raw in-game map coordinates. Do NOT write 'Coords:' — enter the numbers only (e.g., -1000, 2500). Renders automatically as Coords: X, Y, Z. | String | suggested |
| World Region | Region | Broader continent or world region. Hides automatically if left blank. | String | suggested |
| Population Count | Population | Estimated total number of inhabitants or citizens. | String | suggested |
| Number of Players | PlayerCount | Actual real-world player count. Enter the raw number (e.g., 4). Renders automatically as (4 members). | Number | suggested |
| Founder(s) | Founder | Character or nation that established the settlement. Hides automatically if left blank. | String | suggested |
| Current Leader / Mayor | Leader | Current ruler, mayor, or governor. Hides automatically if left blank. | String | suggested |
| Dominant Culture | Culture | Primary ethnic or cultural group. Hides automatically if left blank. | String | suggested |
| Primary Religion | Religion | Official or primary religion/faith. Hides automatically if left blank. | String | suggested |
| Spoken Languages | Languages | Official or primary languages spoken. Hides automatically if left blank. | String | suggested |
| Economic Focus / Exports | Economy | Primary industries, resources, or trade goods. Hides automatically if left blank. | String | suggested |
| Major Landmarks | Landmarks | Notable buildings, monuments, or features. Hides automatically if left blank. | String | suggested |
| Founded Year (Lore) | FoundedYearLore | In-lore year the settlement was founded. Automatically updates age. | Number | suggested |
| Abandoned / Dissolved Year (Lore) | AbandonedYearLore | In-lore year the settlement fell or was abandoned. Locks active lifespan. | Number | optional |
| Founded (Real Date) | FoundedIRL | Real-world creation date strictly in DD/MM/YY format (e.g., 28/07/26). | String | suggested |
| Current Status | Status | Select the operational state of the settlement. Auto-colors text based on selection.
| String | suggested |