Template:Infobox settlement: Difference between revisions

From aquila
Jump to navigation Jump to search
Created page with "<includeonly>{| style="float: right; width: 300px; margin: 0 0 1em 1em; border: 1px solid #1a1a1a; background-color: #f8f9fa; font-size: 88%; line-height: 1.5em; border-collapse: collapse; box-shadow: 0 2px 4px rgba(0,0,0,0.1);" |- ! colspan="2" style="background-color: {{{HeaderColour|#5A6B7C}}}; color: {{{HeaderTitleColour|#ffffff}}}; text-align: center; font-size: 125%; font-weight: bold; padding: 0.6em; border-bottom: 3px solid #3E4B57;" | {{{name|{{PAGENAME}}}}} |-..."
 
No edit summary
Line 79: Line 79:
"description": "Standard Infobox for Cities and Settlements.",
"description": "Standard Infobox for Cities and Settlements.",
"params": {
"params": {
"name": { "label": "Settlement Name", "type": "string" },
"name": {
"HeaderColour": { "label": "Header Colour Hex", "type": "string", "default": "#5A6B7C" },
"label": "Settlement Name",
"HeaderTitleColour": { "label": "Header Text Colour Hex", "type": "string", "default": "#ffffff" },
"description": "The official name of the city, town, or settlement. Defaults to the page title if left empty.",
"LabelColour": { "label": "Label Row Colour Hex", "type": "string", "default": "#EDF1F5" },
"type": "string"
"image": { "label": "Image File Name", "description": "e.g., City_Flag.png", "type": "wiki-file-name" },
},
"nation": { "label": "Nation", "type": "string" },
"HeaderColour": {
"location": { "label": "Location", "type": "string" },
"label": "Header Banner Background Hex",
"region": { "label": "Region", "type": "string" },
"description": "Hex color code for the main top header banner (e.g. #5A6B7C).",
"population": { "label": "Population", "type": "string" },
"type": "string",
"FoundedYearLore": { "label": "Founded Year (Lore)", "description": "Year number, e.g. 3 or -5 for Era Vetus", "type": "number" },
"default": "#5A6B7C"
"FoundedIRL": { "label": "Founded Date IRL", "description": "Format: DD/MM/YY (e.g., 28/07/26)", "type": "string" },
},
"founder": { "label": "Founder", "type": "string" },
"HeaderTitleColour": {
"leader": { "label": "Leader", "type": "string" },
"label": "Header Title Text Hex",
"culture": { "label": "Culture", "type": "string" },
"description": "Hex color code for the text inside the main top header (e.g. #ffffff).",
"religion": { "label": "Religion", "type": "string" },
"type": "string",
"languages": { "label": "Languages", "type": "string" },
"default": "#ffffff"
"economy": { "label": "Economy", "type": "string" },
},
"landmarks": { "label": "Major Landmarks", "type": "string" },
"LabelColour": {
"status": { "label": "Status", "description": "Active or Inactive", "type": "string", "default": "Active" }
"label": "Side Label Column Hex",
"description": "Hex color code for the grey background on the left-side attribute labels (e.g. #EDF1F5).",
"type": "string",
"default": "#EDF1F5"
},
"image": {
"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:]]).",
"type": "wiki-file-name"
},
"nation": {
"label": "Sovereign Nation",
"description": "The nation or empire that controls or owns this settlement.",
"type": "string"
},
"location": {
"label": "Geographic Location",
"description": "The specific local geographic features, island, river, or province where the settlement sits.",
"type": "string"
},
"region": {
"label": "World Region",
"description": "The broader continent, world region, or territory district.",
"type": "string"
},
"population": {
"label": "Population Count",
"description": "Estimated total number of inhabitants or citizens residing in the settlement.",
"type": "string"
},
"FoundedYearLore": {
"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.",
"type": "number"
},
"FoundedIRL": {
"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.",
"type": "string"
},
"founder": {
"label": "Founder(s)",
"description": "The character, group, or nation that original established or built the settlement.",
"type": "string"
},
"leader": {
"label": "Current Leader / Mayor",
"description": "The current ruler, mayor, governor, or administrator in charge of the settlement.",
"type": "string"
},
"culture": {
"label": "Dominant Culture",
"description": "The primary ethnic or cultural groups inhabiting the settlement.",
"type": "string"
},
"religion": {
"label": "Primary Religion",
"description": "The main faith, deity worship, or religious practice present in the settlement.",
"type": "string"
},
"languages": {
"label": "Spoken Languages",
"description": "The official or primary languages spoken by the inhabitants.",
"type": "string"
},
"economy": {
"label": "Economic Focus / Exports",
"description": "The primary industries, resources, trade goods, or financial activities of the settlement.",
"type": "string"
},
"landmarks": {
"label": "Major Landmarks",
"description": "Notable buildings, monuments, castles, or geographical highlights within or near the settlement.",
"type": "string"
},
"status": {
"label": "Current Activity Status",
"description": "The current status of the settlement (e.g. Active, Inactive, Abandoned, Ruined). Typing 'Active' makes text green; 'Inactive' or 'Abandoned' makes text red.",
"type": "string",
"default": "Active"
}
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 19:30, 19 August 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            = Active
}}

Standard Infobox for Cities and Settlements.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Settlement Namename

The official name of the city, town, or settlement. Defaults to the page title if left empty.

Stringoptional
Header Banner Background HexHeaderColour

Hex color code for the main top header banner (e.g. #5A6B7C).

Default
#5A6B7C
Stringoptional
Header Title Text HexHeaderTitleColour

Hex color code for the text inside the main top header (e.g. #ffffff).

Default
#ffffff
Stringoptional
Side Label Column HexLabelColour

Hex color code for the grey background on the left-side attribute labels (e.g. #EDF1F5).

Default
#EDF1F5
Stringoptional
Image File Nameimage

The image file name for the settlement flag, crest, or portrait. Example: City_Flag.png (Do not wrap in [[File:]]).

Fileoptional
Sovereign Nationnation

The nation or empire that controls or owns this settlement.

Stringoptional
Geographic Locationlocation

The specific local geographic features, island, river, or province where the settlement sits.

Stringoptional
World Regionregion

The broader continent, world region, or territory district.

Stringoptional
Population Countpopulation

Estimated total number of inhabitants or citizens residing in the settlement.

Stringoptional
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.

Numberoptional
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.

Stringoptional
Founder(s)founder

The character, group, or nation that original established or built the settlement.

Stringoptional
Current Leader / Mayorleader

The current ruler, mayor, governor, or administrator in charge of the settlement.

Stringoptional
Dominant Cultureculture

The primary ethnic or cultural groups inhabiting the settlement.

Stringoptional
Primary Religionreligion

The main faith, deity worship, or religious practice present in the settlement.

Stringoptional
Spoken Languageslanguages

The official or primary languages spoken by the inhabitants.

Stringoptional
Economic Focus / Exportseconomy

The primary industries, resources, trade goods, or financial activities of the settlement.

Stringoptional
Major Landmarkslandmarks

Notable buildings, monuments, castles, or geographical highlights within or near the settlement.

Stringoptional
Current Activity Statusstatus

The current status of the settlement (e.g. Active, Inactive, Abandoned, Ruined). Typing 'Active' makes text green; 'Inactive' or 'Abandoned' makes text red.

Default
Active
Stringoptional