Difference between revisions of "Template:Infobox country"

From Shipbucket Wiki
Jump to: navigation, search
(merged row)
 
m (fixing a few other links)
 
(3 intermediate revisions by one other user not shown)
Line 18: Line 18:
 
               }}<!--
 
               }}<!--
 
           -->{{#ifeq:{{{micronation|}}}|yes
 
           -->{{#ifeq:{{{micronation|}}}|yes
               |<span class=" fn org">[[Micronation]]</span>
+
               |<span class=" fn org">{{wp|Micronation}}</span>
 
         }}
 
         }}
 
     }}
 
     }}
Line 42: Line 42:
 
         |<div style="line-height:1.2em;">'''Anthem:&nbsp;'''{{if empty|{{{national_anthem|}}}|{{{anthem|}}}}}</div>
 
         |<div style="line-height:1.2em;">'''Anthem:&nbsp;'''{{if empty|{{{national_anthem|}}}|{{{anthem|}}}}}</div>
 
         }}{{#if:{{{royal_anthem|}}}
 
         }}{{#if:{{{royal_anthem|}}}
         | <div style="line-height:1.2em;">'''[[Royal anthem]]:&nbsp;'''{{{royal_anthem}}}</div>
+
         | <div style="line-height:1.2em;">'''{{wp|Royal anthem}}:&nbsp;'''{{{royal_anthem}}}</div>
 
         }}
 
         }}
  
Line 131: Line 131:
 
| data16 = {{{languages2|}}}
 
| data16 = {{{languages2|}}}
 
    
 
    
| label17 = [[Ethnic groups|Ethnic&nbsp;groups]] <!--
+
| label17 = {{wp|Ethnic groups|Ethnic&nbsp;groups}} <!--
 
           -->{{#if:{{{ethnic_groups_year|}}} |<span style="font-weight:normal;">({{{ethnic_groups_year}}})</span>}}
 
           -->{{#if:{{{ethnic_groups_year|}}} |<span style="font-weight:normal;">({{{ethnic_groups_year}}})</span>}}
 
| data17 = {{{ethnic_groups|}}}
 
| data17 = {{{ethnic_groups|}}}
Line 139: Line 139:
 
| data18 = {{{religion|}}}
 
| data18 = {{{religion|}}}
  
| label19 = [[Demonym]]
+
| label19 = {{wp|Demonym}}
 
| data19 = {{#if:{{{demonym|}}}
 
| data19 = {{#if:{{{demonym|}}}
 
   |{{#ifexist:{{{demonym}}} people
 
   |{{#ifexist:{{{demonym}}} people
Line 220: Line 220:
 
| data39 = {{{legislature|}}}
 
| data39 = {{{legislature|}}}
 
| rowclass40 = mergedrow
 
| rowclass40 = mergedrow
| label40 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;[[Upper house]]</div>
+
| label40 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{wp|Upper house}}</div>
 
| data40 = {{{upper_house|}}}
 
| data40 = {{{upper_house|}}}
 
| rowclass41 = mergedbottomrow
 
| rowclass41 = mergedbottomrow
| label41 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;[[Lower house]]</div>
+
| label41 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{wp|Lower house}}</div>
 
| data41 = {{{lower_house|}}}
 
| data41 = {{{lower_house|}}}
  
Line 411: Line 411:
  
 
| rowclass77 = mergedtoprow
 
| rowclass77 = mergedtoprow
| label77 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">([[Purchasing power parity|PPP]])</span>
+
| label77 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} {{wp|Gross domestic product|GDP}}&nbsp;<span style="font-weight:normal;">({{wp|Purchasing power parity|PPP}})</span>
 
| data77 = {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}}
 
| data77 = {{#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 419: Line 419:
 
| data78 = {{#if:{{{GDP_PPP|}}}
 
| data78 = {{#if:{{{GDP_PPP|}}}
 
     |{{{GDP_PPP}}}<!--
 
     |{{{GDP_PPP}}}<!--
             -->{{#if:{{{GDP_PPP_rank|}}} |&#32;([[List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}]])}}
+
             -->{{#if:{{{GDP_PPP_rank|}}} |&#32;({{wp|List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}}})}}
 
     }}
 
     }}
 
| rowclass79 = mergedbottomrow
 
| rowclass79 = mergedbottomrow
Line 425: Line 425:
 
| data79 = {{#if:{{{GDP_PPP_per_capita|}}}
 
| data79 = {{#if:{{{GDP_PPP_per_capita|}}}
 
     |{{{GDP_PPP_per_capita}}}<!--
 
     |{{{GDP_PPP_per_capita}}}<!--
                 -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |&#32;([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]])}}
+
                 -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |&#32;({{wp|List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}}})}}
 
     }}
 
     }}
  
 
| rowclass80 = mergedtoprow
 
| rowclass80 = mergedtoprow
| label80 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">(nominal)</span>
+
| label80 = {{#ifeq:{{{micronation|}}}|yes|Claimed|}} {{wp|Gross domestic product|GDP}}&nbsp;<span style="font-weight:normal;">(nominal)</span>
 
| data80 = {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}}
 
| data80 = {{#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:
 
| data81 = {{#if:{{{GDP_nominal|}}}
 
| data81 = {{#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;({{wp|List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}}})}}
 
     }}
 
     }}
 
| rowclass82 = mergedbottomrow
 
| rowclass82 = mergedbottomrow
Line 444: Line 444:
 
| data82 = {{#if:{{{GDP_nominal_per_capita|}}}
 
| data82 = {{#if:{{{GDP_nominal_per_capita|}}}
 
         | {{{GDP_nominal_per_capita}}}<!--
 
         | {{{GDP_nominal_per_capita}}}<!--
                 -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |&#32;([[List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}]])}}
+
                 -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |&#32;({{wp|List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}}})}}
 
       }}
 
       }}
  
| label83 = [[Gini_coefficient|Gini]]{{#if:{{{Gini_year|}}} |&nbsp;<span style="font-weight:normal;">({{{Gini_year}}})</span>}}
+
| label83 = {{wp|Gini_coefficient|Gini}}{{#if:{{{Gini_year|}}} |&nbsp;<span style="font-weight:normal;">({{{Gini_year}}})</span>}}
 
| data83 = {{#if:{{{Gini|}}}
 
| data83 = {{#if:{{{Gini|}}}
 
     | {{#switch:{{{Gini_change|}}}
 
     | {{#switch:{{{Gini_change|}}}
Line 481: Line 481:
 
       -->}}
 
       -->}}
  
| label84 = [[Human Development Index|HDI]]{{#if:{{{HDI_year|}}} |&nbsp;<span style="font-weight:normal;">({{{HDI_year}}})</span>}}
+
| label84 = {{wp|Human Development Index|HDI}}{{#if:{{{HDI_year|}}} |&nbsp;<span style="font-weight:normal;">({{{HDI_year}}})</span>}}
 
| data84 = {{#if:{{{HDI|}}}
 
| data84 = {{#if:{{{HDI|}}}
 
     | {{#switch:{{{HDI_change|}}}
 
     | {{#switch:{{{HDI_change|}}}
Line 518: Line 518:
 
| label85 = {{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}}
 
| label85 = {{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}}
 
| data85 = {{#if:{{{currency|}}}
 
| data85 = {{#if:{{{currency|}}}
     | {{{currency}}} {{#if:{{{currency_code|}}} |([[ISO 4217|{{{currency_code}}}]])}}
+
     | {{{currency}}} {{#if:{{{currency_code|}}} |({{wp|ISO 4217|{{{currency_code}}}}})}}
 
   }}
 
   }}
  
Line 526: Line 526:
 
     |{{{time_zone|}}} <!--
 
     |{{{time_zone|}}} <!--
 
               -->{{#if:{{{utc_offset|}}}
 
               -->{{#if:{{{utc_offset|}}}
                   |{{nowrap|([[Coordinated Universal Time|UTC]]{{{utc_offset}}})}}<!--
+
                   |{{nowrap|({{wp|Coordinated Universal Time|UTC}}{{{utc_offset}}})}}<!--
 
               -->}}
 
               -->}}
 
     }}
 
     }}
 
| rowclass87 = {{#if:{{{DST_note|}}} |mergedrow |mergedbottomrow}}
 
| rowclass87 = {{#if:{{{DST_note|}}} |mergedrow |mergedbottomrow}}
| label87 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Summer&nbsp;([[Daylight saving time|DST]])</div>
+
| label87 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Summer&nbsp;({{wp|Daylight saving time|DST}})</div>
 
| data87 = {{#if:{{{time_zone_DST|}}}{{{DST|}}}{{{utc_offset_DST|}}}
 
| data87 = {{#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;({{wp|Coordinated Universal Time|UTC}}{{{utc_offset_DST}}})
 
         }}
 
         }}
  
Line 539: Line 539:
 
| data88 = {{{DST_note|}}}
 
| data88 = {{{DST_note|}}}
 
   
 
   
| label89 = [[Antipodes]]
+
| label89 = {{wp|Antipodes}}
 
| data89 = {{{antipodes|}}}
 
| data89 = {{{antipodes|}}}
  
Line 545: Line 545:
 
| data90 = {{{date_format|}}}
 
| data90 = {{{date_format|}}}
  
| label91 = [[Right- and left-hand traffic|Drives on the]]
+
| label91 = {{wp|Right- and left-hand traffic|Drives on the}}
 
| data91 = {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}
 
| data91 = {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}
  
 
| label92 = {{#if:{{{calling_code|}}}
 
| label92 = {{#if:{{{calling_code|}}}
 
     |{{#ifexist:Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}
 
     |{{#ifexist:Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}
               | [[Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Calling code]]
+
               | {{wp|Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Calling code}}
 
               | Calling code
 
               | Calling code
 
               }}
 
               }}
Line 556: Line 556:
 
| data92 = {{{calling_code|}}}
 
| data92 = {{{calling_code|}}}
  
| label93 = [[Patron saint]]{{#if:{{{patron_saints|}}}|s}}
+
| label93 = {{wp|Patron saint}}{{#if:{{{patron_saints|}}}|s}}
 
| data93 = {{if empty| {{{patron_saints|}}} | {{{patron_saint|}}} }}
 
| data93 = {{if empty| {{{patron_saints|}}} | {{{patron_saint|}}} }}
  
| label94 = [[ISO 3166|ISO 3166 code]]
+
| label94 = {{wp|ISO 3166|ISO 3166 code}}
 
| data94 = {{#switch:{{{iso3166code|}}}
 
| data94 = {{#switch:{{{iso3166code|}}}
 
     |omit = <!--(do nothing)-->
 
     |omit = <!--(do nothing)-->
Line 565: Line 565:
 
           -->{{#if:{{{common_name|}}}
 
           -->{{#if:{{{common_name|}}}
 
               | {{#if:{{#invoke:Country extract|main|{{{common_name}}}|nocat=true}}
 
               | {{#if:{{#invoke:Country extract|main|{{{common_name}}}|nocat=true}}
                 | [[ISO 3166-2:{{#invoke:Country extract|main|{{{common_name}}}}}|{{#invoke:Country extract|main|{{{common_name}}}}}]]
+
                 | {{wp|ISO 3166-2:{{#invoke:Country extract|main|{{{common_name}}}}}|{{#invoke:Country extract|main|{{{common_name}}}}}}}
 
                 }}
 
                 }}
 
             }}
 
             }}
     |#default = [[ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}]]
+
     |#default = {{wp|ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}}}
 
     }}
 
     }}
  
| label95 = [[Country code top-level domain|Internet TLD]]
+
| label95 = {{wp|Country code top-level domain|Internet TLD}}
 
| data95 = {{{cctld|}}}
 
| data95 = {{{cctld|}}}
  

Latest revision as of 17:36, 9 February 2018

Documentation icon Template documentation[view] [edit] [history] [purge]
{{Infobox geopolitical organisation}} and {{Infobox micronation}} redirect here, so related geopolitical and micronation parameters and examples are also included below.

This Infobox template is used to generate an infobox for the righthand side of two specific types of article: on a country or territory, or on a geopolitical organisation. The syntax (format) of parameters and examples are detailed in the collapsed show/hide sections immediately below.

Syntax

Examples