Difference between revisions of "Template:Infobox economy"
Jump to navigation
Jump to search
m |
m |
||
Line 12: | Line 12: | ||
{{#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>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:{{{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>|}} | ||
Line 17: | Line 18: | ||
<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>|}} | ||
</table> | </table> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 35: | Line 37: | ||
| hdi = (symbols can be manually added before the figure by including {{increase}}, {{steady}}, or {{decrease}}) | | hdi = (symbols can be manually added before the figure 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 = | ||
| main_exports = (plain text; please only include primary exports) | | main_exports = (plain text; please only include primary exports) | ||
| main_imports = (plain text; please only include primary imports) | | main_imports = (plain text; please only include primary imports) | ||
Line 40: | Line 43: | ||
| custom_label1 = (custom label that appears in bold on the left side of the infobox) | | custom_label1 = (custom label that appears in bold on the left side of the infobox) | ||
| custom1 = (custom information that is defined by custom_label1) | | 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) | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Revision as of 18:05, 23 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) | 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) }}