Template:RegionInfobox: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
No edit summary
m (Hiding unused parameters)
Line 1: Line 1:
{| class="infobox" style="width: 300px; border: solid 1px #AAA;"
{| class="infobox" style="width: 300px; border: solid 1px #AAA;"
|+ style="background-color: #A9BCF5; text-align: center;" | '''{{{Region name|Region name placeholder}}}'''
|+ style="background-color: #A9BCF5; text-align: center;" | '''{{{Region name|{{PAGENAME}}}}}'''
|-
|- {{#if: {{{flag|}}}{{{coa|}}} | | style="display: none;" }}
! colspan="2" style="background-color: #A9BCF5; text-align: center;" | Region
| style="text-align: center;" | [[File:{{{flag}}}|120px]]
|-
| style="text-align: center;" | [[File:{{{coa}}}|120px]]
| style="text-align: center;" | [[File:{{{flag|placeholder.png}}}|120px]]
|- {{#if: {{{map|}}} | | style="display: none;" }}
| style="text-align: center;" | [[File:{{{coa|placeholder.png}}}|120px]]
| colspan="2" style="text-align: center; background-color: #EFEFEF;" | [[File:{{{map}}}|150px]]
|-
|- {{#if: {{{country|}}} | | style="display: none;" }}
| colspan="2" style="text-align: center; background-color: #EFEFEF;" | [[File:{{{map|placeholdermap.png}}}|150px]]
! Country
|-
| {{{country}}}
! Country:
|- {{#if: {{{capital|}}} | | style="display: none;" }}
| [[{{{country|sample_nation}}}]]
! Capital
|-
| {{{capital}}}
! Capital:
|- {{#if: {{{area|}}} | | style="display: none;" }}
| [[{{{capital|sample_city}}}]]
! Area
|-
| {{{area}}} km<sup>2</sup>
! Area:
|- {{#if: {{{population|}}}{{{density|}}} | | style="display:none;" }}
| {{{area|0.000.000 km<sup>2</sup>}}}
! Population<br>Density
|-
| {{{population}}}<br>{{{density}}}/km<sup>2</sup>
! Population:<br>Density:
|- {{#if: {{{demonym|}}} | | style="display: none;" }}
| {{{population|0.000.000}}}<br>{{{density|0.000 km<sup>2</sup>}}}
|-
! Demonym
! Demonym
| {{{demonym|Name}}}
| {{{demonym}}}
|-
|- {{#if: {{{timezone|}}} | | style="display: none;" }}
! Time zone
! Time zone
| {{{timezone|0}}}
| {{{timezone}}}
|-
|- {{#if: {{{gdp|}}} | | style="display: none;" }}
! GDP:
! GDP
| {{{gdp|x}}}
| {{{gdp}}}
|-
|- {{#if: {{{gdp_per_capita|}}} | | style="display: none;" }}
! GDP per capita:
! GDP per capita
| {{{gdp_per_capita|}}}
| {{{gdp_per_capita}}}
|}
|}

Revision as of 08:19, 12 November 2024

RegionInfobox
[[File:{{{flag}}}|120px]] [[File:{{{coa}}}|120px]]
[[File:{{{map}}}|150px]]
Country {{{country}}}
Capital {{{capital}}}
Area {{{area}}} km2
Population
Density
{{{population}}}
{{{density}}}/km2
Demonym {{{demonym}}}
Time zone {{{timezone}}}
GDP {{{gdp}}}
GDP per capita {{{gdp_per_capita}}}