Difference between revisions of "Template:Infobox Country"
From FenWiki
(Trying to see if I can't fix the ferslaggin' dropped TR tags in the template. Fenspace-specific fields haven't been readded in yet - DO NOT BE ALARMED) |
m (Still working on the railroad. Fen-specific fields will be reloaded at the first opportunity.) |
||
Line 103: | Line 103: | ||
-->{{#if:{{{national_motto|}}}{{{motto|}}} |<!--then: | -->{{#if:{{{national_motto|}}}{{{motto|}}} |<!--then: | ||
--><tr> <td colspan="3" style="line-height:1.2em; text-align:center;"><!-- | --><tr> <td colspan="3" style="line-height:1.2em; text-align:center;"><!-- | ||
− | -->''' | + | -->'''Motto: '''{{{national_motto|}}}{{{motto|}}}</td> |
</tr><!-- | </tr><!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 114: | Line 114: | ||
<td class="anthem" colspan="3" style="line-height:1.2em; text-align:center;"><!-- | <td class="anthem" colspan="3" style="line-height:1.2em; text-align:center;"><!-- | ||
-->{{#if:{{{national_anthem|}}} | -->{{#if:{{{national_anthem|}}} | ||
− | |<!--then:-->''' | + | |<!--then:-->'''Anthem: '''{{{national_anthem}}}<br/> |
}}<!-- | }}<!-- | ||
-->{{#if:{{{anthem|}}} | -->{{#if:{{{anthem|}}} | ||
− | |<!--then:-->''' | + | |<!--then:-->'''Anthem: '''{{{anthem}}}<br/> |
}}<!-- | }}<!-- | ||
-->{{#if:{{{royal_anthem|}}} | -->{{#if:{{{royal_anthem|}}} | ||
− | |<!--then:-->''' | + | |<!--then:-->'''Royal anthem: '''{{{royal_anthem}}} |
}}<!-- | }}<!-- | ||
--></td> | --></td> | ||
Line 168: | Line 168: | ||
-->|<!--else:-->{{#if:{{{capital_type|}}} | -->|<!--else:-->{{#if:{{{capital_type|}}} | ||
|<!--then:-->'''{{{capital_type}}}'''<!-- | |<!--then:-->'''{{{capital_type}}}'''<!-- | ||
− | -->|<!--else:-->''' | + | -->|<!--else:-->'''Capital'''<!-- |
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 226: | Line 226: | ||
-->{{#if:{{{common_name|}}} | -->{{#if:{{{common_name|}}} | ||
|<!--then:-->{{#ifexist:List of cities in {{{common_name}}} | |<!--then:-->{{#ifexist:List of cities in {{{common_name}}} | ||
− | + | |Largest {{{largest_settlement_type|city}}} | |
|Largest {{{largest_settlement_type|city}}} | |Largest {{{largest_settlement_type|city}}} | ||
}} | }} | ||
Line 245: | Line 245: | ||
-->{{#if:{{{common_name|}}} | -->{{#if:{{{common_name|}}} | ||
|<!--then:-->{{#ifexist:List of cities in {{{common_name}}} | |<!--then:-->{{#ifexist:List of cities in {{{common_name}}} | ||
− | + | |(and {{{largest_settlement_type|largest city}}}) | |
|(and {{{largest_settlement_type|largest city}}}) | |(and {{{largest_settlement_type|largest city}}}) | ||
}} | }} | ||
Line 262: | Line 262: | ||
-->{{#if:{{{official_languages|}}} |<!--then: | -->{{#if:{{{official_languages|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <th colspan="2" style="vertical-align:middle; white-space:nowrap;"> | + | <th colspan="2" style="vertical-align:middle; white-space:nowrap;">Official language(s)</th> |
<td>{{{official_languages|}}}</td> | <td>{{{official_languages|}}}</td> | ||
</tr><!-- | </tr><!-- | ||
-->{{#if:{{{regional_languages|}}} |<!--then: | -->{{#if:{{{regional_languages|}}} |<!--then: | ||
--><tr class="mergedbottomrow"> | --><tr class="mergedbottomrow"> | ||
− | <td colspan="2"> | + | <td colspan="2">Recognised regional languages</td> |
<td style="vertical-align:middle;">{{{regional_languages|}}}</td> | <td style="vertical-align:middle;">{{{regional_languages|}}}</td> | ||
</tr><!-- | </tr><!-- | ||
Line 281: | Line 281: | ||
-->{{#if:{{{ethnic_groups|}}} |<!--then: | -->{{#if:{{{ethnic_groups|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <td colspan="2">''' | + | <td colspan="2">'''Ethnic groups''' <!-- |
-->{{#if:{{{ethnic_groups_year|}}} |<!--then:-->({{{ethnic_groups_year}}}) }}</td> | -->{{#if:{{{ethnic_groups_year|}}} |<!--then:-->({{{ethnic_groups_year}}}) }}</td> | ||
<td>{{{ethnic_groups}}}</td> | <td>{{{ethnic_groups}}}</td> | ||
Line 292: | Line 292: | ||
-->{{#if:{{{demonym|}}} |<!--then: | -->{{#if:{{{demonym|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <th colspan="2"> | + | <th colspan="2">Demonym</th> |
<td>{{#ifexist:{{{demonym}}} people |<!--then: | <td>{{#ifexist:{{{demonym}}} people |<!--then: | ||
-->[[{{{demonym}}} people|{{{demonym}}}]] |<!--else: | -->[[{{{demonym}}} people|{{{demonym}}}]] |<!--else: | ||
Line 320: | Line 320: | ||
-->{{#if:{{{government_type|}}} |<!--then: | -->{{#if:{{{government_type|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <th colspan="2"> | + | <th colspan="2">Government</th> |
<td>{{{government_type|}}}</td> | <td>{{{government_type|}}}</td> | ||
</tr><!-- | </tr><!-- | ||
Line 330: | Line 330: | ||
--><tr><th colspan="3">Leaders</th></tr><!-- | --><tr><th colspan="3">Leaders</th></tr><!-- | ||
-->|<!--else template being used for a country or territory: | -->|<!--else template being used for a country or territory: | ||
− | --><tr><th colspan="3"> | + | --><tr><th colspan="3">Government</th></tr><!-- |
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 389: | Line 389: | ||
-->{{#if:{{{upper_house|}}} |<!--then: | -->{{#if:{{{upper_house|}}} |<!--then: | ||
--> <td style="width:1em; padding:0 0 0 0.6em;"> - </td> | --> <td style="width:1em; padding:0 0 0 0.6em;"> - </td> | ||
− | <td style="padding-left:0em;"> | + | <td style="padding-left:0em;">Upper House</td> |
<td>{{{upper_house}}}</td> | <td>{{{upper_house}}}</td> | ||
</tr><!-- | </tr><!-- | ||
Line 396: | Line 396: | ||
--><tr class="mergedbottomrow"> | --><tr class="mergedbottomrow"> | ||
<td style="width:1em; padding:0 0 0 0.6em;"> - </td> | <td style="width:1em; padding:0 0 0 0.6em;"> - </td> | ||
− | <td style="padding-left:0em;"> | + | <td style="padding-left:0em;">Lower House</td> |
<td>{{{lower_house}}}</td> | <td>{{{lower_house}}}</td> | ||
</tr><!-- | </tr><!-- | ||
Line 504: | Line 504: | ||
-->{{#if:{{{accessionEUdate|}}} |<!--then: | -->{{#if:{{{accessionEUdate|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <th colspan="2"> | + | <th colspan="2">EU accession</th> |
<td style="vertical-align:middle;">{{{accessionEUdate}}}</td> | <td style="vertical-align:middle;">{{{accessionEUdate}}}</td> | ||
</tr><!-- | </tr><!-- | ||
Line 514: | Line 514: | ||
-->{{#if:{{{area_km2|}}} |<!--then: | -->{{#if:{{{area_km2|}}} |<!--then: | ||
--><tr class="mergedtoprow"> | --><tr class="mergedtoprow"> | ||
− | <th colspan="3"> | + | <th colspan="3">Area</th> |
</tr> | </tr> | ||
<tr class="mergedrow"> | <tr class="mergedrow"> | ||
Line 520: | Line 520: | ||
<td style="padding-left:0em;">{{{area_label|Total}}}<!-- | <td style="padding-left:0em;">{{{area_label|Total}}}<!-- | ||
--France-related footnote:-->{{#if:{{{FR_foot4|}}} |<!--then:-->{{{FR_foot4}}} }}</td> | --France-related footnote:-->{{#if:{{{FR_foot4|}}} |<!--then:-->{{{FR_foot4}}} }}</td> | ||
− | <td> | + | <td>{{{area_magnitude|}}} {{#if:{{{area_magnitude|}}} |<!--then:-->m² |<!--else:-->Square metre}} | {{formatnum:{{{area_km2|}}}}} km<sup>2</sup> <!-- |
− | -->{{#if:{{{area_footnote|}}}|{{{area_footnote|}}} }}{{#if:{{{area_rank|}}} |<!--then:-->( | + | -->{{#if:{{{area_footnote|}}}|{{{area_footnote|}}} }}{{#if:{{{area_rank|}}} |<!--then:-->({{{area_rank}}}) }}<!-- |
--><br/>{{#if:{{{area_sq_mi|}}}|{{formatnum:{{{area_sq_mi|}}}}}|{{formatnum:{{#expr: {{{area_km2|}}} div 2.589988110336 round 0}}}}}} [[Square mile|sq mi]] </td> | --><br/>{{#if:{{{area_sq_mi|}}}|{{formatnum:{{{area_sq_mi|}}}}}|{{formatnum:{{#expr: {{{area_km2|}}} div 2.589988110336 round 0}}}}}} [[Square mile|sq mi]] </td> | ||
</tr><!-- | </tr><!-- | ||
Line 529: | Line 529: | ||
--><tr class="mergedrow"> | --><tr class="mergedrow"> | ||
<td style="width:1em; padding:0 0 0 0.6em;"> - </td> | <td style="width:1em; padding:0 0 0 0.6em;"> - </td> | ||
− | <td style="padding-left:0em;"> | + | <td style="padding-left:0em;">Water (%)</td> |
<td>{{{percent_water|}}}</td> | <td>{{{percent_water|}}}</td> | ||
</tr><!-- | </tr><!-- | ||
Line 566: | Line 566: | ||
-->{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} |<!--then: | -->{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} |<!--then: | ||
--><tr class="mergedtoprow"> | --><tr class="mergedtoprow"> | ||
− | <th colspan="3"> | + | <th colspan="3">Population</th> |
</tr><!-- | </tr><!-- | ||
---------------Estimate--------------- | ---------------Estimate--------------- | ||
Line 622: | Line 622: | ||
-->{{#if:{{{GDP_PPP|}}} |<!--then: | -->{{#if:{{{GDP_PPP|}}} |<!--then: | ||
--><tr class="mergedtoprow"> | --><tr class="mergedtoprow"> | ||
− | <td colspan="2">''' | + | <td colspan="2">'''GDP''' (PPP)</td> |
<td>{{{GDP_PPP_year|}}} estimate</td> | <td>{{{GDP_PPP_year|}}} estimate</td> | ||
</tr> | </tr> | ||
Line 637: | Line 637: | ||
<td style="padding-left:0em;">[[Per capita]]</td> | <td style="padding-left:0em;">[[Per capita]]</td> | ||
<td>{{{GDP_PPP_per_capita}}} <!-- | <td>{{{GDP_PPP_per_capita}}} <!-- | ||
− | -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |<!--then:-->( | + | -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |<!--then:-->({{{GDP_PPP_per_capita_rank}}}) }}</td> |
</tr><!-- | </tr><!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 644: | Line 644: | ||
-->{{#if:{{{GDP_nominal|}}} |<!--then: | -->{{#if:{{{GDP_nominal|}}} |<!--then: | ||
--><tr class="mergedtoprow"> | --><tr class="mergedtoprow"> | ||
− | <td colspan="2">''' | + | <td colspan="2">'''GDP''' (nominal)</td> |
<td>{{{GDP_nominal_year|}}} estimate</td> | <td>{{{GDP_nominal_year|}}} estimate</td> | ||
</tr> | </tr> | ||
Line 651: | Line 651: | ||
<td style="padding-left:0em;">Total</td> | <td style="padding-left:0em;">Total</td> | ||
<td>{{{GDP_nominal}}} <!-- | <td>{{{GDP_nominal}}} <!-- | ||
− | -->{{#if:{{{GDP_nominal_rank|}}} |<!--then:-->( | + | -->{{#if:{{{GDP_nominal_rank|}}} |<!--then:-->({{{GDP_nominal_rank}}}) }}</td> |
</tr><!-- | </tr><!-- | ||
-------(Nominal per capita)------- | -------(Nominal per capita)------- | ||
Line 659: | Line 659: | ||
<td style="padding-left:0em;">[[Per capita]]</td> | <td style="padding-left:0em;">[[Per capita]]</td> | ||
<td>{{{GDP_nominal_per_capita}}} <!-- | <td>{{{GDP_nominal_per_capita}}} <!-- | ||
− | -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |<!--then:-->( | + | -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |<!--then:-->({{{GDP_nominal_per_capita_rank}}}) }}</td> |
</tr><!-- | </tr><!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 669: | Line 669: | ||
-->{{#if:{{{Gini|}}} |<!--then: | -->{{#if:{{{Gini|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <td colspan="2">''' | + | <td colspan="2">'''Gini''' {{#if:{{{Gini_year|}}} |<!--then:-->({{{Gini_year|}}}) }}</td> |
<td>{{{Gini}}} <!-- | <td>{{{Gini}}} <!-- | ||
-->{{#if:{{{Gini_category|}}} |<!--then:-->({{{Gini_category|}}}) }}<!-- | -->{{#if:{{{Gini_category|}}} |<!--then:-->({{{Gini_category|}}}) }}<!-- | ||
− | -->{{#if:{{{Gini_rank|}}} |<!--then:-->( | + | -->{{#if:{{{Gini_rank|}}} |<!--then:-->({{{Gini_rank}}}) }}</td> |
</tr><!-- | </tr><!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 681: | Line 681: | ||
-->{{#if:{{{HDI|}}} |<!--then: | -->{{#if:{{{HDI|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <td colspan="2">''' | + | <td colspan="2">'''HDI''' {{#if:{{{HDI_year|}}} |<!--then:-->({{{HDI_year|}}}) }}</td> |
<td>{{{HDI}}} <!-- | <td>{{{HDI}}} <!-- | ||
-->{{#if:{{{HDI_category|}}} |<!--then:-->({{{HDI_category|}}}) }}<!-- | -->{{#if:{{{HDI_category|}}} |<!--then:-->({{{HDI_category|}}}) }}<!-- | ||
− | -->{{#if:{{{HDI_rank|}}} |<!--then:-->( | + | -->{{#if:{{{HDI_rank|}}} |<!--then:-->({{{HDI_rank}}}) }}</td> |
</tr><!-- | </tr><!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 705: | Line 705: | ||
-->{{#if:{{{time_zone|}}}{{{utc_offset|}}} |<!--then: | -->{{#if:{{{time_zone|}}}{{{utc_offset|}}} |<!--then: | ||
--><tr {{#if:{{{utc_offset_DST|}}}{{{DST_note|}}} |<!--then:-->class="mergedtoprow"}}> | --><tr {{#if:{{{utc_offset_DST|}}}{{{DST_note|}}} |<!--then:-->class="mergedtoprow"}}> | ||
− | <th colspan="2"> | + | <th colspan="2">Time zone</th> |
<td>{{{time_zone|}}} <!-- | <td>{{{time_zone|}}} <!-- | ||
− | -->{{#if:{{{utc_offset|}}} |<!--then:-->{{nowrap|( | + | -->{{#if:{{{utc_offset|}}} |<!--then:-->{{nowrap|(UTC{{{utc_offset}}})<!--endnowrap:-->}}<!--endif:-->}}</td> |
</tr><!-- | </tr><!-- | ||
-->{{#if:{{{time_zone_DST|}}}{{{utc_offset_DST|}}} |<!--then: | -->{{#if:{{{time_zone_DST|}}}{{{utc_offset_DST|}}} |<!--then: | ||
--><tr class="{{#if:{{{DST_note|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> | --><tr class="{{#if:{{{DST_note|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> | ||
<td style="width:1em; padding:0 0 0 0.6em;"> - </td> | <td style="width:1em; padding:0 0 0 0.6em;"> - </td> | ||
− | <td style="padding-left:0em;">Summer ( | + | <td style="padding-left:0em;">Summer (DST)</td> |
− | <td>{{{DST|{{{time_zone_DST|}}}}}} ( | + | <td>{{{DST|{{{time_zone_DST|}}}}}} (UTC{{{utc_offset_DST}}})</td> |
</tr><!-- | </tr><!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 729: | Line 729: | ||
-->{{#if:{{{date_format|}}} |<!--then: | -->{{#if:{{{date_format|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <th colspan="2"> | + | <th colspan="2">Date formats</th> |
<td>{{{date_format}}}</td> | <td>{{{date_format}}}</td> | ||
</tr><!-- | </tr><!-- | ||
Line 739: | Line 739: | ||
-->{{#if:{{{drives_on|}}} |<!--then: | -->{{#if:{{{drives_on|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <th colspan="2"> | + | <th colspan="2">Drives on the</th> |
<td>{{{drives_on}}}</td> | <td>{{{drives_on}}}</td> | ||
</tr><!-- | </tr><!-- | ||
Line 749: | Line 749: | ||
-->{{#if:{{{cctld|}}} |<!--then: | -->{{#if:{{{cctld|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <th colspan="2"> | + | <th colspan="2">Internet TLD</th> |
<td>{{{cctld}}}</td> | <td>{{{cctld}}}</td> | ||
</tr><!-- | </tr><!-- | ||
Line 768: | Line 768: | ||
-->{{#if:{{{calling_code|}}} |<!--then: | -->{{#if:{{{calling_code|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <th colspan="2"> | + | <th colspan="2">Calling code</th> |
<td>{{{calling_code}}}</td> | <td>{{{calling_code}}}</td> | ||
</tr><!-- | </tr><!-- | ||
Line 778: | Line 778: | ||
-->{{#if:{{{patron_saint|}}} |<!--then: | -->{{#if:{{{patron_saint|}}} |<!--then: | ||
--><tr> | --><tr> | ||
− | <th colspan="2" > | + | <th colspan="2" >Patron saint</th> |
<td>{{{patron_saint}}}</td> | <td>{{{patron_saint}}}</td> | ||
</tr><!-- | </tr><!-- |
Revision as of 02:19, 29 June 2010
{{Infobox country |native_name = <!--Long-form name in native language--> |conventional_long_name = <!--Conventional English long-form--> |common_name = <!--Common English name (used as wikilink)--> |image_flag = <!--* e.g. Flag of country.svg--> |alt_flag = <!--alt text for flag--> |image_coat = <!--* e.g. Coat of arms of country.svg--> |alt_coat = <!--alt text for coat of arms--> |symbol_type = <!--emblem/seal/... based on image_coat--> |national_motto = <!--"[[motto]]"--> |national_anthem = <!--''[[name of/link to anthem]]''--> |royal_anthem = <!--''[[name of/link to anthem]]''--> |other_symbol_type = <!--Another symbol, e.g. Hymn--> |other_symbol = <!--another symbol text--> |image_map = <!--e.g. LocationCountry.svg--> |alt_map = <!--alt text for map--> |map_caption = <!--Caption to place below map--> |image_map2 = <!--Another map, if required--> |alt_map2 = <!--alt text for second map--> |map_caption2 = <!--Caption to place below second map--> |capital = |latd= | latm= | latNS = <!--capital's latitude degree/min/dir--> |longd= |longm= |longEW = <!--capital's longitude deg/min/dir--> |largest_city = <!--Largest city or settlement: --> |largest_settlement = <!--(if not a city)--> |largest_settlement_type = <!--Type of settlement if largest settlement not a city--> |official_languages = |regional_languages = <!--Officially recognized languages--> |languages_type = <!--Other type of languages --> |languages = <!--Other languages list--> |ethnic_groups = <!--List/breakdown of ethnic groups--> |ethnic_groups_year = <!--Year of ethnic data (if provided)--> |demonym = |government_type = |leader_title1 = |leader_name1 = |leader_title2 = |leader_name2 = <--...--> |leader_title6 = |leader_name6 = |sovereignty_type = |sovereignty_note = |established_event1 = |established_date1 = |established_event2 = |established_date2 = <!-- ... --> |established_event9 = |established_date9 = |area_rank = |area_magnitude = |area = <!-- major area size (in [[Template:convert]] either km2 or sqmi first) --> |area_km2 = <!-- major area size (in square km) --> |area_sq_mi = <!-- area in square mi (requires area_km2) --> |area_footnote = <!-- optional footnote for area --> |percent_water = |area_label = <!-- label under "Area" (default: Total) --> |area_label2 = <!-- label below area_label (optional) --> |area_dabodyalign = <!-- text after area_label2 (optional) --> |population_estimate = |population_estimate_rank = |population_estimate_year = |population_census = |population_census_year = |population_density_km2 = |population_density_sq_mi = |population_density_rank = |GDP_PPP = |GDP_PPP_rank = |GDP_PPP_year = |GDP_PPP_per_capita = |GDP_PPP_per_capita_rank = |GDP_nominal = |GDP_nominal_rank = |GDP_nominal_year = |GDP_nominal_per_capita = |GDP_nominal_per_capita_rank = |Gini = |Gini_rank = |Gini_year = |Gini_category = |HDI = |HDI_rank = |HDI_year = |HDI_category = |currency = |currency_code = |time_zone = |utc_offset = <!-- +N, where N is number of hours--> |time_zone_DST = |date_format = <!-- numeric dates (dd-mm-yyyy, yyyy.mm.dd, etc.) plus era (AD, AH, etc.) --> |DST_note = |utc_offset_DST = <!-- +N, where N is number of hours--> |drives_on = vehicles drive on the left or right of the road |cctld = |calling_code = |image_map3 = |alt_map3 = |footnotes = <!--for any generic non-numbered footnotes--> |footnote1 = |footnote2 = <--...--> |footnote7 = }}