Template:RegionInfobox: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 18: Line 18:
! Population
! Population
| {{{population}}}
| {{{population}}}
|- {{#if: {{{area|}}}{{{population|}}}{{{density|}}} | | style="display:none;" }}
|- {{#if: {{{density|}}} | | {{#if: {{{area|}}} | | {{#if: {{{population|}}} | | style="display:none;" }} }} }}
! Density
! Density
| {{#if: {{{density|}}} | {{{density}}}/km<sup>2</sup> | {{#if: {{{area|}}}{{{population|}}} | {{#expr: {{formatnum:{{{population}}}|R}}/{{formatnum:{{{area}}}|R}} round 2 }}/km<sup>2</sup> | }} }}
| {{#if: {{{density|}}} | {{{density}}}/km<sup>2</sup> | {{#if: {{{area|}}}{{{population|}}} | {{#expr: {{formatnum:{{{population}}}|R}}/{{formatnum:{{{area}}}|R}} round 2 }}/km<sup>2</sup> | }} }}

Revision as of 21:20, 12 November 2024

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