Template:Infobox country: Difference between revisions

(Created page with "{{infobox | bodyclass = geography vcard | bodystyle = font-size:88%; | headerstyle= text-align:left; | aboveclass = adr | abovestyle = padding:0.25em 0.33em 0.33em;line-heigh...")
 
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 106: Line 106:
| data10 = {{{official_languages|}}}
| data10 = {{{official_languages|}}}
| rowclass11 = mergedrow
| rowclass11 = mergedrow
| label11 = <span style="font-weight:normal;">{{#if:{{{recognized_languages|}}}|Recognized|Recognised}}&nbsp;languages</span>
| label11 = {{#if:{{{recognized_languages|}}}|Recognized|Recognised}}&nbsp;languages</span>
| data11 = {{if empty| {{{recognized_languages|}}} | {{{recognised_languages|}}} }}
| data11 = {{if empty| {{{recognized_languages|}}} | {{{recognised_languages|}}} }}
| rowclass12 = mergedrow
| rowclass12 = mergedrow
| label12 = <span style="font-weight:normal;">{{#if:{{{recognized_national_languages|}}}|Recognized|Recognised}} national&nbsp;languages</span>
| label12 = {{#if:{{{recognized_national_languages|}}}|Recognized|Recognised}} national&nbsp;languages</span>
| data12 = {{if empty| {{{recognized_national_languages|}}} | {{{recognised_national_languages|}}} | {{{national_languages|}}} }}
| data12 = {{if empty| {{{recognized_national_languages|}}} | {{{recognised_national_languages|}}} | {{{national_languages|}}} }}
| rowclass13 = mergedrow
| rowclass13 = mergedrow
| label13 = <span style="font-weight:normal;">{{#if:{{{recognized_regional_languages|}}}|Recognized|Recognised}} regional&nbsp;languages</span>
| label13 = {{#if:{{{recognized_regional_languages|}}}|Recognized|Recognised}} regional&nbsp;languages</span>
| data13 = {{if empty| {{{recognized_regional_languages|}}} | {{{recognised_regional_languages|}}} | {{{regional_languages|}}} }}
| data13 = {{if empty| {{{recognized_regional_languages|}}} | {{{recognised_regional_languages|}}} | {{{regional_languages|}}} }}


Line 139: Line 139:
| data17 = {{{religion|}}}
| data17 = {{{religion|}}}


| label18 = [[Demonym]]
| label18 = Demonym
| data18 = {{#if:{{{demonym|}}}
| data18 = {{#if:{{{demonym|}}}
   |{{#ifexist:{{{demonym}}} people
   |{{#ifexist:{{{demonym}}} people
Line 411: Line 411:


| rowclass76 = mergedtoprow
| rowclass76 = mergedtoprow
| label76 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">([[Purchasing power parity|PPP]])</span>
| label76 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[w:Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">([[Purchasing power parity|PPP]])</span>
| data76 = {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}}
| data76 = {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}}
     |{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}}&nbsp;}}estimate
     |{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}}&nbsp;}}estimate
Line 429: Line 429:


| rowclass79 = mergedtoprow
| rowclass79 = mergedtoprow
| label79 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">(nominal)</span>
| label79 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[w:Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">(nominal)</span>
| data79 = {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}}
| data79 = {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}}
   |{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}}&nbsp;}}estimate
   |{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}}&nbsp;}}estimate
Line 438: Line 438:
| data80 = {{#if:{{{GDP_nominal|}}}
| data80 = {{#if:{{{GDP_nominal|}}}
     |{{{GDP_nominal}}}<!--
     |{{{GDP_nominal}}}<!--
             -->{{#if:{{{GDP_nominal_rank|}}} |&#32;([[List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]])}}
             -->{{#if:{{{GDP_nominal_rank|}}} |&#32;([[w:List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]])}}
     }}
     }}
| rowclass81 = mergedbottomrow
| rowclass81 = mergedbottomrow
Line 447: Line 447:
       }}
       }}


| label82 = [[Gini_coefficient|Gini]]{{#if:{{{Gini_year|}}} |&nbsp;<span style="font-weight:normal;">({{{Gini_year}}})</span>}}
| label82 = [[w:Gini_coefficient|Gini]]{{#if:{{{Gini_year|}}} |&nbsp;<span style="font-weight:normal;">({{{Gini_year}}})</span>}}
| data82 = {{#if:{{{Gini|}}}
| data82 = {{#if:{{{Gini|}}}
     | {{#switch:{{{Gini_change|}}}
     | {{#switch:{{{Gini_change|}}}
Line 477: Line 477:
           -----------Add Gini_rank (if supplied):----------
           -----------Add Gini_rank (if supplied):----------
           -->{{#if:{{{Gini_rank|}}}
           -->{{#if:{{{Gini_rank|}}}
               |&nbsp;·&nbsp;[[List of countries by income equality|{{{Gini_rank}}}]]<!--
               |&nbsp;·&nbsp;[[w:List of countries by income equality|{{{Gini_rank}}}]]<!--
           -->}}<!--
           -->}}<!--
       -->}}
       -->}}


| label83 = [[Human Development Index|HDI]]{{#if:{{{HDI_year|}}} |&nbsp;<span style="font-weight:normal;">({{{HDI_year}}})</span>}}
| label83 = [[w:Human Development Index|HDI]]{{#if:{{{HDI_year|}}} |&nbsp;<span style="font-weight:normal;">({{{HDI_year}}})</span>}}
| data83 = {{#if:{{{HDI|}}}
| data83 = {{#if:{{{HDI|}}}
     | {{#switch:{{{HDI_change|}}}
     | {{#switch:{{{HDI_change|}}}
Line 526: Line 526:
     |{{{time_zone|}}} <!--
     |{{{time_zone|}}} <!--
               -->{{#if:{{{utc_offset|}}}
               -->{{#if:{{{utc_offset|}}}
                   |{{nowrap|([[Coordinated Universal Time|UTC]]{{{utc_offset}}})}}<!--
                   |{{nowrap|([[w:Coordinated Universal Time|UTC]]{{{utc_offset}}})}}<!--
               -->}}
               -->}}
     }}
     }}
| rowclass86 = {{#if:{{{DST_note|}}} |mergedrow |mergedbottomrow}}
| rowclass86 = {{#if:{{{DST_note|}}} |mergedrow |mergedbottomrow}}
| label86 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Summer&nbsp;([[Daylight saving time|DST]])</div>
| label86 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Summer&nbsp;([[w:Daylight saving time|DST]])</div>
| data86 = {{#if:{{{time_zone_DST|}}}{{{DST|}}}{{{utc_offset_DST|}}}
| data86 = {{#if:{{{time_zone_DST|}}}{{{DST|}}}{{{utc_offset_DST|}}}
         |{{if empty| {{{time_zone_DST|}}} | {{{DST|}}} }}&nbsp;([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}})
         |{{if empty| {{{time_zone_DST|}}} | {{{DST|}}} }}&nbsp;([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}})
Line 545: Line 545:
| data89 = {{{date_format|}}}
| data89 = {{{date_format|}}}


| label90 = [[Right- and left-hand traffic|Drives on the]]
| label90 = [[w:Right- and left-hand traffic|Drives on the]]
| data90 = {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}
| data90 = {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}


Line 556: Line 556:
| data91 = {{{calling_code|}}}
| data91 = {{{calling_code|}}}


| label92 = [[Patron saint]]{{#if:{{{patron_saints|}}}|s}}
| label92 = [[w:Patron saint|Patron saint]]{{#if:{{{patron_saints|}}}|s}}
| data92 = {{if empty| {{{patron_saints|}}} | {{{patron_saint|}}} }}
| data92 = {{if empty| {{{patron_saints|}}} | {{{patron_saint|}}} }}



Latest revision as of 23:04, 18 November 2023


This Infobox is for countries and nations.

Usage

{{Infobox country
| name = 
| native_name = 
| demonym =
| image_flag = 
| image_map = 
| image_map2 = 
| motto = 
| englishmotto = 
| capital = 
| largest_settlement = 
| anthem = 
| established = 
| official_languages = 
| recognized_languages = 
| recognized_regional_languages = 
| ethnic_groups =
| religion = 
| patron_saints = 
| status =
| loctext = [Location in latitude and longitude]
| population_estimate = 
| GDP_nominal =
| GDP_nominal_per_capita = 
| GDP_nominal_rank =
| GDP_PPP = 
| GDP_PPP_per_capita =
| GDP_PPP_rank = 
| Gini = [Gini coefficient, from >=60(very high) to 0(low)]
| Gini_rank = 
| HDI = [Human Development Index, from 0(low) to 1(very high)
| HDI_rank = 
| currency =
| calling_code =
| cctld = [Country domain extension]
| official_website = 
| time_zone = 
| date_format =
| government_type = 
| legislature =
| upper house =
| lower house = 
| area_km2 = [Area in square kilometres]
| population_density_km2 = [Population density in square kilometres]
}}