Template:Infobox country: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Guilherme Paula
fixing bug
meta>David Kernow
---Revised version incorporating Infobox Geopolitical organization---
Line 13: Line 13:
--><div style="padding-top:0.75em;"><!--Please retain; this padding is to prevent any long dab statements at the top of an article from clashing with the top of this infobox.
--><div style="padding-top:0.75em;"><!--Please retain; this padding is to prevent any long dab statements at the top of an article from clashing with the top of this infobox.
-->
-->
<table class="infobox geography vcard" style="width:46ex;"><!--Same as sister Template:Infobox Geopolitical organization-->
<table class="infobox geography vcard" style="width:46ex;"><!--Same as sister Template:Infobox Geopolitical organization--><!--




<!---------------------------------------Names----------------------------------------->
-------------------------------------------------------------------------------------------
{{#if:{{{native_name|}}}{{{conventional_long_name|}}} |<!--then:-->
                                          Names
------------------------------------------------------------------------------------------->
{{#if:{{{native_name|}}}{{{conventional_long_name|}}}{{{name|}}} |<!--then:-->
   <tr>
   <tr>
     <th colspan="3" class="mergedtoprow adr" align="center" style="line-height:1.2em; font-size:1.2em;"><!--
     <th colspan="3" align="center" class="mergedtoprow adr"
        style="line-height:1.2em; font-size:1.3em;"><!--
       -->{{#if:{{{native_name|}}}
       -->{{#if:{{{native_name|}}}
         |<!--then:-->{{{native_name}}}<!--
         |<!--then:--><div style="padding-bottom:0.25em;">{{{native_name}}}</div>}}<!--
                  -->{{#if:{{{conventional_long_name|}}} |<!--then:--><br/><span class="fn org country-name">{{{conventional_long_name}}}</span>}}<!--
       -->{{#if:{{{conventional_long_name|}}}{{{name|}}}
       -->|<!--else:-->{{#if:{{{conventional_long_name|}}} |<!--then:--><span class="fn org country-name">{{{conventional_long_name}}}</span>}}<!--
        |<!--then:--><div style="padding-bottom:0.25em;"><span class="fn org country-name">{{{conventional_long_name|}}}{{{name|}}}</span></div>}}<!--
      -->}}<!--
   --></th>
   --></th>
   </tr>
   </tr>
}}
}}


<!-----------------------------------------------------------------------------------------
                            Flag / Coat-of-arms (or other symbol)
------------------------------------------------------------------------------------------>
{{#if:{{{image_flag|}}}{{{text_flag|}}}


<!------------------------Flag / Coat-of-arms (or other symbol)------------------------>
|<!--thenF:
{{#if:{{{image_flag|}}}{{{text_flag|}}} |<!--then:-->
  <!----------------------------------------------------------------------------
    Flag provided, so display it and coat-of-arms (or other symbol) if provided:
  ----------------------------------------------------------------------------->
   <tr class="mergedtoprow">
   <tr class="mergedtoprow">
     <td class="maptable" colspan="3" align="center" style="padding:0.5em 0 0.5em 0;">
     <td class="maptable" colspan="3" align="center" style="padding:0.5em 0 0.5em 0;">
Line 37: Line 45:
                   Subtable to format flag/coat-of-arms display.
                   Subtable to format flag/coat-of-arms display.
         Align="center"s and "width:auto;"s are for sake of Internet Explorer.
         Align="center"s and "width:auto;"s are for sake of Internet Explorer.
        --------------------------------------------------------------------->
      ---------------------------------------------------------------------->
       <table align="center" style="width:100%; background:none;">
       <table align="center" style="width:100%; background:none;">


       <!-------Images------->
       <!-------Images------->
       <tr>
       <tr>
         <td align="center" style="{{#if:{{{image_coat|}}} |<!--then:-->width:58%;}}<!--(58% as flags usually wider than coats-of-arms/symbols. Also accommodates IE.)--> vertical-align:middle;">   
         <td align="center"
            style="{{#if:{{{image_coat|}}}{{{image_symbol|}}}
                    |<!--then:-->width:58%;}}<!--(58% as flags usually wider than coats-of-arms/symbols. Also accommodates IE.)--> vertical-align:middle;">   
         {{#if:{{{text_flag|}}}
         {{#if:{{{text_flag|}}}
         |<!--then:-->{{{text_flag}}}<!--used for N. Ireland-->
         |<!---thenTF:--->{{{text_flag}}}<!--used for N. Ireland-->
         |<!--else:-->{{border|[[Image:{{{image_flag}}}|125px|Flag of {{{common_name|{{PAGENAME}}}}}]]<!--end border:-->}}<!--
         |<!---elseTF:--->{{border|[[Image:{{{image_flag}}}|125px|Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!--end border:-->}}<!--
       -->}}</td>
       -->}}<!--(endTF)
         {{#if:{{{image_coat|}}}
      --></td>
         |<!--then:--><td align="center" style="width:auto; vertical-align:middle;"><!--
         {{#if:{{{image_coat|}}}{{{image_symbol|}}}
           -->[[Image:{{{image_coat}}}|85px|{{{symbol_type|Coat of arms}}} of {{{common_name|{{PAGENAME}}}}}]]</td>
         |<!---thenS1:---><td align="center" style="width:auto; vertical-align:middle;"><!--
         }}
           -->[[Image:{{{image_coat|}}}{{{image_symbol|}}} |{{{symbol_width|85px}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!--
      --></td>
         }}<!--(endS1)-->
       </tr>
       </tr>


       <!-------Captions------->
       <!-------Captions------->
       <tr>
       <tr>
         {{#if:{{{common_name|}}}
         {{#if:{{{common_name|}}}{{{linking_name|}}}{{{name|}}} |<!--then:
        |<!--then:--><td align="center"><small>[[Flag of {{{common_name|{{PAGENAME}}}}}|{{{flag_caption|Flag}}}]]</small></td>
          --><td align="center"><!--
          --><small>[[Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |{{{flag_caption|Flag}}}]]</small></td>
         }}
         }}
         {{#if:{{{image_coat|}}}
         {{#if:{{{image_coat|}}}{{{image_symbol|}}} |<!--then:
        |<!--then:--><td align="center"><small>[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{PAGENAME}}}}}|{{{symbol_type|Coat of arms}}}]]</small></td>
          --><td align="center"><!--
          --><small>[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |{{{symbol_type|Coat of arms}}}]]</small></td>
         }}
         }}
       </tr>
       </tr>


       <!--------------End subtable:--------------->
       <!---------End subtable:---------->
       </table>
       </table>
     </td>
     </td>
   </tr>
   </tr>
|<!-->else:--> {{#if:{{{image_coat|}}} |<!--then:-->
  <tr class="mergedtoprow">
    <td class="maptable" colspan="3" align="center" style="padding:0.5em 0 0.5em 0;">
        <!---------------------------------------------------------------------
                  Subtable to format flag/coat-of-arms display.
        Align="center"s and "width:auto;"s are for sake of Internet Explorer.
        --------------------------------------------------------------------->
      <table align="center" style="width:100%; background:none;">


      <!-------Images------->
      <tr>
        <td align="center" style="width:auto; vertical-align:middle;">[[Image:{{{image_coat}}}|100px|{{{symbol_type|Coat of arms}}} of {{{common_name|{{PAGENAME}}}}}]]
        </td>
      </tr>


      <!-------Captions------->
|<!--elseF:
      <tr>
  <!----------------------------------------------------------------------------
         <td align="center"><small>[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{PAGENAME}}}}}|{{{symbol_type|Coat of arms}}}]]</small></td>
    Flag not provided, so display coat-of-arms or other symbol (if provided):
      </tr>
  ----------------------------------------------------------------------------->
  {{#if:{{{image_coat|}}}{{{image_symbol|}}}
  |<!--thenS2:-->
    <tr class="mergedtoprow">
      <td class="maptable" colspan="3" align="center" style="padding:0.5em 0 0.5em 0;">
          <!---------------------------------------------------------------------
                Subtable to format coat-of-arms (or other symbol) display.
            Align="center"s and "width:auto;"s are for sake of Internet Explorer.
          ---------------------------------------------------------------------->
        <table align="center" style="width:100%; background:none;">
 
        <!--------Image-------->
        <tr>
          <td align="center"
              style="width:auto; vertical-align:middle;"><!--
              -->[[Image:{{{image_coat|}}}{{{image_symbol|}}} |{{{symbol_width|100px}}} |{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]</td>
         </tr>
 
        <!-------Caption------->
        <tr>
          <td align="center"><!--
              --><small>[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |{{{symbol_type|Coat of arms}}}]]</small></td>
        </tr>
 
        <!---------End subtable:---------->
        </table>
      </td>
    </tr>
  }}<!--(endS2)-->


      <!--------------End subtable:--------------->
}}<!--(endF)-->
      </table>
    </td>
  </tr>
}}}}




<!---------------------------------------Motto----------------------------------------->
<!-----------------------------------------------------------------------------------------
                            National motto (country/territory)
------------------------------------------------------------------------------------------>
{{#if:{{{national_motto|}}} |<!--then:-->
{{#if:{{{national_motto|}}} |<!--then:-->
   <tr> <td colspan="3" style="line-height:1.2em; text-align:center;">'''[[Motto]]'''<br/>{{{national_motto}}}</td>
   <tr> <td colspan="3" style="line-height:1.2em; text-align:center;">'''[[Motto]]'''<br/>{{{national_motto|}}}</td>
   </tr>
   </tr>
}}
}}


 
<!-----------------------------------------------------------------------------------------
<!---------------------------------------Anthem---------------------------------------->
                            National anthem (country/territory)
------------------------------------------------------------------------------------------>
{{#if:{{{national_anthem|}}} |<!--then:-->
{{#if:{{{national_anthem|}}} |<!--then:-->
   <tr> <td colspan="3" style="line-height:1.2em; text-align:center;">'''[[National anthem|Anthem]]'''<br/>{{{national_anthem}}}</td>
   <tr> <td colspan="3" style="line-height:1.2em; text-align:center;">'''[[National anthem|Anthem]]'''<br/>{{{national_anthem}}}</td>
Line 107: Line 135:
}}
}}


<!---------------------------------------Symbol---------------------------------------->
<!-----------------------------------------------------------------------------------------
{{#if:{{{other_symbol|}}} |<!--then:-->
                              Other (text-based) symbol/s
   <tr> <td colspan="3" style="line-height:1.2em; text-align:center;">'''{{{other_symbol_type}}}'''<br/>{{{other_symbol}}}</td>
------------------------------------------------------------------------------------------>
{{#if:{{{other_symbol|}}}{{{text_symbol|}}} |<!--then:-->
   <tr> <td colspan="3" style="line-height:1.2em; text-align:center;">'''{{{other_symbol_type|{{{text_symbol_type|}}}}}}'''<br/> {{{other_symbol|}}}{{{text_symbol|}}}</td>
   </tr>
   </tr>
}}
}}


<!----------------------------------------Maps----------------------------------------->
 
<!-----------------------------------------------------------------------------------------
                                        Maps
------------------------------------------------------------------------------------------>
{{#if:{{{image_map|}}} |<!--then:-->
{{#if:{{{image_map|}}} |<!--then:-->
   <tr> <td colspan="3" style="text-align:center; padding:0.6em 0em 0.6em 0em;"> [[Image:{{{image_map}}}|250px|center|Location of {{{common_name|{{PAGENAME}}}}}]] <div style="position:relative; top:3px;"><small>{{{map_caption|<noinclude>{{{map_caption}}}</noinclude>}}}</small></div>
   <tr> <td colspan="3" style="text-align:center; padding:0.6em 0em 0.6em 0em;"> [[Image:{{{image_map}}} |{{{map_width|250px}}} |center |Location of {{{common_name|{{{linking_name|{{PAGENAME}}}}}}}}]] <div style="position:relative; top:3px;"><small>{{{map_caption|}}}</small></div>
       </td>
       </td>
   </tr>
   </tr>
Line 122: Line 155:
{{#if:{{{image_map2|}}} |<!--then:-->
{{#if:{{{image_map2|}}} |<!--then:-->
   <tr class="mergedtoprow">
   <tr class="mergedtoprow">
     <td colspan="3" style="text-align:center; padding:0.6em 0em 0.6em 0em;"> [[Image:{{{image_map2}}}|250px|center|Location of {{{common_name|{{PAGENAME}}}}}]] <div style="position:relative; top:3px;"><small>{{{map_caption2|}}}</small></div>
     <td colspan="3" style="text-align:center; padding:0.6em 0em 0.6em 0em;"> [[Image:{{{image_map2}}} |{{{map2_width|250px}}} |center |Location of {{{common_name|{{{linking_name|{{PAGENAME}}}}}}}}]] <div style="position:relative; top:3px;"><small>{{{map_caption2|}}}</small></div>
     </td>
     </td>
   </tr>
   </tr>
Line 128: Line 161:




<!------------------------Capital, Largest city or settlement-------------------------->
<!-----------------------------------------------------------------------------------------
{{#if:{{{capital|}}}{{{largest_city|}}}{{{largest_settlement|}}} |<!--then1:-->
                Organization type; Membership (geopolitical organization)
------------------------------------------------------------------------------------------>
{{#if:{{{org_type|}}} |<!--then:-->
  <tr>
    <td colspan="2">'''Type'''</td><td>{{{org_type}}}</td>
  </tr>
}}
 
{{#if:{{{membership|}}} |<!--then:-->
  <tr>
    <td colspan="2" style="vertical-align:middle;"> '''{{{membership_type|Membership}}}'''</td><td>{{{membership}}}</td>
  </tr>
}}
 
 
<!-----------------------------------------------------------------------------------------
                  Capital/Admin center; Largest city/ies or settlement/s
------------------------------------------------------------------------------------------>
{{#if:{{{capital|}}}{{{admin_center|}}}{{{largest_city|}}}{{{largest_settlement|}}} |<!--then1:-->
   <tr class="mergedtoprow">
   <tr class="mergedtoprow">
     <!---------------------------------------------------------------------------
 
        If capital provided, check whether largest_city or largest_settlement
     <!---------------Check if capital/admin center provided:--------------->
                (if provided) equals "capital", capital or [[capital]]:
     {{#if:{{{capital|}}}{{{admin_center|}}}
      ---------------------------------------------------------------------------->
     {{#if:{{{capital|}}}
     |<!--then2:-->
     |<!--then2:-->
       <td colspan="2"> {{#if:{{{capital_type|}}} |<!--then:--> '''{{{capital_type}}}''' |<!--else:-->'''[[Capital]]'''}}<!--
       <td colspan="2"><!--
        -->{{#if:{{{admin_center_type|}}}
          |<!--then:-->'''{{{admin_center_type}}}'''<!--
        -->|<!--else:-->{{#if:{{{capital_type|}}}
                        |<!--then:-->'''{{{capital_type}}}'''<!--
                    -->|<!--else:-->'''[[Capital]]'''<!--
                    -->}}<!--
        -->}}<!--
 
      ----------------------------------------------------------------------------
        Capital provided, so check whether largest_city or largest_settlement
                (if provided) equals "capital", capital or [[capital]];
      ----------------------------------------------------------------------------
         -->{{#ifeq: {{#ifeq:{{{largest_city|}}}{{{largest_settlement|}}}
         -->{{#ifeq: {{#ifeq:{{{largest_city|}}}{{{largest_settlement|}}}
                     |<!--equals3:-->capital
                     |<!--equals:-->capital
                     |<!---then3:--->capital<!--
                     |<!---then3:-->capital<!--
                 -->|<!---else3:
                 -->|<!---else3:
                     -->{{#switch:{{{capital}}}
                     -->{{#switch:{{{capital}}}
Line 150: Line 211:
           |<!--equals4:-->capital
           |<!--equals4:-->capital
           |<!---then4:
           |<!---then4:
               ------------------------------------------------------------------
               --------------------------------------------------------
                    capital is largest_city or largest_settlement:
                  capital is largest_city or largest_settlement:
               ------------------------------------------------------------------
               --------------------------------------------------------
               --><br/>[[Demographics of {{{common_name}}}|(and {{{largest_settlement_type|largest city}}})]]
               --><br/>[[Demographics of {{{common_name}}}|(and {{{largest_settlement_type|largest city}}})]]
                 </td>
                 </td>
                 <!--------Add capital:-------->
                 <!--------Add capital:-------->
                 <td>{{{capital}}}<!--
                 <td>{{{capital}}}<!--
                   ---------add capital's latitude and longitude (if provided):--------
                   ---------add capital's latitude and longitude (if provided):--------
                   -->{{#if:{{{latd|}}} |<!--then:--><br/><small><!--
                   -->{{#if:{{{latd|}}} |<!--then:--><br/><small><!--
Line 164: Line 226:
               --></td>
               --></td>


           |<!---else4:---><!--
           |<!---else4:
               ------------------------------------------------------------------
               --------------------------------------------------------
                    capital isn't largest_city or largest_settlement:
                capital isn't largest_city or largest_settlement:
               ------------------------------------------------------------------
               --------------------------------------------------------
               --></td>
               --></td>
                 <!--------Add capital:-------->
                 <!--------Add capital/admin center:-------->
                 <td>{{{capital}}}<!--
                 <td>{{{capital|}}}{{{admin_center|}}}<!--
                   ---------add capital's latitude and longitude (if provided):--------
 
                   -----add capital/admin center's latitude and longitude (if provided):----
                   -->{{#if:{{{latd|}}} |<!--then:--><br/><small><!--
                   -->{{#if:{{{latd|}}} |<!--then:--><br/><small><!--
                   -->{{coor dm |{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}<!--
                   -->{{coor dm |{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}<!--
Line 178: Line 241:
               --></td>
               --></td>
               </tr>
               </tr>
               <!--------Add largest_city or largest_settlement (if provided):-------->
               <!--------Add largest_city or largest_settlement (if provided):-------->
               {{#if:{{{largest_city|}}}{{{largest_settlement|}}} |<!--then5:-->
               {{#if:{{{largest_city|}}}{{{largest_settlement|}}} |<!--then5:-->
Line 190: Line 254:
                 </tr>
                 </tr>
               }}<!--(end5)-->
               }}<!--(end5)-->
           }}<!--(end4)-->
           }}<!--(end4)


    |<!--else2 capital not provided:
      ----------------------------------------------------------------------------
      --------Add largest_city or largest_settlement (if provided):--------
                      Capital not provided, so add largest_city or
      -->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} |<!--then6:-->
                          largest_settlement (if provided):
          <th colspan="2"><!--
      ----------------------------------------------------------------------------
            -->{{#if:{{{common_name|}}}
  -->|<!--else2:
              |<!--then:-->[[Demographics of {{{common_name}}}|Largest {{{largest_settlement_type|city}}}]]<!--
        -->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} |<!--then6:-->
            -->|<!--else:-->Largest {{{largest_settlement_type|city}}}<!--
            <th colspan="2"><!--
            -->}}<!--
              -->{{#if:{{{common_name|}}}
        --></th>
                |<!--then:-->[[Demographics of {{{common_name}}}|Largest {{{largest_settlement_type|city}}}]]<!--
          <td>{{{largest_city|}}}{{{largest_settlement|}}}</td>
              -->|<!--else:-->Largest {{{largest_settlement_type|city}}}<!--
        }}<!--(end6)-->
              -->}}<!--
          --></th>
            <td>{{{largest_city|}}}{{{largest_settlement|}}}</td>
          }}<!--(end6)


    }}<!--(end2)-->
  -->}}<!--(end2)-->
   </tr>
   </tr>
}}<!--(end1)-->
}}<!--(end1)-->




<!---------------Official and recognised regional languages, membership and ethnic groups------------->
<!-----------------------------------------------------------------------------------------
{{#if:{{{official_languages|}}} |<!--then:-->
              Official languages; Recognised regional languages; Ethnic groups
   <tr> <th colspan="2">[[Official language|Official&nbsp;languages]]</th>
------------------------------------------------------------------------------------------>
       <td>{{{official_languages}}}</td>
{{#if:{{{official_languages|}}}{{{languages|}}} |<!--then:-->
   <tr> <th colspan="2" style="white-space:nowrap;">{{{languages_type|[[Official language]]s}}}</th>
       <td>{{{official_languages|}}}{{{languages|}}}</td>
   </tr>
   </tr>
   {{#if:{{{regional_languages|}}} |<!--then:-->
   {{#if:{{{regional_languages|}}} |<!--then:-->
Line 221: Line 290:
   }}
   }}
}}
}}
<!----Organization specific------>
{{#if:{{{membership|}}} |<!--then:-->
  <tr> <td colspan="2"> <!--
          -->{{#if:{{{membership_link|}}}
              |<!--then:-->'''{{{membership_link|}}}'''</td>
              |<!--else:-->'''Membership'''</td><!--
          -->}}<!--
    --><td>{{{membership}}}</td>
  </tr>
}}
<!----End of organization specific------>


{{#if:{{{ethnic_groups|}}} |<!--then:-->
{{#if:{{{ethnic_groups|}}} |<!--then:-->
   <tr> <td colspan="2">'''[[Ethnic group]]s'''&nbsp;<!--
   <tr> <td colspan="2">'''[[Ethnic group]]s'''&nbsp;<!--
          -->{{#if:{{{ethnic_groups_year|}}}
        -->{{#if:{{{ethnic_groups_year|}}} |<!--then:-->({{{ethnic_groups_year}}}) }}</td>
              |<!--then:-->({{{ethnic_groups_year}}}) }}</td>
       <td>{{{ethnic_groups}}}</td>
       <td>{{{ethnic_groups}}}</td>
   </tr>
   </tr>
}}
}}


<!-------------------------------------Government-------------------------------------->
 
<!-----------------------------------------------------------------------------------------
          Government (country/territory) or Figureheads (geopolitical organization)
------------------------------------------------------------------------------------------>
{{#if:{{{government_type|}}}
{{#if:{{{government_type|}}}
|<!--then:-->
|<!--then:-->
   <tr> <th colspan="2">[[Government]]</th>
   <tr> <th colspan="2">[[Government]]</th><td>{{{government_type|}}}</td> </tr>
      <td>{{{government_type|}}}</td>
 
  </tr>
|<!--else: No government_type provided, so if at least one leader provided,
|<!--else if leader/s provided but no government_type, use generic subheading "Government":
          use "Figureheads" (geopolitical org) or "Government" (country/territory)
-->{{#if:{{{leader_title1|}}}{{{leader_name1|}}} |<!--then:
  -->{{#if:{{{leader_title1|}}}{{{leader_name1|}}}
      --><tr> <th colspan="3">[[Government]]</th>
    |<!--then:-->{{#if:{{{name|}}}{{{membership|}}}
        </tr>
                  |<!--then template being used for geopolitical organization:
    }}
                    --><tr> <th colspan="3">Figureheads</th> </tr><!--
              -->|<!--else template being used for a country or territory:
                    --><tr> <th colspan="3">[[Government]]</th> </tr><!--
              -->}}
    }}
}}
}}


 
<!-----------------------------------------------------------------------------------------
<!--------------------------------------Leaders---------------------------------------->
                                          Leaders
------------------------------------------------------------------------------------------>
{{#if:{{{leader_title1|}}} |<!--then:-->
{{#if:{{{leader_title1|}}} |<!--then:-->
   <tr class="{{#if:{{{leader_title2|}}}
   <tr class="{{#if:{{{leader_title2|}}}
Line 299: Line 361:
}}
}}


<!-----------------------------------------------------------------------------------------
        Sovereignty (country/territory) or Establishment (geopolitical organization)
------------------------------------------------------------------------------------------>
{{#if:{{{established_event1|}}}{{{sovereignty_type|}}}{{{established|}}} |<!--then:-->
  <tr {{#if:{{{established_event1|}}} |<!--then:-->class="mergedtoprow"}}>
        <!----------Sovereignty---------->
        {{#if:{{{sovereignty_type|}}}
        |<!--then:-->
          {{#if:{{{sovereignty_note|}}}
          |<!--then:-->
            <th colspan="2">{{{sovereignty_type}}}</th><td>{{{sovereignty_note}}}&nbsp;</td>
          |<!--else:-->
            <th colspan="3">{{{sovereignty_type}}}</th>
          }}
        <!---------Establishment---------->
        |<!--else:-->
          <th colspan="2">Establishment</th><td>{{{establishment|}}}</td>
        }}


<!------------------------------------Sovereignty------------------------------------->
{{#if:{{{established_event1|}}}{{{sovereignty_type|}}} |<!--then:-->
  <tr {{#if:{{{established_event1|}}} |<!--then:-->class="mergedtoprow"}}>
        {{#if:{{{sovereignty_note|}}}
        |<!--then:--><th colspan="2">{{{sovereignty_type}}}</th>
                    <td>{{{sovereignty_note}}}&nbsp;</td>
        |<!--else:--><th colspan="3">{{{sovereignty_type}}}</th>}}
   </tr>
   </tr>
}}
}}


 
<!-----------------------------------------------------------------------------------------
<!---------------Significant events in country/territory's establishment--------------->
          Significant events in country/territory or organization's establishment
------------------------------------------------------------------------------------------>
{{#if:{{{established_event1|}}} |<!--then:-->
{{#if:{{{established_event1|}}} |<!--then:-->
  <tr class="{{#if:{{{established_event2|}}}
  <tr class="{{#if:{{{established_event2|}}}
Line 384: Line 460:
}}
}}


 
<!-----------------------------------------------------------------------------------------
<!------------------------------EU accession (member states)----------------------------->
                  Accession to the European Union (Country/territory use)
------------------------------------------------------------------------------------------>
{{#if:{{{accessionEUdate|}}} |<!--then:-->
{{#if:{{{accessionEUdate|}}} |<!--then:-->
   <tr> <th colspan="2">[[Enlargement of the European Union|Accession to the]]&nbsp;[[European Union]]</th>
   <tr> <th colspan="2">[[Enlargement of the European Union|Accession to<br/>the]] [[European Union]]</th>
       <td style="vertical-align:middle;">{{{accessionEUdate}}}</td>
       <td style="vertical-align:middle;">{{{accessionEUdate}}}</td>
   </tr>
   </tr>
Line 393: Line 470:




<!-----------------------------------------Area----------------------------------------->
<!-----------------------------------------------------------------------------------------
                                            Area
------------------------------------------------------------------------------------------>
{{#if:{{{area|}}} |<!--then:-->
{{#if:{{{area|}}} |<!--then:-->
   <tr class="mergedtoprow">
   <tr class="mergedtoprow">
Line 440: Line 519:




<!-------------------------------------Population------------------------------------->
<!-----------------------------------------------------------------------------------------
                                        Population
------------------------------------------------------------------------------------------>
{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} |<!--then:-->
{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} |<!--then:-->
   <tr class="mergedtoprow">
   <tr class="mergedtoprow">
Line 498: Line 579:




<!-----------------------------------------GDP----------------------------------------->
<!-----------------------------------------------------------------------------------------
 
                                            GDP
------------------------------------------------------------------------------------------>
<!-----------------PPP----------------->
<!-----------------PPP----------------->
{{#if:{{{GDP_PPP|}}} |<!--then:-->
{{#if:{{{GDP_PPP|}}} |<!--then:-->
Line 547: Line 629:




<!-----------------------------------------Gini---------------------------------------->
<!-----------------------------------------------------------------------------------------
                                            Gini
------------------------------------------------------------------------------------------>
{{#if:{{{Gini|}}} |<!--then:-->
{{#if:{{{Gini|}}} |<!--then:-->
   <tr> <td colspan="2">'''[[Gini_coefficient|Gini]]'''<sup style="cursor:help">{{Template:H:title|A Gini index of 0 represents perfect economic equality, and 100 perfect inequality|?}}</sup>&nbsp;<!--
   <tr> <td colspan="2">'''[[Gini_coefficient|Gini]]'''<sup style="cursor:help">{{Template:H:title|A Gini index of 0 represents perfect economic equality, and 100 perfect inequality|?}}</sup>&nbsp;<!--
Line 559: Line 643:




<!-----------------------------------------HDI----------------------------------------->
<!-----------------------------------------------------------------------------------------
                                            HDI
------------------------------------------------------------------------------------------>
{{#if:{{{HDI|}}} |<!--then:-->
{{#if:{{{HDI|}}} |<!--then:-->
   <tr> <td colspan="2">'''[[Human Development Index|HDI]]'''&nbsp;<!--
   <tr> <td colspan="2">'''[[Human Development Index|HDI]]'''&nbsp;<!--
Line 571: Line 657:




<!--------------------------------------Currency--------------------------------------->
<!-----------------------------------------------------------------------------------------
                                          Currency
------------------------------------------------------------------------------------------>
{{#if:{{{currency|}}} |<!--then:-->
{{#if:{{{currency|}}} |<!--then:-->
   <tr>
   <tr>
Line 582: Line 670:




<!--------------------------------------Time zone-------------------------------------->
<!-----------------------------------------------------------------------------------------
                                          Time zone
------------------------------------------------------------------------------------------>
{{#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"}}>
Line 606: Line 696:




<!-------------------------------------Internet TLD------------------------------------->
<!-----------------------------------------------------------------------------------------
                                        Internet TLD
------------------------------------------------------------------------------------------>
{{#if:{{{cctld|}}} |<!--then:-->
{{#if:{{{cctld|}}} |<!--then:-->
   <tr> <th colspan="2">[[Country code top-level domain|Internet TLD]]</th>
   <tr> <th colspan="2">[[Country code top-level domain|Internet TLD]]</th>
Line 614: Line 706:




<!-------------------------------------Calling code------------------------------------->
<!-----------------------------------------------------------------------------------------
                        Official website (Geopolitical organization)
------------------------------------------------------------------------------------------>
{{#if:{{{official_website|}}} |<!--then:-->
<tr>
  <td colspan="3" style="line-height:11pt; text-align:center;"><!--
  -->'''Website'''<br/>{{{official_website}}}</td>
</tr>
}}
 
 
<!-----------------------------------------------------------------------------------------
                                        Calling code
------------------------------------------------------------------------------------------>
{{#if:{{{calling_code|}}} |<!--then:-->
{{#if:{{{calling_code|}}} |<!--then:-->
   <tr> <th colspan="2">[[List of country calling codes|Calling code]]</th>
   <tr> <th colspan="2">[[List of country calling codes|Calling code]]</th>
Line 622: Line 727:




<!------------------------Patron saint (UK constituent countries)----------------------->
<!-----------------------------------------------------------------------------------------
                            Patron saint (UK constituent countries)
------------------------------------------------------------------------------------------>
{{#if:{{{patron_saint|}}} |<!--then:-->
{{#if:{{{patron_saint|}}} |<!--then:-->
   <tr> <th colspan="2" >[[Patron saint]]</th>
   <tr> <th colspan="2" >[[Patron saint]]</th>
Line 630: Line 737:




<!--------------------------------------Footnotes--------------------------------------->
<!-----------------------------------------------------------------------------------------
                                          Footnotes
------------------------------------------------------------------------------------------>
{{#if:{{{footnotes|}}} |<!--then:-->
{{#if:{{{footnotes|}}} |<!--then:-->
   <tr> <td colspan="3"><small>{{{footnotes}}}</small></td>
   <tr> <td colspan="3"><small>{{{footnotes}}}</small></td>
Line 688: Line 797:
<!--end padding:--></div><!--
<!--end padding:--></div><!--
--></includeonly><!--
--></includeonly><!--
-------------------------------End of template--------------------------------
-------------------------------------End of template--------------------------------------
--><noinclude><!--
--><noinclude><!--



Revision as of 19:10, 3 May 2007

Template:Infobox country/blank template