Template:Infobox country: Difference between revisions
Appearance
Content deleted Content added
Rm hard-coded font size: think of the people with custom fonts in their CSS |
Rick Block (talk | contribs) 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 |
| 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 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 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 language(s)]]''' |
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''[[Official language|Official 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 |
| 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 ; {{}} [[ ]] |
|||
{{!}} 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 /> - [[{{{population_estimate_year}}}]] est.{{#if:{{{population_census|}}}|<br /> - [[{{{population_census_year}}}|{{{population_census_year}}}]] census}}<br /> - [[Population density|Density]] |
|||
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0 |
| 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; " | |
|||
|- style="padding: 0 1em 0 0; text-align:left;" |
|||
| - Total || [[{{{area_magnitude}}} m²|{{{area}}} km²]] ([[List of countries and outlying territories by area|{{{area_rank}}}]]) |
|||
|- style="padding: 0 1em 0 0; text-align:left;" |
|||
| || {{{areami²}}} sq mi |
|||
|- |
|||
| style="padding: 0 1em 0.4em 0; text-align:left;" | - Water (%) || {{{percent_water}}} |
|||
|- |
|- |
||
<!----- Population -----> |
|||
⚫ | |||
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0 |
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0 0; vertical-align: top ; | [[List of countries by |]] |
||
⚫ | |||
|- |
|||
| style="padding: 0 1em 0 0; text-align:left;" | - [[{{{population_estimate_year}}}]] est. || {{{population_estimate}}} ([[List of countries by population|{{{population_estimate_rank}}}]]) |
|||
|- |
|||
{{#if: {{{population_census|}}} | |
|||
{{!}} style="padding: 0 1em 0 0; text-align:left; vertical-align: top;" {{!}} - [[{{{population_census_year}}}|{{{population_census_year}}}]] census |
|||
{{!}} {{{population_census}}} }} |
|||
|- |
|||
| style="padding: 0 1em 0.4em 0; text-align:left; vertical-align: top;" | - [[Population density|Density]] |
|||
| style="padding: 0 1em 0.4em 0; text-align:left; vertical-align: top;" | {{{population_density}}}/km² ([[List of countries by population density|{{{population_density_rank}}}]])<br />{{{population_densitymi²}}}/sq mi |
|||
|- |
|- |
||
<!----- GDP -----> |
|||
⚫ | |||
| 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;" |
|||
| - Total || {{{GDP_PPP}}} ([[List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}]]) |
|||
|- |
|||
| style="padding: 0 1em 0.4em 0; text-align:left; vertical-align: top;" | - Per capita || {{{GDP_PPP_per_capita}}} ([[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}}} ([[List of countries by Human Development Index|{{{HDI_rank}}}]]) – {{{HDI_category}}} |
| style="border-top: solid 1px #ccd2d9; padding: 0.4em 1em 0.4em 0; vertical-align: top" | {{{HDI}}} ([[List of countries by Human Development Index|{{{HDI_rank}}}]]) – {{{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 /> - Summer ([[Daylight saving time|DST]])}}{{#if:{{{DST_note|}}}|<br /> - Summer ([[Daylight saving time|DST]])}} |
|||
| 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" | [[Time ]] |
||
⚫ | |||
|- style="padding: 0 1em 0 0; text-align:left; vertical-align: top;" |
|||
{{#if: {{{utc_offset_DST|}}} | |
|||
{{!}} - Summer ([[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|}}} | |
|||
{{!}} {{!}}{{!}} {{{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> |
||
|- |
|||
⚫ | |||
<!----- 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
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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}}}
|