Template:Infobox nation: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{| style="width: 100%; background: transparent;" | {| style="width: 100%; background: transparent;" | ||
! colspan="2" style="font-size: 140%; text-align: center; background: #ccf; padding: 0.4em;" | {{{name|{{PAGENAME}}}}} | ! colspan="2" style="font-size: 140%; text-align: center; background: #ccf; padding: 0.4em;" | {{{name|{{PAGENAME}}}}} | ||
{{#if:{{{image_flag|}}}| | {{#if:{{{image_flag|}}}| | ||
|- | |- | ||
| Line 76: | Line 72: | ||
</div><noinclude> | </div><noinclude> | ||
== | == Usage example == | ||
{{Infobox nation | |||
| name = The Star Kingdom of Valhalla | |||
| image_flag = Flag of Valhalla.svg <!-- filename only, upload via Special:Upload --> | |||
| image_flag_size = 150px | |||
| capital_system = Asgard System | |||
| capital_planet = [[Asgard Prime (planet)|Asgard Prime]] | |||
| capital_city = New Asgard | |||
| largest_city = New Asgard | |||
| official_languages= Galactic Standard, Old Norse dialects | |||
| demonym = Valhallan, Valkyrian (military) | |||
| government_type = Divine constitutional monarchy | |||
| head_of_state = High King/Queen [[Odin Valhallsson]] (current) | |||
| head_of_gov = Chancellor [[Freya Stormshield]] | |||
| legislature = [[Allthing Stellar]] | |||
| established_event1= Founding by divine mandate | |||
| established_date1 = Cycle 47 AE (After Exodus) | |||
| established_event2= Isekai Convergence | |||
| established_date2 = Cycle 89 AE | |||
| area = ~1,200 light-years radius | |||
| planets = 1,200+ habitable systems | |||
| population = 12.4 billion (estimated 12026 AE) | |||
| currency = Stellar Crown (₡) | |||
}} | |||
- No native_name parameter anymore — problem solved. | |||
- Rows only appear if you fill them. | |||
- Save the template, then on your nation page update the call (remove any old |native_name= line), save, and purge cache with ?action=purge on the URL. | |||
If this still shows raw code or misalignment: | |||
- Confirm ParserFunctions is enabled (go to Special:Version — look for "ParserFunctions"). | |||
- Add basic infobox CSS to **MediaWiki:Common.css** (create if missing): | |||
Revision as of 23:13, 13 January 2026
• {{{established_event2}}}
| Infobox nation
- |
style="text-align: left; vertical-align: top;"
- |
style="text-align: left; vertical-align: top;"
- |
style="text-align: left; vertical-align: top;" | |
|---|---|---|---|---|
| Capital system | Unknown | |||
| Capital planet | ||||
| Capital city | ||||
| Largest city | {Template:Largest city | |||
| Official languages | ||||
| Demonym(s) | ||||
| Government | ||||
| • Head of state | ||||
| • Head of government | ||||
| Legislature | ||||
| Establishment | ||||
| • Founding | ||||
| Area / Territory | ||||
| Planets / Systems | Unknown | |||
| Population | ||||
| Currency | ||||
Usage example
| The Star Kingdom of Valhalla
- |
style="text-align: left; vertical-align: top;"
- |
style="text-align: left; vertical-align: top;" | |
|---|---|---|---|
| Capital system | Asgard System | ||
| Capital planet | Asgard Prime | ||
| Capital city | New Asgard | ||
| Largest city | {Template:Largest city | ||
| Official languages | Galactic Standard, Old Norse dialects | ||
| Demonym(s) | Valhallan, Valkyrian (military) | ||
| Government | Divine constitutional monarchy | ||
| • Head of state | High King/Queen Odin Valhallsson (current) | ||
| • Head of government | Chancellor Freya Stormshield | ||
| Legislature | Allthing Stellar | ||
| Establishment | |||
| • Founding by divine mandate | Cycle 47 AE (After Exodus) | ||
| style="text-align: left;" | |||
| Area / Territory | ~1,200 light-years radius | ||
| Planets / Systems | 1,200+ habitable systems | ||
| Population | 12.4 billion (estimated 12026 AE) | ||
| Currency | Stellar Crown (₡) | ||
- No native_name parameter anymore — problem solved. - Rows only appear if you fill them. - Save the template, then on your nation page update the call (remove any old |native_name= line), save, and purge cache with ?action=purge on the URL.
If this still shows raw code or misalignment: - Confirm ParserFunctions is enabled (go to Special:Version — look for "ParserFunctions"). - Add basic infobox CSS to **MediaWiki:Common.css** (create if missing):