Template:RegionInfobox: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 31: Line 31:
|- {{#if: {{{gdp|}}} | | {{#if: {{{population|}}} | {{#if: {{{gdp_per_capita|}}} | | style="display: none;" }} | style="display: none;" }} }}
|- {{#if: {{{gdp|}}} | | {{#if: {{{population|}}} | {{#if: {{{gdp_per_capita|}}} | | style="display: none;" }} | style="display: none;" }} }}
! GDP
! GDP
| {{#if: {{{gdp|}}} | [[Gotha standard|₲]]{{{gdp}}} | {{#if: {{{population|}}}{{{gdp_per_capita|}}} | [[Gotha standard|₲]]{{formatnum: {{#expr: {{formatnum:{{{population}}}|R}} * {{formatnum: {{{gdp_per_capita}}}|R}} round 0 }} }} | }} }}
| {{#if: {{{gdp|}}} | [[Gotha standard|₲]]{{{gdp}}} | {{#if: {{{population|}}}{{{gdp per capita|}}} | [[Gotha standard|₲]]{{formatnum: {{#expr: {{formatnum:{{{population}}}|R}} * {{formatnum: {{{gdp per capita}}}|R}} round 0 }} }} | }} }}
|- {{#if: {{{gdp_per_capita|}}} | | {{#if: {{{population|}}} | {{#if: {{{gdp|}}} | | style="display:none;" }} | style="display: none;" }} }}
|- {{#if: {{{gdp per capita|}}} | | {{#if: {{{population|}}} | {{#if: {{{gdp|}}} | | style="display:none;" }} | style="display: none;" }} }}
! GDP per capita
! GDP per capita
| {{#if: {{{gdp_per_capita|}}} | [[Gotha standard|₲]]{{{gdp_per_capita}}} | {{#if: {{{population|}}}{{{gdp|}}} | [[Gotha standard|₲]]{{formatnum: {{#expr: {{formatnum:{{{gdp}}}|R}}/{{formatnum:{{{population}}}|R}} round 0 }} }} | }} }}
| {{#if: {{{gdp per capita|}}} | [[Gotha standard|₲]]{{{gdp per capita}}} | {{#if: {{{population|}}}{{{gdp|}}} | [[Gotha standard|₲]]{{formatnum: {{#expr: {{formatnum:{{{gdp}}}|R}}/{{formatnum:{{{population}}}|R}} round 0 }} }} | }} }}
|}
|}

Revision as of 07:18, 13 November 2024

RegionInfobox

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