Template:Infobox Nation: Difference between revisions

From aquila
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
| {{{Capital|TBA}}}
| {{{Capital|TBA}}}
|-
|-
<!-- HIDDEN CULTURE ROW -->
{{#if: {{{Culture|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Culture
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Culture


| {{{Culture|TBA}}}
| {{{Culture}}}
|-
|-
}}
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Location
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Location


Line 31: Line 34:
| {{{Leader|TBA}}}
| {{{Leader|TBA}}}
|-
|-
<!-- HIDDEN RELIGION ROW -->
{{#if: {{{Religion|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Religion
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Religion


| {{{Religion|TBA}}}
| {{{Religion}}}
|-
|-
}}
<!-- HIDDEN LEGISLATURE ROW -->
{{#if: {{{Legislature|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Legislature
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Legislature


| {{{Legislature|TBA}}}
| {{{Legislature}}}
|-
|-
}}
<!-- HIDDEN OFFICIAL LANGUAGES ROW -->
{{#if: {{{Official Languages|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Official Languages
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Official Languages


| {{{Official Languages|TBA}}}
| {{{Official Languages}}}
|-
|-
}}
<!-- HIDDEN DEMONYM ROW -->
{{#if: {{{Demonym|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Demonym
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Demonym


| {{{Demonym|TBA}}}
| {{{Demonym}}}
|-
|-
}}
<!-- HIDDEN MAJOR SETTLEMENTS ROW -->
{{#if: {{{Major Settlements|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Major Settlements
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Major Settlements


| {{{Major Settlements|TBA}}}
| {{{Major Settlements}}}
|-
|-
}}
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Population
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Population


| {{{Population|TBA}}}
| {{{Population|TBA}}}
|-
|-
<!-- HIDDEN ALLIES ROW -->
{{#if: {{{Allies|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Allies
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Allies


| {{{Allies|TBA}}}
| {{{Allies}}}
|-
|-
}}
<!-- HIDDEN ENEMIES ROW -->
{{#if: {{{Enemies|}}} |
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Enemies
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Enemies


| {{{Enemies|TBA}}}
| {{{Enemies}}}
|-
|-
}}
<!-- IN-GAME AGE ROW -->
<!-- IN-GAME AGE ROW -->
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Age (Lore)
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColour|#EDF2F7}}}; border-bottom: 1px solid #e2e8f0;" | Age (Lore)
Line 86: Line 110:


== Infobox Nation ==
== Infobox Nation ==
This template displays structured profile data for nations, kingdoms, and factions. It dynamically tracks the age of the nation both in roleplay years and real-world server days.
This template displays structured profile data for nations, kingdoms, and factions. Optional secondary parameters hide automatically if left blank to save screen space.


== Usage ==
== Usage ==
Line 92: Line 116:
<pre>
<pre>
{{Infobox Nation
{{Infobox Nation
| Colour         = #1A365D
| Colour             = #1A365D
| TextColour     = #ffffff
| TextColour         = #ffffff
| BorderColour   = #0F172A
| BorderColour       = #0F172A
| LabelColour     = #EDF2F7
| LabelColour       = #EDF2F7
| Name           =  
| Name               =  
| Image           = Image.png
| Image             = Image.png
| Capital         =  
| Capital           =  
| Culture         =  
| Culture           =  
| Location       =  
| Location           =  
| Government     =  
| Government         =  
| Leader         =  
| Leader             =  
| Religion       =  
| Religion           =  
| Legislature     =  
| Legislature       =  
| Official Languages =  
| Official Languages =  
| Demonym         =  
| Demonym           =  
| Major Settlements =  
| Major Settlements =  
| Population     =  
| Population         =  
| Allies         =  
| Allies             =  
| Enemies         =  
| Enemies           =  
| FoundedYearLore =  
| FoundedYearLore   =  
| FoundedIRL     =  
| FoundedIRL         =  
| Status         = Active
| Status             = Active
}}
}}
</pre>
</pre>
Line 122: Line 146:
"description": "Project Aquila's official automated Nation and Faction Infobox.",
"description": "Project Aquila's official automated Nation and Faction Infobox.",
"params": {
"params": {
"Colour": { "label": "Banner Background Colour", "description": "Hex code for the top header background (e.g. #1A365D). Defaults to theme blue.", "type": "string", "suggested": true },
"Colour": { "label": "Banner Background Colour", "description": "Hex code for top banner background.", "type": "string", "suggested": true },
"TextColour": { "label": "Banner Text Colour", "description": "Colour code for the nation's name text (e.g. #ffffff or white).", "type": "string", "suggested": true },
"TextColour": { "label": "Banner Text Colour", "type": "string", "suggested": true },
"BorderColour": { "label": "Banner Underline Colour", "description": "Hex code for the thick accent bar directly below the main header.", "type": "string" },
"BorderColour": { "label": "Banner Underline Colour", "type": "string" },
"LabelColour": { "label": "Label Background Colour", "description": "Hex code for the background tint on the left labels (e.g. #EDF2F7).", "type": "string", "suggested": true },
"LabelColour": { "label": "Label Background Colour", "type": "string", "suggested": true },
"Name": { "label": "Nation Name", "description": "The official name of the nation or kingdom.", "type": "string", "suggested": true },
"Name": { "label": "Nation Name", "type": "string", "suggested": true },
"Image": { "label": "Flag / Crest Image", "description": "Filename of the national flag or emblem file.", "type": "wiki-file-name", "default": "Image.png" },
"Image": { "label": "Flag / Crest Image", "type": "wiki-file-name", "default": "Image.png" },
"Capital": { "label": "Capital City", "type": "string", "suggested": true },
"Capital": { "label": "Capital City", "type": "string", "suggested": true },
"Culture": { "label": "Primary Culture", "type": "string" },
"Culture": { "label": "Primary Culture", "description": "Hides automatically if left blank.", "type": "string" },
"Location": { "label": "Territory Location", "description": "Geographical region or coordinates on the server map.", "type": "string", "suggested": true },
"Location": { "label": "Territory Location", "type": "string", "suggested": true },
"Government": { "label": "Government Type", "description": "e.g., Feudal Monarchy, Technocracy, Republic, Democracy, Anarchy", "type": "string", "suggested": true },
"Government": { "label": "Government Type", "type": "string", "suggested": true },
"Leader": { "label": "Head of State / Ruler", "type": "string", "suggested": true },
"Leader": { "label": "Head of State / Ruler", "type": "string", "suggested": true },
"Religion": { "label": "State Religion", "type": "string" },
"Religion": { "label": "State Religion", "description": "Hides automatically if left blank.", "type": "string" },
"Legislature": { "label": "Governing Body", "description": "e.g., Parliament, High Council, Senate", "type": "string" },
"Legislature": { "label": "Governing Body", "description": "Hides automatically if left blank.", "type": "string" },
"Official Languages": { "label": "Official Languages", "type": "string" },
"Official Languages": { "label": "Official Languages", "description": "Hides automatically if left blank.", "type": "string" },
"Demonym": { "label": "Demonym", "description": "What citizens of this nation are called (e.g., Koperdamer).", "type": "string" },
"Demonym": { "label": "Demonym", "description": "Hides automatically if left blank.", "type": "string" },
"Major Settlements": { "label": "Major Cities / Towns", "type": "string" },
"Major Settlements": { "label": "Major Cities / Towns", "description": "Hides automatically if left blank.", "type": "string" },
"Population": { "label": "Population Size", "type": "string" },
"Population": { "label": "Population Size", "type": "string", "suggested": true },
"Allies": { "label": "Allied Nations", "type": "string" },
"Allies": { "label": "Allied Nations", "description": "Hides automatically if left blank.", "type": "string" },
"Enemies": { "label": "Rival / Enemy Factions", "type": "string" },
"Enemies": { "label": "Rival / Enemy Factions", "description": "Hides automatically if left blank.", "type": "string" },
"FoundedYearLore": { "label": "Founded Year (Lore)", "description": "The in-game calendar year this nation was established. Use negative numbers for Era Vetus (e.g. -19) and positive numbers for Era Nova (e.g. 2).", "type": "number", "suggested": true },
"FoundedYearLore": { "label": "Founded Year (Lore)", "type": "number", "suggested": true },
"FoundedIRL": { "label": "Founded (Real Date)", "description": "CRITICAL: You MUST write this strictly in DD/MM/YY format (e.g., 28/07/26). This calculates the real-world days active automatically.", "type": "string", "suggested": true },
"FoundedIRL": { "label": "Founded (Real Date)", "description": "Must be written strictly in DD/MM/YY format (e.g., 28/07/26).", "type": "string", "suggested": true },
"Status": { "label": "Status", "description": "Type 'Active', 'Inactive', or 'Collapsed'.", "type": "string", "default": "Active", "suggested": true }
"Status": { "label": "Status", "type": "string", "default": "Active", "suggested": true }
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 16:03, 19 August 2026


Infobox Nation

This template displays structured profile data for nations, kingdoms, and factions. Optional secondary parameters hide automatically if left blank to save screen space.

Usage

Copy and paste this clean code snippet straight onto nation wiki pages:

{{Infobox Nation
| Colour             = #1A365D
| TextColour         = #ffffff
| BorderColour       = #0F172A
| LabelColour        = #EDF2F7
| Name               = 
| Image              = Image.png
| Capital            = 
| Culture            = 
| Location           = 
| Government         = 
| Leader             = 
| Religion           = 
| Legislature        = 
| Official Languages = 
| Demonym            = 
| Major Settlements  = 
| Population         = 
| Allies             = 
| Enemies            = 
| FoundedYearLore    = 
| FoundedIRL         = 
| Status             = Active
}}

TemplateData

Project Aquila's official automated Nation and Faction Infobox.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Banner Background ColourColour

Hex code for top banner background.

Stringsuggested
Banner Text ColourTextColour

no description

Stringsuggested
Banner Underline ColourBorderColour

no description

Stringoptional
Label Background ColourLabelColour

no description

Stringsuggested
Nation NameName

no description

Stringsuggested
Flag / Crest ImageImage

no description

Default
Image.png
Fileoptional
Capital CityCapital

no description

Stringsuggested
Primary CultureCulture

Hides automatically if left blank.

Stringoptional
Territory LocationLocation

no description

Stringsuggested
Government TypeGovernment

no description

Stringsuggested
Head of State / RulerLeader

no description

Stringsuggested
State ReligionReligion

Hides automatically if left blank.

Stringoptional
Governing BodyLegislature

Hides automatically if left blank.

Stringoptional
Official LanguagesOfficial Languages

Hides automatically if left blank.

Stringoptional
DemonymDemonym

Hides automatically if left blank.

Stringoptional
Major Cities / TownsMajor Settlements

Hides automatically if left blank.

Stringoptional
Population SizePopulation

no description

Stringsuggested
Allied NationsAllies

Hides automatically if left blank.

Stringoptional
Rival / Enemy FactionsEnemies

Hides automatically if left blank.

Stringoptional
Founded Year (Lore)FoundedYearLore

no description

Numbersuggested
Founded (Real Date)FoundedIRL

Must be written strictly in DD/MM/YY format (e.g., 28/07/26).

Stringsuggested
StatusStatus

no description

Default
Active
Stringsuggested