Template:Infobox country: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
-->{{#if:{{{conventional_long_name|}}}{{{native_name|}}}{{{name|}}} |<!--then:
-->{{#if:{{{conventional_long_name|}}}{{{native_name|}}}{{{name|}}} |<!--then:
     --><tr class="adr">
     --><tr class="adr">
           <th colspan="3" align="center" class="mergedtoprow fn org country-name"
           <th colspan="3" align="center" class="mergedtoprow"
               style="line-height:1.2em; padding:0.25em 0.33em 0.33em; font-size:1.25em;"><!--
               style="line-height:1.2em; padding:0.25em 0.33em 0.33em; font-size:1.25em;"><!--
           -->{{#if:{{{conventional_long_name|}}} |<!--then:-->{{{conventional_long_name|}}} }}<!--
           -->{{#if:{{{conventional_long_name|}}} |<!--then:--><span class=" fn org country-name">{{{conventional_long_name|}}} }}</span><!--
           -->{{#if:{{{native_name|}}}{{{name|}}}
           -->{{#if:{{{native_name|}}}{{{name|}}}
               |<!--then:--><div style="padding-top:0.25em;"><!--
               |<!--then:--><div style="padding-top:0.25em;"><!--
                 -->{{{native_name|}}}{{{name|}}}</div><!--
                 -->{{br separated entries|{{{native_name|}}}|{{#if:{{{name|}}}|<span class="fn org country-name">{{{name|}}}</span>}}}}</div><!--
           -->}}<!--
           -->}}<!--
       --></th>
       --></th>
Line 103: Line 103:
-->{{#if:{{{national_motto|}}}{{{motto|}}} |<!--then:
-->{{#if:{{{national_motto|}}}{{{motto|}}} |<!--then:
     --><tr> <td colspan="3" style="line-height:1.2em; text-align:center;"><!--
     --><tr> <td colspan="3" style="line-height:1.2em; text-align:center;"><!--
               -->'''[[Motto]]:&nbsp;'''{{{national_motto|}}}{{{motto|}}}</td>
               -->'''[[List of national mottos|Motto]]:&nbsp;'''{{{national_motto|}}}{{{motto|}}}</td>
         </tr><!--
         </tr><!--
-->}}<!--
-->}}<!--
Line 143: Line 143:
-->{{#if:{{{image_map|}}} |<!--then:
-->{{#if:{{{image_map|}}} |<!--then:
     --><tr>
     --><tr>
           <td colspan="3" style="text-align:center; padding:0.6em 0em;">[[File:{{{image_map}}} |{{{map_width|250px}}} |center |alt={{{alt_map|}}}|Location of {{{common_name|{{{linking_name|{{PAGENAME}}}}}}}}]] <div style="position:relative; top:0.3em;"><small>{{{map_caption|}}}</small></div>
           <td colspan="3" style="text-align:center; padding:0.6em 0em;">[[File:{{{image_map}}} |{{{map_width|250px}}} |center |alt={{{alt_map|{{{map_caption|}}}}}}|{{{alt_map|{{{map_caption|Location of {{{common_name|{{{linking_name|{{PAGENAME}} }}} }}} }}} }}}]] <div style="position:relative; top:0.3em;"><small>{{{map_caption|}}}</small></div>
           </td>
           </td>
         </tr><!--
         </tr><!--
Line 149: Line 149:
-->{{#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;"> [[File:{{{image_map2}}} |{{{map2_width|280px}}} |center |alt={{{alt_map2|}}}|Location of {{{common_name|{{{linking_name|{{PAGENAME}}}}}}}}]] <div style="position:relative; top:0.3em;"><small>{{{map_caption2|}}}</small></div>
           <td colspan="3" style="text-align:center; padding:0.6em 0em;"> [[File:{{{image_map2}}} |{{{map2_width|280px}}} |center |alt={{{alt_map2|{{{map_caption2|}}}}}}|{{{alt_map2|{{{map_caption2|Location of {{{common_name|{{{linking_name|{{PAGENAME}} }}} }}} }}} }}}]] <div style="position:relative; top:0.3em;"><small>{{{map_caption2|}}}</small></div>
           </td>
           </td>
         </tr><!--
         </tr><!--
Line 190: Line 190:
                   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/>{{#ifexist:List of cities in {{{common_name}}}
                       </td><!--
                              |[[List of cities in {{{common_name}}}|(and {{{largest_settlement_type|largest city}}})]]
                              |(and {{{largest_settlement_type|largest city}}})
                       }}</td><!--
                     --------Add capital:--------
                     --------Add capital:--------
                     --><td>{{{capital}}}<!--
                     --><td>{{{capital}}}<!--
Line 198: Line 200:
                       |<!--then:--><br/><small><span style="white-space:nowrap;"><!--
                       |<!--then:--><br/><small><span style="white-space:nowrap;"><!--
                         -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}<!--
                         -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}<!--
                                   -->|{{{longm}}}|{{{longEW}}}|type:country({{{area_km2|}}})<!--
                                   -->|{{{longm}}}|{{{longEW}}}|type:country<!--
                         -->}}</span></small><!--
                         -->}}</span></small><!--
                     -->}}
                     -->}}
Line 213: Line 215:
                         |<!--then:--><br/><small><span style="white-space:nowrap;"><!--
                         |<!--then:--><br/><small><span style="white-space:nowrap;"><!--
                         -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}<!--
                         -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}<!--
                                   -->|{{{longm}}}|{{{longEW}}}|type:country({{{area_km2|}}})<!--
                                   -->|{{{longm}}}|{{{longEW}}}|type:country<!--
                         -->}}</span></small><!--
                         -->}}</span></small><!--
                     -->}}
                     -->}}
Line 223: Line 225:
                     <th colspan="2"><!--
                     <th colspan="2"><!--
                       -->{{#if:{{{common_name|}}}
                       -->{{#if:{{{common_name|}}}
                         |<!--then:-->[[Demographics of {{{common_name}}}|Largest {{{largest_settlement_type|city}}}]]<!--
                         |<!--then:-->{{#ifexist:List of cities in {{{common_name}}}
                      -->|<!--else:-->Largest {{{largest_settlement_type|city}}}<!--
                              |[[List of cities in {{{common_name}}}|Largest {{{largest_settlement_type|city}}}]]
                              |Largest {{{largest_settlement_type|city}}}
                        }}
                        |<!--else:-->Largest {{{largest_settlement_type|city}}}<!--
                       -->}}<!--
                       -->}}<!--
                   --></th>
                   --></th>
Line 239: Line 244:
                   --><th colspan="2"><!--
                   --><th colspan="2"><!--
                       -->{{#if:{{{common_name|}}}
                       -->{{#if:{{{common_name|}}}
                        |<!--then:-->[[Demographics of {{{common_name}}}|Largest {{{largest_settlement_type|city}}}]]<!--
                          |<!--then:-->{{#ifexist:List of cities in {{{common_name}}}
                      -->|<!--else:-->Largest {{{largest_settlement_type|city}}}<!--
                              |[[List of cities in {{{common_name}}}|(and {{{largest_settlement_type|largest city}}})]]
                              |(and {{{largest_settlement_type|largest city}}})
                          }}
                          |<!--else:-->Largest {{{largest_settlement_type|city}}}<!--
                       -->}}<!--
                       -->}}<!--
                   --></th>
                   --></th>
Line 254: Line 262:
-->{{#if:{{{official_languages|}}} |<!--then:
-->{{#if:{{{official_languages|}}} |<!--then:
     --><tr>
     --><tr>
           <th colspan="2" style="vertical-align:middle; white-space:nowrap;">[[Official language]]s</th>
           <th colspan="2" style="vertical-align:middle; white-space:nowrap;">[[Official language|Official language(s)]]</th>
           <td>{{{official_languages|}}}</td>
           <td>{{{official_languages|}}}</td>
         </tr><!--
         </tr><!--
    -->{{#if:{{{national_languages|}}} |<!--then:
          --><tr>
              <td colspan="2">[[National language|Recognised national&nbsp;language]]s</td>
              <td style="vertical-align:middle;">{{{national_languages|}}}</td>
            </tr><!--
    -->}}<!--
     -->{{#if:{{{regional_languages|}}} |<!--then:
     -->{{#if:{{{regional_languages|}}} |<!--then:
           --><tr class="mergedbottomrow">
           --><tr class="mergedbottomrow">
Line 380: Line 394:
-->}}<!--
-->}}<!--
-->{{#if:{{{upper_house|}}} |<!--then:
-->{{#if:{{{upper_house|}}} |<!--then:
     --> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
     --> <tr class="mergedrow">
          <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
           <td style="padding-left:0em;">[[Upper House]]</td>
           <td style="padding-left:0em;">[[Upper House]]</td>
           <td>{{{upper_house}}}</td>
           <td>{{{upper_house}}}</td>
Line 490: Line 505:
         </tr><!--
         </tr><!--
-->}}<!--
-->}}<!--
 
-->{{#if:{{{established_event10|}}} |<!--then:
    --><tr class="mergedbottomrow">
          <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
          <td style="padding-left:0em;">{{{established_event10}}}</td>
          <td>{{{established_date10|}}}&nbsp;</td>
        </tr><!--
-->}}<!--
-->{{#if:{{{established_event11|}}} |<!--then:
    --><tr class="mergedbottomrow">
          <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
          <td style="padding-left:0em;">{{{established_event11}}}</td>
          <td>{{{established_date11|}}}&nbsp;</td>
        </tr><!--
-->}}<!--
-->{{#if:{{{established_event12|}}} |<!--then:
    --><tr class="mergedbottomrow">
          <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
          <td style="padding-left:0em;">{{{established_event12}}}</td>
          <td>{{{established_date2|}}}&nbsp;</td>
        </tr><!--
-->}}<!--
================================================================
================================================================
           Accession to the European Union (country/territory)
           Accession to the European Union (country/territory)
Line 506: Line 541:
-->{{#if:{{{area_km2|}}} |<!--then:
-->{{#if:{{{area_km2|}}} |<!--then:
     --><tr class="mergedtoprow">
     --><tr class="mergedtoprow">
           <th colspan="3">[[Area]]</th>
           <th colspan="3">[[List of countries and outlying territories by total area|Area]]</th>
         </tr>
         </tr>
         <tr class="mergedrow">
         <tr class="mergedrow">
Line 521: Line 556:
     --><tr class="mergedrow">
     --><tr class="mergedrow">
           <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
           <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
           <td style="padding-left:0em;">[[Water]]&nbsp;([[Percent|%]])</td>
           <td style="padding-left:0em;">[[List of countries by percentage of water area|Water&nbsp;(%)]]</td>
           <td>{{{percent_water|}}}</td>
           <td>{{{percent_water|}}}</td>
         </tr><!--
         </tr><!--
Line 558: Line 593:
-->{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} |<!--then:
-->{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} |<!--then:
     --><tr class="mergedtoprow">
     --><tr class="mergedtoprow">
           <th colspan="3">[[Population]]</th>
           <th colspan="3">[[World population|Population]]</th>
         </tr><!--
         </tr><!--
     ---------------Estimate---------------
     ---------------Estimate---------------
Line 701: Line 736:
               -->{{#if:{{{utc_offset|}}} |<!--then:-->{{nowrap|([[Coordinated Universal Time|UTC]]{{{utc_offset}}})<!--endnowrap:-->}}<!--endif:-->}}</td>
               -->{{#if:{{{utc_offset|}}} |<!--then:-->{{nowrap|([[Coordinated Universal Time|UTC]]{{{utc_offset}}})<!--endnowrap:-->}}<!--endif:-->}}</td>
         </tr><!--
         </tr><!--
     -->{{#if:{{{utc_offset_DST|}}} |<!--then:
     -->{{#if:{{{time_zone_DST|}}}{{{utc_offset_DST|}}} |<!--then:
           --><tr class="{{#if:{{{DST_note|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
           --><tr class="{{#if:{{{DST_note|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
               <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
               <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td>
Line 713: Line 748:
           <td colspan="2"></td>
           <td colspan="2"></td>
           <td>{{{DST_note}}}</td>
           <td>{{{DST_note}}}</td>
        </tr><!--
-->}}<!--
==========================================================================================
                                        Antipodes
==========================================================================================
-->{{#if:{{{antipodes|}}} |<!--then:
    --><tr>
          <th colspan="2">[[Antipodes]]</th>
          <td>{{{antipodes}}}</td>
         </tr><!--
         </tr><!--
-->}}<!--
-->}}<!--
Line 735: Line 780:
         </tr><!--
         </tr><!--
-->}}<!--
-->}}<!--
================================================================
                                ISO 3166 code
================================================================
-->{{#switch:{{{iso3166code|}}}
  |omit=<!-- do nothing -->
  |=<!-- if iso3166code is not supplied:-->{{#if:{{{common_name|}}}
    |<!-- then: -->{{#ifexist:Template:ISO 3166 code {{{common_name|}}}
      |<!-- then: --><tr class="mergedtoprow">
      <th colspan="2">[[ISO 3166|ISO&nbsp;3166&nbsp;code]]</th>
      <td>[[ISO 3166-2:{{ISO 3166 code {{{common_name|}}} }}|{{ISO 3166 code {{{common_name|}}} }}]]</td>
      </tr>
    }}<!--end ifexist -->
  }}<!--end if common_name-->
  |#default=<tr>
  <th colspan="2">[[ISO 3166|ISO&nbsp;3166&nbsp;code]]</th>
  <td>[[ISO 3166-2:{{uc:{{{iso3166code}}} }}|{{uc:{{{iso3166code}}} }}]]</td>
  </tr>
}}<!--


================================================================
================================================================
Line 834: Line 898:
-->}}<!--
-->}}<!--
-->{{#if:{{{footnote7|}}} |<!--then:
-->{{#if:{{{footnote7|}}} |<!--then:
     --><tr class="mergedbottomrow" style="font-size:80%;">
     --><tr class="{{#if:{{{footnote8|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}" style="font-size:80%;">
           <td align="right">{{lower|0.3em|<sup>7</sup>}}</td>
           <td align="right">{{lower|0.3em|<sup>7</sup>}}</td>
           <td colspan="2" style="padding-left:0em;">{{{footnote7}}}</td>
           <td colspan="2" style="padding-left:0em;">{{{footnote7}}}</td>
        </tr><!--
-->}}<!--
-->{{#if:{{{footnote8|}}} |<!--then:
    --><tr class="mergedbottomrow" style="font-size:80%;">
          <td align="right">{{lower|0.3em|<sup>8</sup>}}</td>
          <td colspan="2" style="padding-left:0em;">{{{footnote8}}}</td>
        </tr><!--
-->}}<!--
================================================================
                            Navbox
================================================================
-->{{#if:{{{navbar|}}} |<!--then:
    --><tr class="mergedtoprow noprint">
          <td colspan="3" style="text-align:center;">{{navbar|{{{navbar|}}}}}</td>
         </tr><!--
         </tr><!--
-->}}<!--
-->}}<!--

Revision as of 18:47, 21 January 2013