Template:Infobox Settlement: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{| style=" | <includeonly>{| class="aquila-infobox" style="border: 1px solid {{{LineColour|#cbd5e1}}};" | ||
|- | |- | ||
! colspan="2" style="background-color: {{{Colour|{{{HeaderColour|#5A6B7C}}}}}}; color: {{{TextColour|{{{HeaderTitleColour|#ffffff}}}}}} | ! colspan="2" class="aquila-infobox-title" style="background-color: {{{Colour|{{{HeaderColour|#5A6B7C}}}}}}; color: {{{TextColour|{{{HeaderTitleColour|#ffffff}}}}}}; border-bottom: 3px solid {{{BorderColour|#3E4B57}}};" | {{{Name|{{{name|{{PAGENAME}}}}}}}} | ||
|- | |- | ||
| colspan="2" | | colspan="2" class="aquila-infobox-image" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | [[File:{{{Image|{{{image|Image.png}}}}}}|280px|center]] | ||
|- | |- | ||
! style=" | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | Nation | ||
| style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | | class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Nation|{{{nation|TBA}}}}}} | ||
|- | |- | ||
! style=" | ! 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 | ||
| style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | | class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Location|{{{location|TBA}}}}}} | ||
{{#if: {{{Region|{{{region|}}}}}} | {{!}}- | {{#if: {{{Region|{{{region|}}}}}} | {{!}}- | ||
! style=" | ! 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 | ||
{{!}} style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | {{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Region|{{{region}}}}}} }} | ||
|- | |- | ||
! style=" | ! 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 | ||
| style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | | class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{{Population|{{{population|TBA}}}}}} | ||
{{#if: {{{Founder|{{{founder|}}}}}} | {{!}}- | {{#if: {{{Founder|{{{founder|}}}}}} | {{!}}- | ||
! style=" | ! 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 | ||
{{!}} style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | {{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Founder|{{{founder}}}}}} }} | ||
{{#if: {{{Leader|{{{leader|}}}}}} | {{!}}- | {{#if: {{{Leader|{{{leader|}}}}}} | {{!}}- | ||
! style=" | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Leader | ||
{{!}} style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | {{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Leader|{{{leader}}}}}} }} | ||
{{#if: {{{Culture|{{{culture|}}}}}} | {{!}}- | {{#if: {{{Culture|{{{culture|}}}}}} | {{!}}- | ||
! style=" | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Culture | ||
{{!}} style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | {{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Culture|{{{culture}}}}}} }} | ||
{{#if: {{{Religion|{{{religion|}}}}}} | {{!}}- | {{#if: {{{Religion|{{{religion|}}}}}} | {{!}}- | ||
! style=" | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Religion | ||
{{!}} style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | {{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Religion|{{{religion}}}}}} }} | ||
{{#if: {{{Languages|{{{languages|{{{Official Languages|}}}}}}}}} | {{!}}- | {{#if: {{{Languages|{{{languages|{{{Official Languages|}}}}}}}}} | {{!}}- | ||
! style=" | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Spoken Languages | ||
{{!}} style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | {{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Languages|{{{languages|{{{Official Languages}}}}}}}}} }} | ||
{{#if: {{{Economy|{{{economy|}}}}}} | {{!}}- | {{#if: {{{Economy|{{{economy|}}}}}} | {{!}}- | ||
! style=" | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Economy | ||
{{!}} style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | {{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Economy|{{{economy}}}}}} }} | ||
{{#if: {{{Landmarks|{{{landmarks|{{{Major Landmarks|}}}}}}}}} | {{!}}- | {{#if: {{{Landmarks|{{{landmarks|{{{Major Landmarks|}}}}}}}}} | {{!}}- | ||
! style=" | ! class="aquila-infobox-label" style="background-color: {{{LabelColour|#EDF2F7}}}; color: {{{LabelTextColour|#2d3748}}}; border-right: 1px solid {{{LineColour|#cbd5e1}}}; border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} Major Landmarks | ||
{{!}} style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | {{!}} class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" {{!}} {{{Landmarks|{{{landmarks|{{{Major Landmarks}}}}}}}}} }} | ||
|- | |- | ||
! style=" | ! 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 (Lore){{#if: {{{DissolvedYearLore|{{{AbandonedYearLore|}}}}}} | <span style="font-size: 75%; font-weight: normal; color: #718096; display: block;">(Active Span)</span> }} | ||
| style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | | class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{#if: {{{FoundedYearLore|}}} | {{#expr: ({{#if: {{{DissolvedYearLore|{{{AbandonedYearLore|}}}}}} | {{{DissolvedYearLore|{{{AbandonedYearLore}}}}}} | {{CurrentLoreYear}} }} - {{{FoundedYearLore}}}) }} Years | TBA }} | ||
|- | |- | ||
! style=" | ! 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 (Lore) | ||
| style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | | 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: {{{DissolvedYearLore|{{{AbandonedYearLore|}}}}}} | | {{#if: {{{DissolvedYearLore|{{{AbandonedYearLore|}}}}}} | | ||
! style=" | ! 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 (Lore) | ||
{{!}} style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | {{!}} 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}}}}}} }} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
! style=" | ! 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 (IRL) | ||
| style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}} | | class="aquila-infobox-data" style="border-bottom: 1px solid {{{LineColour|#cbd5e1}}};" | {{#if: {{{FoundedIRL|}}} | {{{FoundedIRL}}} {{#iferror: ({{#expr: floor( ({{#time: U}} - {{#time: U | 20{{#titleparts:{{{FoundedIRL}}}|1|3}}-{{#titleparts:{{{FoundedIRL}}}|1|2}}-{{#titleparts:{{{FoundedIRL}}}|1|1}} }}) / 86400 )}} days old) | }} | TBA }} | ||
|- | |- | ||
! style=" | ! 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> | ||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Revision as of 21:28, 9 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 =
| Region =
| Population =
| 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, coordinates, or sub-region. | 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 |
| 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 |