Template:Infobox economy: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><table class="infobox"> | <includeonly><table class="infobox"> | ||
<tr class="cont"><th colspan="2" style="text-align:center; background: #e8caca;>[[File:Q159810 noun 509351 ccParkjisun economy.svg|50px|link=]]</th></tr> | <tr class="cont"><th colspan="2" style="text-align:center; background: #e8caca;>[[File:Q159810 noun 509351 ccParkjisun economy.svg|50px|link=]]</th></tr> | ||
<tr><th colspan="2" style="text-align:center; background: #e8caca;">Economy of {{{name|{{PAGENAME}}}}}</th></tr> | <tr><th colspan="2" style="text-align:center; background: #e8caca;">Economy of {{{name|{{PAGENAME}}}}}</th></tr><!-- | ||
{{#if:{{{economy_type|}}}|<tr><td colspan="2" align="center">{{{economy_type|}}}</td></tr>|}} | -->{{#if:{{{economy_type|}}}|<tr><td colspan="2" align="center">[[Index:World_economics#Economic_systems|{{{economy_type|}}}]]</td></tr>|}}<!-- | ||
{{#if:{{{currency|}}}|<tr {{#if:{{{sample|}}}{{{monetary_authority|}}}| class="cont" |}}><td><b>[[Index:Currencies|Currency]]</b></td><td>{{{currency|}}}</td></tr>|}} | -->{{#if:{{{currency|}}}|<tr {{#if:{{{sample|}}}{{{monetary_authority|}}}| class="cont" |}}><td><b>[[Index:Currencies|Currency]]</b></td><td>{{{currency|}}}</td></tr>|}}<!-- | ||
{{#if:{{{sample|}}}|<tr {{#if:{{{monetary_authority|}}}| class="cont" |}}><td colspan="2">[[File:{{{sample|}}}|right| | -->{{#if:{{{sample|}}}|<tr {{#if:{{{monetary_authority|}}}| class="cont" |}}><td colspan="2">[[File:{{{sample|}}}|right|125px]]</td></tr>|}}<!-- | ||
{{#if:{{{monetary_authority|}}}|<tr><td><b>Monetary authority</b></td><td>{{{monetary_authority|}}}</td></tr>|}} | -->{{#if:{{{monetary_authority|}}}|<tr><td><b>Monetary authority</b></td><td>{{{monetary_authority|}}}</td></tr>|}}<!-- | ||
{{#if:{{{gdp_ppp_total|}}}{{{gdp_ppp_per_capita|}}}|<tr class="cont"><td><b>GDP (PPP)</b></td><td>{{{gdp_ppp_year|{{CURRENTYEAR}}}}}</td></tr>|}} | -->{{#if:{{{gdp_ppp_total|}}}{{{gdp_ppp_per_capita|}}}|<tr class="cont"><td><b>GDP (PPP)</b></td><td>{{{gdp_ppp_year|{{CURRENTYEAR}}}}}</td></tr>|}}<!-- | ||
{{#if:{{{gdp_ppp_total|}}}|<tr {{#if:{{{gdp_ppp_per_capita|}}}| class="cont" |}}><td>• Total</td><td>{{{gdp_ppp_total|}}}</td></tr>|}} | -->{{#if:{{{gdp_ppp_total|}}}|<tr {{#if:{{{gdp_ppp_per_capita|}}}| class="cont" |}}><td>• Total</td><td>{{{gdp_ppp_total|}}}</td></tr>|}}<!-- | ||
{{#if:{{{gdp_ppp_per_capita|}}}|<tr><td>• Per capita</td><td>{{{gdp_ppp_per_capita|}}}</td></tr>|}} | -->{{#if:{{{gdp_ppp_per_capita|}}}|<tr><td>• Per capita</td><td>{{{gdp_ppp_per_capita|}}}</td></tr>|}}<!-- | ||
{{#if:{{{gdp_nominal_total|}}}{{{gdp_nominal_per_capita|}}}|<tr class="cont"><td><b>GDP (nominal)</b></td><td>{{{gdp_nominal_year|{{CURRENTYEAR}}}}}</td></tr>|}} | -->{{#if:{{{gdp_nominal_total|}}}{{{gdp_nominal_per_capita|}}}|<tr class="cont"><td><b>GDP (nominal)</b></td><td>{{{gdp_nominal_year|{{CURRENTYEAR}}}}}</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_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|error}} }} }} }} }} }} </td></tr>|}} | -->{{#if:{{{hdi|}}}|<tr><td><b>[[Index:World_economics#HDI|HDI]]</b> ({{{hdi_year|{{CURRENTYEAR}}}}})</td><td>{{{hdi_change|}}} {{{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:{{{unemployment|}}}|<tr><td><b>Unemployment rate</b></td><td>{{{unemployment|}}}</td></tr>|}} | -->{{#if:{{{unemployment|}}}|<tr><td><b>Unemployment rate</b></td><td>{{{unemployment|}}}</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>|}}<!-- | ||
{{#if:{{{sector_bars|}}}|<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Industries and sectors</b></div></td></tr> | -->{{#if:{{{sector_bars|}}}|<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Industries and sectors</b></div></td></tr> | ||
<tr><td colspan="2"><table class="barbox" style="background: #ffffff; font-size:88%; padding:0.4em; width:auto;">{{{sector_bars|}}}</table></td></tr>|}} | <tr><td colspan="2"><table class="barbox" style="background: #ffffff; font-size:88%; padding:0.4em; width:auto;">{{{sector_bars|}}}</table></td></tr>|}}<!-- | ||
{{#if:{{{custom_label1|}}}{{{custom1|}}}|<tr><td><b>{{{custom_label1|}}}</b></td><td>{{{custom1|}}}</td></tr>|}} | -->{{#if:{{{custom_label1|}}}{{{custom1|}}}|<tr><td><b>{{{custom_label1|}}}</b></td><td>{{{custom1|}}}</td></tr>|}}<!-- | ||
{{#if:{{{custom_label2|}}}{{{custom2|}}}|<tr><td><b>{{{custom_label2|}}}</b></td><td>{{{custom2|}}}</td></tr>|}} | -->{{#if:{{{custom_label2|}}}{{{custom2|}}}|<tr><td><b>{{{custom_label2|}}}</b></td><td>{{{custom2|}}}</td></tr>|}} | ||
</table> | </table> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 37: | Line 37: | ||
| gdp_nominal_total = | | gdp_nominal_total = | ||
| gdp_nominal_per_capita = | | gdp_nominal_per_capita = | ||
| hdi = (symbols can be manually added | | hdi = number only | ||
| hdi_change = (symbols can be manually added by including {{increase}}, {{steady}}, or {{decrease}}) | |||
| hdi_year = (defaults to current year if not provided) | | hdi_year = (defaults to current year if not provided) | ||
| unemployment = | | unemployment = |
Latest revision as of 22:35, 25 May 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 = | sample = (currency specimen, without File: included) | 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 = number only | hdi_change = (symbols can be manually added by including {{increase}}, {{steady}}, or {{decrease}}) | hdi_year = (defaults to current year if not provided) | unemployment = | 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) | custom_label2 = (custom label that appears in bold on the left side of the infobox) | custom2 = (custom information that is defined by custom_label1) }}