Template:Infobox economy: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
{{#if:{{{gdp_nominal_total|}}}|<tr {{#if:{{{gdp_nominal_per_capita|}}}| class="cont" |}}><td>• Total</td><td>{{{gdp_nominal_total|}}}</td></tr>|}} | {{#if:{{{gdp_nominal_total|}}}|<tr {{#if:{{{gdp_nominal_per_capita|}}}| class="cont" |}}><td>• Total</td><td>{{{gdp_nominal_total|}}}</td></tr>|}} | ||
{{#if:{{{gdp_nominal_per_capita|}}}|<tr><td>• Per capita</td><td>{{{gdp_nominal_per_capita|}}}</td></tr>|}} | {{#if:{{{gdp_nominal_per_capita|}}}|<tr><td>• Per capita</td><td>{{{gdp_nominal_per_capita|}}}</td></tr>|}} | ||
{{#if:{{{hdi|}}}|<tr><td><b>HDI</b> ({{{hdi_year|{{CURRENTYEAR}}}}})</td><td>{{{hdi|}}}<br />{{#ifexpr:{{{hdi}}}>1|{{color|red|error}}|{{#ifexpr:{{{hdi}}}>0.801|{{color|darkgreen|very high}}|{{#ifexpr:{{{hdi}}}>0.711|{{color|forestgreen|high}}|{{#ifexpr:{{{hdi}}}>0.535|{{color|orange|medium}}|{{#ifexpr:{{{hdi}}}>=0.000|{{color|red|low}}|{{color|red| | {{#if:{{{hdi|}}}|<tr><td><b>HDI</b> ({{{hdi_year|{{CURRENTYEAR}}}}})</td><td>{{{hdi|}}}<br />{{#ifexpr:{{{hdi}}}>1| {{color|red|error}} | {{#ifexpr:{{{hdi}}}>0.801 | {{color|darkgreen|very high}} | {{#ifexpr:{{{hdi}}}>0.711 | {{color|forestgreen|high}} | {{#ifexpr:{{{hdi}}}>0.535 | {{color|orange|medium}} | {{#ifexpr:{{{hdi}}}>=0.000|{{color|red|low}} | {{color|red|error}} }} }} }} }} }}</td></tr>|}} | ||
{{#if:{{{main_exports|}}}|<tr {{#if:{{{main_imports|}}}| class="cont" |}}><td><b>Principal exports</b></td><td>{{{main_exports|}}}</td></tr>|}} | {{#if:{{{main_exports|}}}|<tr {{#if:{{{main_imports|}}}| class="cont" |}}><td><b>Principal exports</b></td><td>{{{main_exports|}}}</td></tr>|}} | ||
{{#if:{{{main_imports|}}}|<tr><td><b>Principal imports</b></td><td>{{{main_imports|}}}</td></tr>|}} | {{#if:{{{main_imports|}}}|<tr><td><b>Principal imports</b></td><td>{{{main_imports|}}}</td></tr>|}} |
Revision as of 22:28, 22 January 2022
This infobox is designed provide an overview of the economic situation in your territory. It includes one custom row that can designed to accommodate the unique circumstances of a territory. This template is not designed to be all-encompassing, but it should provide an effective overview of how your country operates economically to facilitate global collaboration.
{{Infobox economy | name = (territory name) | economy_type = (closed, command, market, mixed, natural, open, planned, subsistence) | currency = | monetary_authority = | gdp_ppp_year = (defaults to current year if not provided) | gdp_ppp_total = | gdp_ppp_per_capita = | gdp_nominal_year = (defaults to current year if not provided) | gdp_nominal_total = | gdp_nominal_per_capita = | hdi = (symbols can be manually added before the figure by including {{increase}}, {{steady}}, or {{decrease}}) | hdi_year = (defaults to current year if not provided) | main_exports = (plain text; please only include primary exports) | main_imports = (plain text; please only include primary imports) | sector_bars = (to highlight percentages of an economy by sector; must use {{bar percent}} and may include up to eight) | custom_label1 = (custom label that appears in bold on the left side of the infobox) | custom1 = (custom information that is defined by custom_label1) }}