Template:Infobox Nation: Difference between revisions
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}}} | ||
{{!}}- | |||
}} | }} | ||
! 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}}} | ||
{{!}}- | |||
}} | }} | ||
<!-- 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}}} | ||
{{!}}- | |||
}} | }} | ||
<!-- 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}}} | ||
{{!}}- | |||
}} | }} | ||
<!-- 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}}} | ||
{{!}}- | |||
}} | }} | ||
<!-- 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}}} | ||
{{!}}- | |||
}} | }} | ||
! 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}}} | ||
{{!}}- | |||
}} | }} | ||
<!-- 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}}} | ||
{{!}}- | |||
}} | }} | ||
<!-- 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", " | "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", " | "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", " | "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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Banner Background Colour | Colour | Hex code for top banner background. | String | suggested |
| Banner Text Colour | TextColour | no description | String | suggested |
| Banner Underline Colour | BorderColour | no description | String | optional |
| Label Background Colour | LabelColour | no description | String | suggested |
| Nation Name | Name | no description | String | suggested |
| Flag / Crest Image | Image | no description
| File | optional |
| Capital City | Capital | no description | String | suggested |
| Primary Culture | Culture | Hides automatically if left blank. | String | optional |
| Territory Location | Location | no description | String | suggested |
| Government Type | Government | no description | String | suggested |
| Head of State / Ruler | Leader | no description | String | suggested |
| State Religion | Religion | Hides automatically if left blank. | String | optional |
| Governing Body | Legislature | Hides automatically if left blank. | String | optional |
| Official Languages | Official Languages | Hides automatically if left blank. | String | optional |
| Demonym | Demonym | Hides automatically if left blank. | String | optional |
| Major Cities / Towns | Major Settlements | Hides automatically if left blank. | String | optional |
| Population Size | Population | no description | String | suggested |
| Allied Nations | Allies | Hides automatically if left blank. | String | optional |
| Rival / Enemy Factions | Enemies | Hides automatically if left blank. | String | optional |
| Founded Year (Lore) | FoundedYearLore | no description | Number | required |
| Founded (Real Date) | FoundedIRL | Must be written strictly in DD/MM/YY format (e.g., 28/07/26). | String | required |
| Status | Status | no description
| String | required |