Jump to content

Template:Infobox country: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Tim1988 (talk | contribs)
Rm hard-coded font size: think of the people with custom fonts in their CSS
make all visible rows explicit TR rows in the HTML table, see talk
Line 7: Line 7:
<!-- start of slate grey box -->
<!-- start of slate grey box -->
{| style="background: transparent; text-align: left; table-layout: auto; border-collapse: collapse; padding: 0; font-size: 100%;" cellspacing="0" cellpadding="0"
{| style="background: transparent; text-align: left; table-layout: auto; border-collapse: collapse; padding: 0; font-size: 100%;" cellspacing="0" cellpadding="0"
|+ style="margin-left: inherit; font-size: 135%; padding-bottom: 0.5em; line-height: 1.1em;" | '''{{{native_name}}}'''{{#if:{{{conventional_long_name|}}}|<br />'''{{{conventional_long_name|}}}'''}}
|+ style="margin-left: inherit; font-size: 135%; padding-bottom: 0.5em; line-height: 1.1em;" | '''{{{native_name}}}'''{{#if:{{{conventional_long_name|}}}|<br />'''{{{conventional_long_name|}}}'''}}
|- style="border-top-style: hidden;"
|-
| colspan="2" |
| colspan="2" |
{| style="text-align: center; margin: 0 auto; background: none;"
{| style="text-align: center; margin: 0 auto; background: none;"
Line 19: Line 19:
|}
|}
|-
|-
<!----- Motto ----->
| colspan="2" style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: center; font-size: 95%;" | [[List of state mottos|Motto]]: {{{national_motto}}}
| colspan="2" style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: center; font-size: 95%;" | [[List of state mottos|Motto]]: {{{national_motto}}}
|-
|-
<!----- Anthem ----->
| colspan="2" style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: center; font-size: 95%;" | [[National anthem|Anthem]]: {{{national_anthem}}}
| colspan="2" style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: center; font-size: 95%;" | [[National anthem|Anthem]]: {{{national_anthem}}}
|-
|-
<!----- Map ----->
| colspan="2" style="border-top: solid 1px #ccd2d9; vertical-align: top; text-align: center; font-size: 95%;" | [[Image:{{{image_map}}}|250px|center|Location of {{{common_name}}}]]
| colspan="2" style="border-top: solid 1px #ccd2d9; vertical-align: top; text-align: center; font-size: 95%;" | [[Image:{{{image_map}}}|250px|center|Location of {{{common_name}}}]]
|-
|-
<!----- Capital ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[List of national capitals|Capital]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | '''[[List of national capitals|Capital]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{capital}}}<br /> <small>{{coor dm|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:country({{{area}}})}}</small>
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{capital}}}<br /> <small>{{coor dm|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:country({{{area}}})}}</small>
|-
|-
<!----- Largest city----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[Demographics of {{{common_name}}}|{{{largest_settlement_type|Largest&nbsp;city}}}]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[Demographics of {{{common_name}}}|{{{largest_settlement_type|Largest&nbsp;city}}}]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{largest_settlement|{{{largest_city}}}}}}
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{largest_settlement|{{{largest_city}}}}}}
|-
|-
<!----- Official language(s) ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[Official language|Official&nbsp;language(s)]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[Official language|Official&nbsp;language(s)]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{official_languages}}}
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{official_languages}}}
|-
|-
<!----- Government ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[List of countries by system of government|Government]]''' <div style="text-align: left;">{{{leader_titles}}}</div>
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top;" | {{{government_type}}}<br />{{{leader_names}}}
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0 0; vertical-align: top;" |
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0 0; vertical-align: top"{{{}}}
|-
{{#if:{{{leader_titles|}}} |
{{!}} style="padding: 0 1em 0.4em 0; text-align:left;" {{!}} {{{leader_titles}}}
{{!}} style="padding: 0 1em 0.4em 0; text-align:left;" {{!}} {{{leader_names}}} }}
|-
{{#if:{{{leader_title1|}}} |
{{!}} style="padding: 0 1em 0.2em 0; text-align:left;" {{!}} {{{leader_title1}}}
{{!}} style="padding: 0 1em 0.2em 0; text-align:left;" {{!}} {{{leader_name1}}} }}
|-
{{#if:{{{leader_title2|}}} |
{{!}} style="padding: 0 1em 0.2em 0; text-align:left;" {{!}} {{{leader_title2}}}
{{!}} style="padding: 0 1em 0.2em 0; text-align:left;" {{!}} {{{leader_name2}}} }}
|-
{{#if:{{{leader_title3|}}} |
{{!}} style="padding: 0 1em 0.2em 0; text-align:left;" {{!}} {{{leader_title3}}}
{{!}} style="padding: 0 1em 0.2em 0; text-align:left;" {{!}} {{{leader_name3}}} }}
|-
{{#if:{{{leader_title4|}}} |
{{!}} style="padding: 0 1em 0.2em 0; text-align:left;" {{!}} {{{leader_title4}}}
{{!}} style="padding: 0 1em 0.2em 0; text-align:left;" {{!}} {{{leader_name4}}} }}
|-
{{#if:{{{leader_title5|}}} |
{{!}} style="padding: 0 1em 0.2em 0; text-align:left;" {{!}} {{{leader_title5}}}
{{!}} style="padding: 0 1em 0.2em 0; text-align:left;" {{!}} {{{leader_name5}}} }}
|-
|-
<!----- Sovereignty type, events ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''{{{sovereignty_type}}}'''<br />{{{established_events}}}
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''{{{sovereignty_type}}}'''<br />{{{established_events}}}
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top;" | {{{established_dates}}}
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top;" | {{{established_dates}}}
{{#if:{{{accessionEUdate|}}}|<tr><td style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;"> '''[[European Union|Accession to EU]]'''</td>|}}{{#if:{{{accessionEUdate|}}}|<td style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top;">{{{accessionEUdate|}}}</td></tr>|}}
|-
|-
{{#if: {{{accessionEUdate|}}} |
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[List of countries and outlying territories by area|Area]]'''<br />&nbsp;- Total<br />&nbsp;<br />&nbsp;- Water (%)
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | &nbsp;<br />[[{{{area_magnitude}}} m²|{{{area}}}&nbsp;km&sup2;]]&nbsp;([[List of countries and outlying territories by area|{{{area_rank}}}]])<br />{{{areami²}}}&nbsp;sq&nbsp;mi&nbsp;<br />{{{percent_water}}}
style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top ; {{}} [[ ]]
{{!}} style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top;" {{!}} {{{accessionEUdate|}}} }}
|-
|-
<!----- Area ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[List of countries by population|Population]]'''<br />&nbsp;- [[{{{population_estimate_year}}}]] est.{{#if:{{{population_census|}}}|<br />&nbsp;- [[{{{population_census_year}}}|{{{population_census_year}}}]] census}}<br />&nbsp;- [[Population density|Density]]
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | &nbsp;<br />{{{population_estimate}}}&nbsp;([[List of countries by population|{{{population_estimate_rank}}}]]){{#if:{{{population_census|}}}|<br />{{{population_census}}}|}}<br />{{{population_density}}}/km&sup2;&nbsp;([[List of countries by population density|{{{population_density_rank}}}]])<br />{{{population_densitymi²}}}/sq&nbsp;mi&nbsp;
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0 0; vertical-align: top" | [[List of countries by |]]
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0 0; " | &nbsp;
|- style="padding: 0 1em 0 0; text-align:left;"
| &nbsp;- Total || [[{{{area_magnitude}}} m²|{{{area}}}&nbsp;km&sup2;]]&nbsp;([[List of countries and outlying territories by area|{{{area_rank}}}]])
|- style="padding: 0 1em 0 0; text-align:left;"
| &nbsp; || {{{areami²}}}&nbsp;sq&nbsp;mi&nbsp;
|-
| style="padding: 0 1em 0.4em 0; text-align:left;" | &nbsp;- Water (%) || {{{percent_water}}}
|-
|-
<!----- Population ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[Gross domestic product|GDP]]''' ([[Purchasing power parity|PPP]])<br />&nbsp;- Total<br />&nbsp;- Per capita
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | [[As of {{{GDP_PPP_year}}}|{{{GDP_PPP_year}}}]] estimate<br />{{{GDP_PPP}}}&nbsp;([[List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}]])<br />{{{GDP_PPP_per_capita}}}&nbsp;([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]])
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0 0; vertical-align: top ; | [[List of countries by |]]
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0 0; vertical-align: top; text-align: left;" | &nbsp;
|-
| style="padding: 0 1em 0 0; text-align:left;" | &nbsp;- [[{{{population_estimate_year}}}]] est. || {{{population_estimate}}}&nbsp;([[List of countries by population|{{{population_estimate_rank}}}]])
|-
{{#if: {{{population_census|}}} |
{{!}} style="padding: 0 1em 0 0; text-align:left; vertical-align: top;" {{!}} &nbsp;- [[{{{population_census_year}}}|{{{population_census_year}}}]] census
{{!}} {{{population_census}}} }}
|-
| style="padding: 0 1em 0.4em 0; text-align:left; vertical-align: top;" | &nbsp;- [[Population density|Density]]
| style="padding: 0 1em 0.4em 0; text-align:left; vertical-align: top;" | {{{population_density}}}/km&sup2;&nbsp;([[List of countries by population density|{{{population_density_rank}}}]])<br />{{{population_densitymi²}}}/sq&nbsp;mi&nbsp;
|-
|-
<!----- GDP ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0 0; vertical-align: top; text-align: left;" | '''[[ |]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0 0; vertical-align: top" | [[As of {{{GDP_PPP_year}}}|{{{GDP_PPP_year}}}]] estimate
|-style="padding: 0 1em 0 0; text-align:left; vertical-align: top;"
| &nbsp;- Total || {{{GDP_PPP}}}&nbsp;([[List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}]])
|-
| style="padding: 0 1em 0.4em 0; text-align:left; vertical-align: top;" | &nbsp;- Per capita || {{{GDP_PPP_per_capita}}}&nbsp;([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]])
|-
<!----- HDI ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[Human Development Index|HDI]]''' ([[{{{HDI_year}}}]])
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[Human Development Index|HDI]]''' ([[{{{HDI_year}}}]])
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{HDI}}}&nbsp;([[List of countries by Human Development Index|{{{HDI_rank}}}]])&nbsp;–&nbsp;{{{HDI_category}}}
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{HDI}}}&nbsp;([[List of countries by Human Development Index|{{{HDI_rank}}}]])&nbsp;–&nbsp;{{{HDI_category}}}
|-
|-
<!----- Currency ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[Currency]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[Currency]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top;" | {{{currency}}} (<code>[[ISO 4217|{{{currency_code}}}]]</code>)
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top;" | {{{currency}}} (<code>[[ISO 4217|{{{currency_code}}}]]</code>)
|-
|-
<!----- Time zone ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[Time zone]]'''{{#if:{{{utc_offset_DST|}}}|<br />&nbsp;- Summer&nbsp;([[Daylight saving time|DST]])}}{{#if:{{{DST_note|}}}|<br />&nbsp;- Summer&nbsp;([[Daylight saving time|DST]])}}
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{time_zone}}} ([[Coordinated Universal Time|UTC]]{{{utc_offset}}}){{#if:{{{utc_offset_DST|}}}|<br />{{{DST|{{{time_zone_DST}}} ([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}})}}}}}{{#if:{{{DST_note|}}}|<br />{{{DST_note}}}}}
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | [[Time ]]
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | ([[ |]])
|- style="padding: 0 1em 0 0; text-align:left; vertical-align: top;"
{{#if: {{{utc_offset_DST|}}} |
{{!}}&nbsp;- Summer&nbsp;([[Daylight saving time|DST]])
{{!}}{{{DST|{{{time_zone_DST}}} ([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}})}}}}}
|- style="padding: 0 1em 0 0; text-align:left; vertical-align: top;"
{{#if:{{{DST_note|}}} |
{{!}}&nbsp; {{!}}{{!}} {{{DST_note}}}}}
|-
|-
<!----- Internet TLD ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[List of Internet top-level domains|Internet TLD]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[List of Internet top-level domains|Internet TLD]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{cctld}}}
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{cctld}}}
|-
|-
<!----- Calling code ----->
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[List of country calling codes|Calling code]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[List of country calling codes|Calling code]]'''
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | <code>+{{{calling_code}}}</code>
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | <code>+{{{calling_code}}}</code>
|-
{{#if:{{{footnotes|}}}|<tr><td colspan="2" style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top"><small>{{{footnotes|}}}</small></td></tr>|}}
<!----- footnotes ----->
{{#if: {{{footnotes|}}} |
{{!}} colspan="2" style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top"> {{!}} <small>{{{footnotes|}}}</small> }}
|}
|}
</div>
</div>

<!-- end of slate grey box -->
<!-- end of slate grey box -->
</div><noinclude>
</div><noinclude>

Revision as of 18:29, 1 June 2006

{{{native_name}}}
[[Image:{{{image_flag}}}|125px|Flag of {{{common_name}}}]] [[Image:{{{image_coat}}}|110px|Coat of arms of {{{common_name}}}]]
[[Flag of {{{common_name}}}|Flag]] [[Coat of arms of {{{common_name}}}|Coat of arms]]
Motto: {{{national_motto}}}
Anthem: {{{national_anthem}}}
[[Image:{{{image_map}}}|250px|center|Location of {{{common_name}}}]]
Capital {{{capital}}}
Coordinates: Unable to parse latitude as a number:{{{latd}}}
{{#coordinates:}}: invalid latitude
[[Demographics of {{{common_name}}}|Largest city]] {{{largest_city}}}
Official language(s) {{{official_languages}}}
Government {{{government_type}}}
{{{sovereignty_type}}}
{{{established_events}}}
{{{established_dates}}}
Area  
 - Total [[{{{area_magnitude}}} m²|{{{area}}} km²]] ({{{area_rank}}})
  {{{areami²}}} sq mi 
 - Water (%) {{{percent_water}}}
Population  
 - [[{{{population_estimate_year}}}]] est. {{{population_estimate}}} ({{{population_estimate_rank}}})
 - Density {{{population_density}}}/km² ({{{population_density_rank}}})
{{{population_densitymi²}}}/sq mi 
GDP (PPP) [[As of {{{GDP_PPP_year}}}|{{{GDP_PPP_year}}}]] estimate
 - Total {{{GDP_PPP}}} ({{{GDP_PPP_rank}}})
 - Per capita {{{GDP_PPP_per_capita}}} ({{{GDP_PPP_per_capita_rank}}})
HDI ([[{{{HDI_year}}}]]) {{{HDI}}} ({{{HDI_rank}}}) – {{{HDI_category}}}
Currency {{{currency}}} ({{{currency_code}}})
Time zone {{{time_zone}}} (UTC{{{utc_offset}}})
Internet TLD {{{cctld}}}
Calling code +{{{calling_code}}}