Template:Infobox country: Difference between revisions

no edit summary
m (1 revision imported)
No edit summary
Line 173:
-->|<!--else:-->{{#if:{{{capital_type|}}}
|<!--then:-->'''{{{capital_type}}}'''<!--
-->|<!--else:-->'''[[Capital]]'''<!--
-->}}<!--
-->}}<!--
Line 195:
capital is largest_city or largest_settlement:
--------------------------------------------------------
--><br/>[[Demographics of {{{common_name}}}|(and {{{largest_settlement_type|largest city}}})]]
</td><!--
--------Add capital:--------
Line 228:
<th colspan="2"><!--
-->{{#if:{{{common_name|}}}
|<!--then:-->[[Demographics of {{{common_name}}}|Largest {{{largest_settlement_type|city}}}]]<!--
-->|<!--else:-->Largest {{{largest_settlement_type|city}}}<!--
-->}}<!--
Line 245:
--><th colspan="2"><!--
-->{{#if:{{{common_name|}}}
|<!--then:-->[[Demographics of {{{common_name}}}|Largest {{{largest_settlement_type|city}}}]]<!--
-->|<!--else:-->Largest {{{largest_settlement_type|city}}}<!--
-->}}<!--
Line 260:
-->{{#if:{{{official_languages|}}}{{{languages|}}} |<!--then:
--><tr>
<th colspan="2" style="vertical-align:middle; white-space:nowrap;">{{{languages_type|[[Official language]]slanguages}}}</th>
<td>{{{official_languages|}}}{{{languages|}}}</td>
</tr><!--
-->{{#if:{{{regional_languages|}}} |<!--then:
--><tr class="mergedbottomrow">
<td colspan="2">[[Regional language|Recognised regional&nbsp;language]]slanguages</td>
<td style="vertical-align:middle;">{{{regional_languages|}}}</td>
</tr><!--
Line 272:
-->{{#if:{{{ethnic_groups|}}} |<!--then:
--><tr>
<td colspan="2">'''[[Ethnic group]]sgroups'''&nbsp;<!--
-->{{#if:{{{ethnic_groups_year|}}} |<!--then:-->({{{ethnic_groups_year}}}) }}</td>
<td>{{{ethnic_groups}}}</td>
Line 283:
-->{{#if:{{{demonym|}}} |<!--then:
--><tr>
<th colspan="2">[[Demonym]]</th>
<td>{{#ifexist:{{{demonym}}} people |<!--then:
-->[[{{{demonym}}} people|{{{demonym}}}]] |<!--else:
Line 311:
-->{{#if:{{{government_type|}}} |<!--then:
--><tr>
<th colspan="2">[[Government]]</th>
<td>{{{government_type|}}}</td>
</tr><!--
Line 321:
--><tr><th colspan="3">Leaders</th></tr><!--
-->|<!--else template being used for a country or territory:
--><tr><th colspan="3">[[Government]]</th></tr><!--
-->}}<!--
-->}}<!--
Line 484:
--France-related footnote:-->{{#if:{{{FR_foot4|}}} |<!--then:-->{{{FR_foot4}}} }}</td>
<td>[[{{{area_magnitude|}}} {{#if:{{{area_magnitude|}}} |<!--then:-->m² |<!--else:-->Square metre}} | {{formatnum:{{{area_km2|{{{area|}}}}}}}}&nbsp;km²]]&nbsp;<!--
-->{{#if:{{{area_rank|}}} |<!--then:-->([[List of countries and outlying territories by area|{{{area_rank}}}]]) }}<!--
--><br/>{{#if:{{{area_sq_mi|{{{areami²|}}}}}}|{{formatnum:{{{area_sq_mi|{{{areami²|}}}}}}}}|{{formatnum:{{#expr: {{{area_km2|{{{area|}}}}}} div 2.589988110336 round 0}}}}}}&nbsp;[[Square mile|sq&nbsp;mi]]&nbsp;</td>
</tr><!--
-->}}<!--
Line 492:
--><tr class="mergedrow">
<td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
<td style="padding-left:0em;">[[Water]]&nbsp;([[Percent|%]])</td>
<td>{{{percent_water|}}}</td>
</tr><!--
Line 504:
<tr class="mergedrow">
<td style="width:1em; padding:0 0 0 0.6em;">&nbsp;</td>
<td style="padding-left:1em;">-&nbsp;[[Institut Géographique National|IGN]]{{{FR_foot2|}}}</td>
<td>[[{{{FR_IGN_area_magnitude|}}} {{#if:{{{FR_IGN_area_magnitude|}}} |<!--then:-->m² |<!--else:-->Square metre}} | {{formatnum:{{{FR_IGN_area_km2|{{{FR_IGN_area}}}}}}}}&nbsp;km²]]&nbsp;([[List of countries and outlying territories by total area|{{{FR_IGN_area_rank|}}}]])<br/><!--
-->{{#if:{{{FR_IGN_area_sq_mi|{{{FR_IGN_areami²|}}}}}}|{{formatnum:{{{FR_IGN_area_sq_mi|{{{FR_IGN_areami²|}}}}}}}}|{{formatnum:{{#expr: {{{FR_IGN_area_km2|{{{FR_IGN_area}}}}}} div 2.589988110336 round 0}}}}}}&nbsp;sq&nbsp;mi</td>
Line 511:
<td style="width:1em; padding:0 0 0 0.6em;">&nbsp;</td>
<td style="padding-left:1em;">-&nbsp;[[Cadastre]]{{{FR_foot3|}}}</td>
<td>[[{{{FR_cadastre_area_magnitude|}}} {{#if:{{{FR_cadastre_area_magnitude|}}} |<!--then:-->m² |<!--else:-->Square metre}} | {{formatnum:{{{FR_cadastre_area_km2|{{{FR_cadastre_area}}}}}}}}&nbsp;km²]]&nbsp;([[List of countries and outlying territories by total area|{{{FR_cadastre_area_rank|}}}]])<br/><!--
-->{{#if:{{{FR_cadastre_area_sq_mi|{{{FR_cadastre_areami²|}}}}}}|{{formatnum: {{{FR_cadastre_area_sq_mi|{{{FR_cadastre_areami²|}}}}}}}}|{{formatnum:{{#expr: {{{FR_cadastre_area_km2|{{{FR_cadastre_area|}}}}}} div 2.589988110336 round 0}}}}}} &nbsp;sq&nbsp;mi</td>
</tr><!--
Line 521:
-->{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} |<!--then:
--><tr class="mergedtoprow">
<th colspan="3">[[Population]]</th>
</tr><!--
---------------Estimate---------------
Line 529:
<td style="padding-left:0em;">{{{population_estimate_year|}}}&nbsp;estimate</td>
<td>{{{population_estimate|}}}&nbsp;<!--
-->{{#if:{{{population_estimate_rank|}}} |<!--then:-->([[List of countries by population|{{{population_estimate_rank}}}]]) }}</td>
</tr><!--
-->}}<!--
Line 538:
<td style="padding-left:0em;">{{{population_census_year|}}}&nbsp;census</td>
<td>{{{population_census|}}}&nbsp;<!--
-->{{#if:{{{population_census_rank|}}} |<!--then:-->([[List of countries by population|{{{population_census_rank}}}]]) }}</td>
</tr><!--
-->}}<!--
Line 584:
<td style="padding-left:0em;">Total</td>
<td>{{{GDP_PPP}}}&nbsp;<!--
-->{{#if:{{{GDP_PPP_rank|}}} |<!--then:-->([[List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}]]) }}</td>
</tr><!--
-------(PPP per capita)-------
Line 590:
--><tr class="mergedbottomrow">
<td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
<td style="padding-left:0em;">[[Per capita]]</td>
<td>{{{GDP_PPP_per_capita}}}&nbsp;<!--
-->{{#if:{{{GDP_PPP_per_capita_rank|}}} |<!--then:-->([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]]) }}</td>
</tr><!--
-->}}<!--
Line 599:
-->{{#if:{{{GDP_nominal|}}} |<!--then:
--><tr class="mergedtoprow">
<td colspan="2">'''[[Gross domestic product|GDP]]''' (nominal)</td>
<td>{{{GDP_nominal_year|}}}&nbsp;estimate</td>
</tr>
Line 606:
<td style="padding-left:0em;">Total</td>
<td>{{{GDP_nominal}}}&nbsp;<!--
-->{{#if:{{{GDP_nominal_rank|}}} |<!--then:-->([[List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]]) }}</td>
</tr><!--
-------(Nominal per capita)-------
Line 614:
<td style="padding-left:0em;">[[Per capita]]</td>
<td>{{{GDP_nominal_per_capita}}}&nbsp;<!--
-->{{#if:{{{GDP_nominal_per_capita_rank|}}} |<!--then:-->([[List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}]]) }}</td>
</tr><!--
-->}}<!--
Line 624:
-->{{#if:{{{Gini|}}} |<!--then:
--><tr>
<td colspan="2">'''[[Gini_coefficient|Gini]]'''<sup style="cursor:help">{{Template:H:title|A Gini index of 0 represents perfect economic equality, and 100 perfect inequality|?}}</sup>&nbsp;{{#if:{{{Gini_year|}}} |<!--then:-->({{{Gini_year|}}}) }}</td>
<td>{{{Gini}}}&nbsp;<!--
-->{{#if:{{{Gini_category|}}} |<!--then:-->({{{Gini_category|}}})&nbsp;}}<!--
-->{{#if:{{{Gini_rank|}}} |<!--then:-->([[List of countries by income equality|{{{Gini_rank}}}]]) }}</td>
</tr><!--
-->}}<!--
Line 636:
-->{{#if:{{{FSI|}}} |<!--then:
--><tr>
<td colspan="2">'''[[Failed States Index|FSI]]'''&nbsp;{{#if:{{{FSI_year|}}} |<!--then:-->({{{FSI_year|}}}) }}</td>
<td>{{{FSI}}}&nbsp;<!--
-->{{#if:{{{FSI_category|}}} |<!--then:-->({{{FSI_category|}}})&nbsp;}}<!--
-->{{#if:{{{FSI_rank|}}} |<!--then:-->([[Failed States|{{{FSI_rank}}}]]) }}</td>
</tr><!--
-->}}<!--
Line 648:
-->{{#if:{{{HDI|}}} |<!--then:
--><tr>
<td colspan="2">'''[[Human Development Index|HDI]]'''&nbsp;{{#if:{{{HDI_year|}}} |<!--then:-->({{{HDI_year|}}}) }}</td>
<td>{{{HDI}}}&nbsp;<!--
-->{{#if:{{{HDI_category|}}} |<!--then:-->({{{HDI_category|}}})&nbsp;}}<!--
-->{{#if:{{{HDI_rank|}}} |<!--then:-->([[List of countries by Human Development Index|{{{HDI_rank}}}]]) }}</td>
</tr><!--
-->}}<!--
Line 660:
-->{{#if:{{{currency|}}} |<!--then:
--><tr>
<th colspan="2" style="vertical-align:middle;">[[Currency]]</th>
<td>{{{currency}}} <!--
-->{{#if:{{{currency_code|}}}
Line 672:
-->{{#if:{{{time_zone|}}}{{{utc_offset|}}} |<!--then:
--><tr {{#if:{{{utc_offset_DST|}}}{{{DST_note|}}} |<!--then:-->class="mergedtoprow"}}>
<th colspan="2">[[Time zone]]</th>
<td>{{{time_zone|}}} <!--
-->{{#if:{{{utc_offset|}}} |<!--then:-->{{nowrap|([[Coordinated Universal Time|UTC]]{{{utc_offset}}})<!--endnowrap:-->}}<!--endif:-->}}</td>
</tr><!--
-->{{#if:{{{utc_offset_DST|}}} |<!--then:
--><tr class="{{#if:{{{DST_note|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
<td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
<td style="padding-left:0em;">Summer&nbsp;([[Daylight saving time|DST]])</td>
<td>{{{DST|{{{time_zone_DST|}}}}}}&nbsp;([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}})</td>
</tr><!--
-->}}<!--
Line 696:
-->{{#if:{{{cctld|}}} |<!--then:
--><tr>
<th colspan="2">[[Country code top-level domain|Internet TLD]]</th>
<td>{{{cctld}}}</td>
</tr><!--
Line 716:
-->{{#if:{{{calling_code|}}} |<!--then:
--><tr>
<th colspan="2">[[Calling code]]</th>
<td>[[+{{{calling_code}}}]]<!--
-->{{#if:{{{calling_code_note|}}} |<!--then:
-->{{{calling_code_note}}}<!--
Line 730:
-->{{#if:{{{patron_saint|}}} |<!--then:
--><tr>
<th colspan="2" >[[Patron saint]]</th>
<td>{{{patron_saint}}}</td>
</tr><!--
Line 742:
-->{{#if:{{{image_map3|}}} |<!--then:
--><tr class="mergedtoprow">
<td colspan="3" style="text-align:center; padding:0.6em 0em;"> [[Image:{{{image_map3}}} |{{{map3_width|250px}}} |center |Location of {{{common_name|{{{linking_name|{{PAGENAME}}}}}}}}]] <div style="position:relative; top:0.3em;"><small>{{{map_caption3|}}}</small></div>
</td>
</tr><!--