Template:Infobox Nation: Difference between revisions

From aquila
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 16: Line 16:
|-
|-
<!-- HIDDEN CULTURE ROW -->
<!-- HIDDEN CULTURE ROW -->
{{#if: {{{Culture|}}} |
{{#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}}}
 
{{!}}-
| {{{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 35: Line 33:
|-
|-
<!-- HIDDEN RELIGION ROW -->
<!-- HIDDEN RELIGION ROW -->
{{#if: {{{Religion|}}} |
{{#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}}}
 
{{!}}-
| {{{Religion}}}
|-
}}
}}
<!-- HIDDEN LEGISLATURE ROW -->
<!-- HIDDEN LEGISLATURE ROW -->
{{#if: {{{Legislature|}}} |
{{#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}}}
 
{{!}}-
| {{{Legislature}}}
|-
}}
}}
<!-- HIDDEN OFFICIAL LANGUAGES ROW -->
<!-- HIDDEN OFFICIAL LANGUAGES ROW -->
{{#if: {{{Official Languages|}}} |
{{#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}}}
 
{{!}}-
| {{{Official Languages}}}
|-
}}
}}
<!-- HIDDEN DEMONYM ROW -->
<!-- HIDDEN DEMONYM ROW -->
{{#if: {{{Demonym|}}} |
{{#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}}}
 
{{!}}-
| {{{Demonym}}}
|-
}}
}}
<!-- HIDDEN MAJOR SETTLEMENTS ROW -->
<!-- HIDDEN MAJOR SETTLEMENTS ROW -->
{{#if: {{{Major Settlements|}}} |
{{#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}}}
 
{{!}}-
| {{{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
Line 74: Line 62:
|-
|-
<!-- HIDDEN ALLIES ROW -->
<!-- HIDDEN ALLIES ROW -->
{{#if: {{{Allies|}}} |
{{#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}}}
 
{{!}}-
| {{{Allies}}}
|-
}}
}}
<!-- HIDDEN ENEMIES ROW -->
<!-- HIDDEN ENEMIES ROW -->
{{#if: {{{Enemies|}}} |
{{#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}}}
 
{{!}}-
| {{{Enemies}}}
|-
}}
}}
<!-- IN-GAME AGE ROW -->
<!-- IN-GAME AGE ROW -->
Line 165: Line 149:
"Allies": { "label": "Allied Nations", "description": "Hides automatically if left blank.", "type": "string" },
"Allies": { "label": "Allied Nations", "description": "Hides automatically if left blank.", "type": "string" },
"Enemies": { "label": "Rival / Enemy Factions", "description": "Hides automatically if left blank.", "type": "string" },
"Enemies": { "label": "Rival / Enemy Factions", "description": "Hides automatically if left blank.", "type": "string" },
"FoundedYearLore": { "label": "Founded Year (Lore)", "type": "number", "suggested": true },
"FoundedYearLore": { "label": "Founded Year (Lore)", "type": "number", "required": 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 },
"FoundedIRL": { "label": "Founded (Real Date)", "description": "Must be written strictly in DD/MM/YY format (e.g., 28/07/26).", "type": "string", "required": true },
"Status": { "label": "Status", "type": "string", "default": "Active", "suggested": true }
"Status": { "label": "Status", "type": "string", "default": "Active", "required": true }
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 17:14, 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

Numberrequired
Founded (Real Date)FoundedIRL

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

Stringrequired
StatusStatus

no description

Default
Active
Stringrequired