Template:Infobox country: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
en>SomeHuman
(nope. rv)
en>David Kernow
(Major overhaul: To be robust, consistent and less prone to accidental formatting errors, entire table now coded using HTML rather than a mixture of HTML, wikicode and wikicode-via-templates.)
Line 1: Line 1:
<noinclude>{{caution|<big>'''A copy of this template is currently being recoded to use HTML for ''all''<br/>table code and to remove the appearance of a rogue brace in some circumstances. This should be complete by the end of this weekend<br/>(March 10-11).'''</big>}}<hr/><center>'''''For syntax, see [[{{FULLPAGENAME}}/doc|/doc]].'''''</center><hr/><br/>{{esoteric}}<br/>
<noinclude><hr/><center><big>'''''For syntax, see [[{{FULLPAGENAME}}/doc|/doc]].'''''</big></center><hr/><br/>{{esoteric}}</noinclude><!--
</noinclude>{| class="infobox geography" style="width:46ex;"
|-


Please note: Throughout this template, the code used to define table rows and cells is
HTML, not wikicode. This allows the pipe character ("|") to be used by variable syntax
(e.g. {{{variable|}}}) without risk of being parsed as wikicode indicating the start of
a new cell. It also makes adding annotations easier and less prone to formatting errors.


This does not mean that using wikicode to define tables is to be avoided elsewhere - in
<!--------------------Name/s-------------------->
many situations it may be preferred as a simpler and more visual means to define tables
|colspan="2" class="mergedtoprow" align="center" style="line-height:1.2em; font-size:1.2em;"| <!--
or other elements.
-->{{#if:{{{native_name<includeonly>|</includeonly>}}}<!--
-->|<!--then:--> '''{{{native_name}}}'''<!--end#if:-->}}<!--
-->{{#if:{{{conventional_long_name<includeonly>|</includeonly>}}}<!--
-->|<!--then:--><br/>'''{{{conventional_long_name}}}'''<!--end#if:-->}}
|-


{{¡}} = <includeonly>|</includeonly> (Allows unfilled parameters to appear on template
page but not when template transcluded)


<!--------------------Flag / Coat-of-arms (or other symbol)-------------------->
{{#if<!--A-->:{{{image_flag<includeonly>|</includeonly>}}}
|<!--thenA: Flag image provided:-->
{{!-}} class="mergedtoprow"
{{!}}colspan="2" class="maptable" style="padding:0.4em 0.8em 0.4em 0.8em; text-align:center;"{{!}} <!--


--><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 this infobox.-->
----------start subtable:---------->
<table class="infobox geography" style="width:46ex;">
{{{!}} style="width:100%; background:none; text-align:center;"
{{!}}{{#if<!--A1-->:{{{image_coat<includeonly>|</includeonly>}}} |<!--thenA1: Coat-of-arms/symbol (CoA/S) provided, so share width with flag:-->width="50%"<!--
---end#ifA1:-->}} <!--add remaining styles required:-->style="vertical-align:middle; text-align:center;"{{!}} <!-----Flag:----->{{border|[[Image:{{{image_flag<noinclude>|Example.png</noinclude>}}}|125px|Flag of {{{common_name}}}]]<!--end border:-->}}
<!-------check for CoA/S:------->
{{#if<!--A2-->:{{{image_coat<includeonly>|</includeonly>}}}
|<!--thenA2: CoA/S provided, so add:-->
{{!}}style="vertical-align:middle; text-align:center;"{{!}} [[Image:{{{image_coat<noinclude>|Example.png</noinclude>}}}|85px|{{{symbol_type|Coat of arms}}} of {{{common_name}}}]]<!--
---end#ifA2:-->}}
{{!-}}
{{!}} <!-----Flag link:-----><small>[[Flag of {{{common_name}}}|{{{flag_caption|Flag}}}]]''</small>
<!-------check for CoA/S:------->
{{#if<!--A3-->:{{{image_coat<includeonly>|</includeonly>}}}
|<!--then: CoA/S provided, so add link:-->
{{!}} <small>[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name}}}|{{{symbol_type|Coat of arms}}}]]''</small><!--
---end#ifA3:-->}}<!--
-----------end subtable:----------->
{{!}}}<!--
---end#ifA:-->}}
|-




<!--------------------Motto-------------------->
<!---------------------------------------Names----------------------------------------->
<tr>
{{#if:{{{national_motto<includeonly>|</includeonly>}}} |<!--then:-->
{{!}}colspan="2" style="line-height:1.2em; text-align:center;"{{!}} [[List of state mottos|Motto:]] {{{national_motto}}}
<th colspan="2" class="mergedtoprow" align="center" style="line-height:1.2em; font-size:1.2em;"><!--
{{!-}} <!--end#if:-->}}
-->{{#if:{{{native_name{{¡}}}}}
|<!--then:-->{{{native_name}}} {{#if:{{{conventional_long_name{{¡}}}}}
|<!--then:--><br/>{{{conventional_long_name}}}
}}
|<!--else:-->{{#if:{{{conventional_long_name|}}}
|<!--then:-->{{{conventional_long_name}}}
|<!--else:-->{{PAGENAME}}
}}
}}
</th>
</tr>




<!--------------------Anthem-------------------->
<!------------------------Flag / Coat-of-arms (or other symbol)------------------------>
{{#if:{{{image_flag{{¡}}}}}
{{#if:{{{national_anthem<includeonly>|</includeonly>}}} |<!--then:-->
|<!--then:-->
{{!}}colspan="2" style="line-height:1.2em; text-align:center;"{{!}} [[National anthem|Anthem:]] {{{national_anthem}}}
<tr class="mergedtoprow">
{{!-}} <!--end#if:-->}}
<td colspan="2" class="maptable" style="text-align:center;">
|-
<!----------Start subtable:----------->
<table style="background:none; text-align:center;">
<!-------Images:------->
<tr>
<td style="{{#if:{{{image_coat{{¡}}}}} |<!--then:-->width:65%;}} <!--
-->vertical-align:middle;">{{border|[[Image:{{{image_flag|Vlag ontbreekt.svg}}}|125px|Flag of {{{common_name|{{PAGENAME}}}}}]]<!--end border:-->}}
</td>
{{#if:{{{image_coat{{¡}}}}}
|<!--then:--><td style="vertical-align:middle;">[[Image:{{{image_coat|Sin escudo.svg}}}|85px|{{{symbol_type|Coat of arms}}} of {{{common_name|{{PAGENAME}}}}}]]
</td>
}}
</tr>
<!-------Links:------->
<tr>
<td><small>[[Flag of {{{common_name|{{PAGENAME}}}}}|{{{flag_caption|Flag}}}]]</small>
</td>
{{#if:{{{image_coat{{¡}}}}}
|<!--then:--><td><small>[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{PAGENAME}}}}}|{{{symbol_type|Coat of arms}}}]]</small>
</td>
}}
</tr>
<!-----------End subtable:------------>
</table>
</td>
</tr>
}}




<!--------------------Map-------------------->
<!---------------------------------------Motto----------------------------------------->
{{#if:{{{national_motto|}}}
|colspan="2" style="text-align:center; padding:0.4em 0em 0.4em 0em;"| [[Image:{{{image_map<noinclude>|Example.png</noinclude>}}}|250px|center|Location of {{{common_name}}}]]
<!-----check for map_caption:----->
|<!--then:-->
<tr>
{{#if:{{{map_caption<includeonly>|</includeonly>}}}
<td colspan="2" style="line-height:1.2em; text-align:center;">[[List of state mottos|Motto:]] {{{national_motto}}}
|<!--then: add map_caption:--><small>{{{map_caption}}}<small><!--
</td>
---end #if:-->}}
</tr>
|- class="mergedtoprow"
}}


<!----------check for second map:---------->
{{#if:{{{image_map2<includeonly>|</includeonly>}}}
|<!--then: add second map:-->
{{!}}colspan="2" style="text-align:center; padding:0.4em 0em 0.4em 0em;"{{!}} [[Image:{{{image_map2<noinclude>|Example.png</noinclude>}}}|250px|center|Location of {{{common_name}}}]]}}
<!-----check for map_caption:----->
{{#if:{{{map_caption2<includeonly>|</includeonly>}}} |<!--then:--><small>{{{map_caption2}}}<small><!--
---end #if:-->}}
|- class="mergedtoprow"


<!---------------------------------------Anthem---------------------------------------->
{{#if:{{{national_anthem|}}}
|<!--then:-->
<tr>
<td colspan="2" style="line-height:1.2em; text-align:center;">[[National anthem|Anthem:]] {{{national_anthem}}}
</td>
</tr>
}}


<!--------------------Capital / Largest city-------------------->
|style="vertical-align:middle;"| '''[[List of national capitals|Capital]]'''<!--
-->{{#ifeq:<!-------Check whether capital = largest_city------->
{{#switch: {{{largest_city<includeonly>|</includeonly>}}}
| capital = <!--largest_city = "capital"-->
| {{{capital}}} = <!--largest_city = {{{capital}}}-->
| [[{{{capital}}}]] = <!--largest_city = [[{{{capital}}}]]-->
| largest_city isn't capital
<!--end #switch:-->}}<!--
-----if switch result...---->
|<!--equals:-->largest_city isn't capital
|<!--then: move on-->
|<!--else: append "(and largest [city])":-->&nbsp;<br/>[[Demographics of {{{common_name}}}|(and {{{largest_settlement_type|largest city}}})]]<!--
---end #ifeq:-->}}<!--


----------add capital:---------->
<!----------------------------------------Maps----------------------------------------->
{{#if:{{{image_map{{¡}}}}}
| {{{capital}}}<!--
|<!--then:-->
------add capital's latitude/longitude (if provided):------
<tr>
-->{{#if:{{{latd|}}} |<!--then:--><br/><small>{{coor dm {{!}}{{{latd}}}{{!}}{{{latm}}}<!--
<td colspan="2" style="text-align:center; padding:0.4em 0em 0.4em 0em;"> [[Image:{{{image_map<noinclude>|Missing map.png</noinclude>}}}|250px|center|Location of {{{common_name|{{PAGENAME}}}}}]] <small>{{{map_caption|}}}</small>
-->{{!}}{{{latNS}}}{{!}}{{{longd}}}{{!}}{{{longm}}}{{!}}{{{longEW}}}<!-- -->{{!}}type:country({{{area}}})<!--end coor_dm:-->}}</small><!--
</td>
---end #if:-->}}
</tr>
|- class="mergedbottomrow"
}}


{{#if:{{{image_map2|}}}
<!-------add largest_city if provided and not the capital:------->
|<!--then:-->
{{#if:{{{largest_city<includeonly>|</includeonly>}}}
<tr class="mergedtoprow">
|<!--then: largest_city has been provided, so:-->
<td colspan="2" style="text-align:center; padding:0.4em 0em 0.4em 0em;"> [[Image:{{{image_map2<noinclude>|Missing map.png</noinclude>}}}|250px|center|Location of {{{common_name|{{PAGENAME}}}}}]] <small>{{{map_caption2|}}}</small>
{{#ifeq:<!----check whether capital = largest_city---->
</td>
{{#switch: {{{largest_city<includeonly>|</includeonly>}}}
</tr>
| capital = <!--largest_city = "capital"-->
}}
| {{{capital}}} = <!--largest_city = {{{capital}}}-->
| [[{{{capital}}}]] = <!--largest_city = [[{{{capital}}}]]-->
| largest_city isn't capital
<!--end #switch:-->}}<!--
-----i.e. if switch result:-----
-->|<!--equals:-->largest_city isn't capital
-->|<!--then: add largest_city:-->
!style="vertical-align:middle;"{{!}} [[Demographics of {{{common_name}}}|{{{largest_settlement_type|Largest city}}}]]
{{!}} {{{largest_settlement|{{{largest_city}}}}}}
<!--end #ifeq:-->}}
<!--end #if:-->}}
|-




<!--------------------Official languages, Ethnic groups-------------------->
<!-------------------------------Capital, Largest city--------------------------------->
<tr class="mergedtoprow">
! [[Official language|Official&nbsp;languages]]
<td style="vertical-align:middle;">'''[[List of national capitals|Capital]]'''<!--
| {{{official_languages}}}
-->{{#if:{{{capital}}}
|-
{{#if:{{{ethnic_groups<includeonly>|</includeonly>}}} |<!--then:-->
|<!--then:-->
{{#ifeq:
! [[Ethnic group]]s
{{#switch:{{{largest_city}}}
{{!}} {{{ethnic_groups}}}
| capital = <!--largest_city = "capital"-->
{{!-}} <!--end#if:-->}}
| {{{capital}}} = <!--largest_city = capital-->
| [[{{{capital}}}]] = <!--largest_city = [[capital]]-->
| largest_city isn't capital
}}
|<!----equals:---->largest_city isn't capital<!--


-->|<!--THEN(ifeq):--><!--
-----------------------Add capital...----------------------
--></td>
<td>{{{capital{{¡}}}}}<!--
-----add capital's latitude/longitude (if provided):-----
-->{{#if:{{{latd|}}}
|<!--then:--><br/><small>{{coor dm |{{{latd}}}|{{{latm}}}<!--
-->|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}<!--
-->|type:country({{{area}}})<!--end coor_dm:-->}}</small>
}}
</td>
</tr>
<!---------...then, if provided, add largest_city:-------->
{{#if:{{{largest_city|}}}
|<!--then:-->
<tr class="mergedbottomrow">
<th style="vertical-align:middle;">[[Demographics of {{{common_name}}}|{{{largest_settlement_type|Largest city}}}]]
</th>
<td>{{{largest_settlement|{{{largest_city}}}}}}
</td>
</tr>
}}<!--


-->|<!--ELSE(ifeq):--><!--
<!--------------------Government-------------------->
--------------------Capital is largest_city:--------------------
| '''[[List of countries by system of government|Government]]'''
--><br/>[[Demographics of {{{common_name}}}|(and {{{largest_settlement_type|largest city}}})]]
| {{{government_type}}}
</td>
|- class="mergedrow"
<td>{{{capital}}}<!--
-------add capital's latitude/longitude (if provided):-------
-->{{#if:{{{latd|}}}
|<!--then:--><br/><small>{{coor dm |{{{latd}}}|{{{latm}}}<!--
-->|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}<!--
-->|type:country({{{area}}})<!--end coor_dm:-->}}</small>
}}
</td>
</tr>


}}<!--(end#ifeq)--><!--


-->|<!--else(1st_#if)--><!--
<!--------------------Leaders-------------------->
----------------------capital not provided:----------------------
{{#if:{{{leader_titles|}}} |<!--then:-->
--></td> <!--close "Capital:" cell;-->
{{!}} {{{leader_titles}}} {{!!}} {{{leader_names}}} <!--NOTE: {{leader_titles}} and {{leader_names}} are deprecated-->
<td> <!---and leave remaining---->
</td> <!----cell in row empty----->

}}<!--(end(1st_#if))-->
</tr>


<!--------------------------Official languages, Ethnic groups-------------------------->
{{#if:{{{official_languages|}}}
|<!--then:-->
<tr>
<th>[[Official language|Official&nbsp;languages]]
</th>
<td>{{{official_languages}}}
</td>
</tr>
}}
}}

|- {{#if:{{{leader_title2<includeonly>|</includeonly>}}} |<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"<!--end#if:-->}}
{{#if:{{{ethnic_groups|}}}
{{#if:{{{leader_title1<includeonly>|</includeonly>}}} |<!--then:-->
|<!--then:-->
{{!}} &nbsp;- {{{leader_title1}}} {{!!}} {{{leader_name1}}}
<tr>
<th>[[Ethnic group]]s
</th>
<td>{{{ethnic_groups}}}
</td>
</tr>
}}
}}

|- {{#if:{{{leader_title3<includeonly>|</includeonly>}}} |<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"<!--end#if:-->}}

{{#if:{{{leader_title2<includeonly>|</includeonly>}}} |<!--then:-->
<!-------------------------------------Government-------------------------------------->
{{!}} &nbsp;- {{{leader_title2}}} {{!!}} {{{leader_name2}}}
<tr>
<th>[[List of countries by system of government|Government]]
</th>
<td>{{{government_type}}}
</td>
</tr>


<!--------------------------------------Leaders---------------------------------------->
{{#if:{{{leader_title1|}}}
|<!--then:-->
<tr class="{{#if:{{{leader_title2|}}}
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
<td>&nbsp;-&nbsp;{{{leader_title1}}}
</td>
<td>{{{leader_name1}}}
</td>
</tr>
}}
}}
|- {{#if:{{{leader_title4<includeonly>|</includeonly>}}}
{{#if:{{{leader_title2|}}}
|<!--then:-->
|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"<!--end#if:-->}}
{{#if:{{{leader_title3<includeonly>|</includeonly>}}} |<!--then:-->
<tr class="{{#if:{{{leader_title3|}}}
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
{{!}} &nbsp;- {{{leader_title3}}} {{!!}} {{{leader_name3}}}
<td>&nbsp;-&nbsp;{{{leader_title2}}}
</td>
<td>{{{leader_name2}}}
</td>
</tr>
}}
}}
|- {{#if:{{{leader_title5<includeonly>|</includeonly>}}}
{{#if:{{{leader_title3|}}}
|<!--then:-->
|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"<!--end#if:-->}}
{{#if:{{{leader_title4<includeonly>|</includeonly>}}} |<!--then:-->
<tr class="{{#if:{{{leader_title4|}}}
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
{{!}} &nbsp;- {{{leader_title4}}} {{!!}} {{{leader_name4}}}
<td>&nbsp;-&nbsp;{{{leader_title3}}}
</td>
<td>{{{leader_name3}}}
</td>
</tr>
}}
}}
{{#if:{{{leader_title4|}}}
|- class="mergedbottomrow"
|<!--then:-->
{{#if:{{{leader_title5<includeonly>|</includeonly>}}} |<!--then:-->
<tr class="{{#if:{{{leader_title5|}}}
{{!}} &nbsp;- {{{leader_title5}}} {{!!}} {{{leader_name5}}}
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
<td>&nbsp;-&nbsp;{{{leader_title4}}}
</td>
<td>{{{leader_name4}}}
</td>
</tr>
}}
{{#if:{{{leader_title5|}}}
|<!--then:-->
<tr class="mergedbottomrow">
<td>&nbsp;-&nbsp;{{{leader_title5}}}
</td>
<td>{{{leader_name5}}}
</td>
</tr>
}}
}}
|- {{#if:{{{established_event1<includeonly>|</includeonly>}}} |<!--then:-->class="mergedtoprow"<!--end#if:-->}}




<!--------------------Sovereignty-------------------->
<!------------------------------------Sovereignty------------------------------------->
{{#if:{{{established_event1<includeonly>|</includeonly>}}}{{{sovereignty_note|}}} |<!--then:-->
{{#if:{{{established_event1|}}}{{{sovereignty_type|}}}
|<!--then:-->
! {{{sovereignty_type}}}
<tr {{#if:{{{established_event1|}}} |<!--then:-->class="mergedtoprow"}}>
{{!}} {{{sovereignty_note<includeonly>|</includeonly>}}}&nbsp;
{{#if:{{{sovereignty_note|}}}

|<!--then:--><th>{{{sovereignty_type}}}
<!--Treating as deprecated/obselete:
</th>
| <!--else:--
<td>{{{sovereignty_note}}}&nbsp;
! {{{sovereignty_type}}}<br/>{{{established_events}}}
</td>
{{!}} {{{established_dates}}}
|<!--else:--><th colspan="2">{{{sovereignty_type}}}
-->
</th>

}}
</tr>
}}
}}
|- {{#if:{{{established_event2<includeonly>|</includeonly>}}} |<!--then:-->class="mergedrow" |<!--else:-->class="mergedbottomrow"<!--end#if:-->}}





<!---------------Significant events in country/territory's establishment--------------->
<!---------------Significant events in country/territory's establishment--------------->
{{#if:{{{established_event1<includeonly>|</includeonly>}}} |<!--then:-->
{{#if:{{{established_event1|}}}
|<!--then:-->
{{!}} &nbsp;- {{{established_event1}}} {{!!}} {{{established_date1|}}}&nbsp;
<tr class="{{#if:{{{established_event2|}}}
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
<td>&nbsp;-&nbsp;{{{established_event1}}}
</td>
<td>{{{established_date1|}}}&nbsp;
</td>
</tr>
}}
}}
|- {{#if:{{{established_event3<includeonly>|</includeonly>}}}
{{#if:{{{established_event2|}}}
|<!--then:-->
|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"<!--end#if:-->}}
<tr class="{{#if:{{{established_event3|}}}
{{#if:{{{established_event2<includeonly>|</includeonly>}}} |<!--then:-->
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
{{!}} &nbsp;- {{{established_event2}}} {{!!}} {{{established_date2|}}}&nbsp;
<td>&nbsp;-&nbsp;{{{established_event2}}}
</td>
<td>{{{established_date2|}}}&nbsp;
</td>
</tr>
}}
}}
|- {{#if:{{{established_event4<includeonly>|</includeonly>}}}
{{#if:{{{established_event3|}}}
|<!--then:-->
|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"<!--end#if:-->}}
<tr class="{{#if:{{{established_event4|}}}
{{#if:{{{established_event3<includeonly>|</includeonly>}}} |<!--then:-->
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
{{!}} &nbsp;- {{{established_event3}}} {{!!}} {{{established_date3|}}}&nbsp;
<td>&nbsp;-&nbsp;{{{established_event3}}}
</td>
<td>{{{established_date3|}}}&nbsp;
</td>
</tr>
}}
}}
|- {{#if:{{{established_event5<includeonly>|</includeonly>}}}
{{#if:{{{established_event4|}}}
|<!--then:-->
|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"<!--end#if:-->}}
<tr class="{{#if:{{{established_event5|}}}
{{#if:{{{established_event4<includeonly>|</includeonly>}}} |<!--then:-->
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
{{!}} &nbsp;- {{{established_event4}}} {{!!}} {{{established_date4|}}}&nbsp;
<td>&nbsp;-&nbsp;{{{established_event4}}}
</td>
<td>{{{established_date4|}}}&nbsp;
</td>
</tr>
}}
}}
|- {{#if:{{{established_event6<includeonly>|</includeonly>}}}
{{#if:{{{established_event5|}}}
|<!--then:-->
|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"<!--end#if:-->}}
<tr class="{{#if:{{{established_event6|}}}
{{#if:{{{established_event5<includeonly>|</includeonly>}}} |<!--then:-->
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
{{!}} &nbsp;- {{{established_event5}}} {{!!}} {{{established_date5|}}}&nbsp;
<td>&nbsp;-&nbsp;{{{established_event5}}}
</td>
<td>{{{established_date5|}}}&nbsp;
</td>
</tr>
}}
}}
|- {{#if:{{{established_event7<includeonly>|</includeonly>}}}
{{#if:{{{established_event6|}}}
|<!--then:-->
|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"<!--end#if:-->}}
<tr class="{{#if:{{{established_event7|}}
{{#if:{{{established_event6<includeonly>|</includeonly>}}} |<!--then:-->
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
{{!}} &nbsp;- {{{established_event6}}} {{!!}} {{{established_date6|}}}&nbsp;
<td>&nbsp;-&nbsp;{{{established_event6}}}
</td>
<td>{{{established_date6|}}}&nbsp;
</td>
</tr>
}}
}}
|- {{#if:{{{established_event8<includeonly>|</includeonly>}}}
{{#if:{{{established_event7|}}}
|<!--then:-->
|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"<!--end#if:-->}}
<tr class="{{#if:{{{established_event8|}}}
{{#if:{{{established_event7<includeonly>|</includeonly>}}} |<!--then:-->
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
{{!}} &nbsp;- {{{established_event7}}} {{!!}} {{{established_date7|}}}&nbsp;
<td>&nbsp;-&nbsp;{{{established_event7}}}
</td>
<td>{{{established_date7|}}}&nbsp;
</td>
</tr>
}}
}}
|- {{#if:{{{established_event9<includeonly>|</includeonly>}}}
{{#if:{{{established_event8|}}}
|<!--then:-->
|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"<!--end#if:-->}}
<tr class="{{#if:{{{established_event9|}}}
{{#if:{{{established_event8<includeonly>|</includeonly>}}} |<!--then:-->
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
{{!}} &nbsp;- {{{established_event8}}} {{!!}} {{{established_date8|}}}&nbsp;
<td>&nbsp;-&nbsp;{{{established_event8}}}
</td>
<td>{{{established_date8|}}}&nbsp;
</td>
</tr>
}}
}}
{{#if:{{{established_event9|}}}
|- class="mergedbottomrow"
|<!--then:-->
{{#if:{{{established_event9<includeonly>|</includeonly>}}} |<!--then:-->
<tr class="mergedbottomrow">
{{!}} &nbsp;- {{{established_event9}}} {{!!}} {{{established_date9|}}}&nbsp;
<td>&nbsp;-&nbsp;{{{established_event9}}}
</td>
<td>{{{established_date9|}}}&nbsp;
</td>
</tr>
}}
}}
|-




<!--------------------EU accession-------------------->
<!-------------------------------------EU accession------------------------------------>
{{#if:{{{accessionEUdate<includeonly>|</includeonly>}}} |<!--then:-->
{{#if:{{{accessionEUdate|}}}
|<!--then:-->
! [[European Union|Accession to EU]]
<tr>
{{!}} {{{accessionEUdate|}}}<!--end#if:-->}}
<th>[[European Union|Accession to EU]]
|- class="mergedtoprow"
</th>
<td>{{{accessionEUdate}}}
</td>
</tr>
}}




<!---------------------Area--------------------->
!colspan="2"| [[List of countries and outlying territories by area|Area]]
|- class="mergedrow"
<!-------add area:------->
| &nbsp;- Total <!--France-related footnote:-->{{#if:{{{FR_foot4|}}} |<!--then:-->{{{FR_foot4}}}<!--end#if:-->}}
| [[{{{area_magnitude|}}} {{#if:{{{area_magnitude|}}} |<!--then:-->m² |<!--else:-->Square metre<!--end#if:-->}}|{{{area}}} km²]] <!--


<!-----------------------------------------Area----------------------------------------->
-------add area ranking (if provided)-------
<tr class="mergedtoprow">
-->{{#if:{{{area_rank|}}} |<!--then:-->([[List of countries and outlying territories by area|{{{area_rank}}}]])<!--end#if:-->}}<br/>{{{areami²}}}&nbsp;sq&nbsp;mi&nbsp;
<th colspan="2"> [[List of countries and outlying territories by area|Area]]
|- class="mergedrow"
</th>
</tr>


<tr class="mergedrow">
<td>&nbsp;-&nbsp;Total<!--France-related footnote:-->{{#if:{{{FR_foot4|}}}
|<!--then:-->{{{FR_foot4}}} }}
</td>
<td>[[{{{area_magnitude|}}} <!--
-->{{#if:{{{area_magnitude|}}} |<!--then:-->m² |<!--else:-->Square metre}}<!--
-->|{{{area}}} km²]]&nbsp;<!--
-->{{#if:{{{area_rank|}}} |<!--then:--><!--
-->([[List of countries and outlying territories by area|{{{area_rank}}}]])}}<!--
--><br/>{{{areami²}}}&nbsp;[[Square mile|sq&nbsp;mi]]&nbsp;
</td>
</tr>


<!---------------------Percentage water--------------------->
<!-------------------Percentage water-------------------->
{{#if:{{{percent_water<includeonly>|</includeonly>}}} |<!--then:-->
{{#if:{{{percent_water{{¡}}}}}
|<!--then:-->
{{!}} &nbsp;- Water (%) {{!!}} {{{percent_water}}}<!--end#if:-->}}
|- class="mergedrow"
<tr class="mergedrow">
<td>&nbsp;-&nbsp;Water&nbsp;(%)
</td>
<td>{{{percent_water|}}}
</td>
</tr>
}}


<!-----------Areas of France----------->
{{#if:{{{FR_metropole_area|}}}
|<!--then:-->
<tr class="mergedrow">
<td>&nbsp;-&nbsp;{{{FR_metropole}}}
</td>
<td>[[{{{FR_metropole_area_magnitude|}}} <!--
-->{{#if:{{{FR_metropole_area_magnitude|}}}
|<!--then:-->m² |<!--else:-->Square metre}}<!--
-->|{{{FR_metropole_area}}} km²]]&nbsp;([[List of countries and outlying territories by total area|{{{FR_metropole_area_rank}}}]]){{{FR_foot2}}}
</td>
</tr>
<tr class="mergedrow">
<td>
</td>
<td>{{{FR_metropole_areami²}}}&nbsp;sq&nbsp;mi
</td>
</tr>
<tr class="mergedrow">
<td>
</td>
<td>[[{{{FR_cadastre_area_magnitude|}}} <!--
-->{{#if:{{{FR_cadastre_area_magnitude|}}}
|<!--then:-->m² |<!--else:-->Square metre}}<!--
-->|{{{FR_cadastre_area}}} km²]]&nbsp;([[List of countries and outlying territories by total area|{{{FR_cadastre_area_rank}}}]]){{{FR_foot3}}}
</td>
</tr>
<tr class="mergedbottomrow">
<td>
</td>
<td>{{{FR_cadastre_areami²}}}&nbsp;sq&nbsp;mi
</td>
</tr>
}}



<!---------------------Areas of France--------------------->
<!-------------------------------------Population------------------------------------->
{{#if:{{{FR_metropole_area|}}} |<!--then:-->
<tr class="mergedtoprow">
{{!}} &nbsp;- {{{FR_metropole}}}
<th colspan="2"> [[List of countries by population|Population]]
{{!}} [[{{{FR_metropole_area_magnitude|}}} {{#if: {{{FR_metropole_area_magnitude|}}} |<!--then:-->m² |<!--else:-->Square metre}}|{{{FR_metropole_area}}} km²]] {{{FR_foot2}}}&nbsp;([[List of countries and outlying territories by total area|{{{FR_metropole_area_rank}}}]])
</th>
{{!-}} class="mergedrow"
</tr>
{{!}} {{!!}} {{{FR_metropole_areami²}}} sq&nbsp;mi

{{!-}} class="mergedrow"
<!---------------Estimate--------------->
{{!}} {{!!}} [[{{{FR_cadastre_area_magnitude|}}} {{#if: {{{FR_cadastre_area_magnitude|}}} |<!--then:-->m² |<!--else:-->Square metre}}|{{{FR_cadastre_area}}} km²]] {{{FR_foot3}}} ([[List of countries and outlying territories by total area|{{{FR_cadastre_area_rank}}}]])
{{#if:{{{population_estimate{{¡}}}}}
{{!-}} class="mergedbottomrow"
|<!--then:-->
{{!}} {{!!}} {{{FR_cadastre_areami²}}} sq&nbsp;mi
<tr class="mergedrow">
<td>&nbsp;-&nbsp;{{{population_estimate_year|}}}&nbsp;estimate
</td>
<td>{{{population_estimate|}}}&nbsp;<!--
-->{{#if:{{{population_estimate_rank|}}}
|<!--then:-->([[List of countries by population|{{{population_estimate_rank}}}]])
}}
</td>
</tr>
}}
}}
|- class="mergedtoprow"


<!----------------Census---------------->
{{#if:{{{population_census|}}}
|<!--then:-->
<tr class="mergedrow">
<td>&nbsp;-&nbsp;{{{population_census_year|}}}&nbsp;census
</td>
<td>{{{population_census|}}}&nbsp;<!--
-->{{#if:{{{population_census_rank|}}}
|<!--then:-->([[List of countries by population|{{{population_census_rank}}}]])
}}
</td>
</tr>
}}


<!---------------------Population--------------------->
<!-----(France)----->
{{#if:{{{FR_metropole_population|}}}
!colspan="2"| [[List of countries by population|Population]]
|<!--then:-->
|- class="mergedrow"
<tr class="mergedrow">
{{#if:{{{population_estimate_year<includeonly>|</includeonly>}}} |<!--then:-->
<td colspan="2">&nbsp;-&nbsp;{{{FR_total_population_estimate_year}}}
{{!}} &nbsp;- {{{population_estimate_year}}} estimate
</td>
{{!}} {{{population_estimate}}} ([[List of countries by population|{{{population_estimate_rank}}}]])
</tr>
<tr class="mergedrow">
<td>&nbsp;-&nbsp;Total{{{FR_foot}}}
</td>
<td>{{{FR_total_population_estimate}}}&nbsp;([[List of countries by population in 2005|{{{FR_total_population_estimate_rank}}}]])
</td>
</tr>
<tr class="mergedrow">
<td>&nbsp;-&nbsp;{{{FR_metropole}}}
</td>
<td>{{{FR_metropole_population}}}&nbsp;([[List of countries by population in 2005|{{{FR_metropole_population_estimate_rank}}}]])
</td>
</tr>
}}
}}

|- class="mergedrow"
<!---------------Density---------------->
{{#if:{{{population_census<includeonly>|</includeonly>}}} |<!--then:-->
{{#if:{{{population_density|}}}
{{!}} &nbsp;- {{{population_census_year}}} census
|<!--then:-->
{{!}} {{{population_census}}} {{#if:{{{population_census_rank|}}} |<!--then:-->([[List of countries by population|{{{population_census_rank}}}]]) }}
<tr class="mergedbottomrow">
<td>&nbsp;-&nbsp;[[Population density|Density]]<!--
---France-related footnote:-->{{#if:{{{FR_foot5|}}}
|<!--then:-->{{{FR_foot5}}} }}
</td>
<td>{{{population_density|}}}&nbsp;/km²&nbsp;<!--
-->{{#if:{{{population_density_rank|}}}
|<!--then:-->([[List of countries by population density|{{{population_density_rank}}}]])
}}<!--
--><br/>{{{population_densitymi²|}}}&nbsp;/sq&nbsp;mi
</td>
</tr>
}}
}}

|- class="mergedrow"

{{#if:{{{FR_metropole_population|}}} |<!--then:-->
<!-----------------------------------------GDP----------------------------------------->
{{!}}colspan="2"{{!}} &nbsp;- {{{FR_total_population_estimate_year}}}

{{!-}} class="mergedrow"
<!-----------------PPP----------------->
{{!}} &nbsp;- Total{{{FR_foot}}}
{{#if:{{{GDP_PPP|}}}
{{!}} {{{FR_total_population_estimate}}} ([[List of countries by population in 2005|{{{FR_total_population_estimate_rank}}}]])
|<!--then:-->
{{!-}} class="mergedrow"
<tr class="mergedtoprow">
{{!}} &nbsp;- {{{FR_metropole}}}
<td>'''[[Gross domestic product|GDP]]''' ([[Purchasing power parity|PPP]])
{{!}} {{{FR_metropole_population}}} ([[List of countries by population in 2005|{{{FR_metropole_population_estimate_rank}}}]])
</td>
<td>{{{GDP_PPP_year|}}}&nbsp;estimate
</td>
</tr>
<tr class="mergedrow">
<td>&nbsp;-&nbsp;Total
</td>
<td>{{{GDP_PPP}}}&nbsp;<!--
-->{{#if:{{{GDP_PPP_rank|}}}
|<!--then:-->([[List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}]])
}}
</td>
</tr>

{{#if:{{{GDP_PPP_per_capita|}}}
|<!--then:-->
<tr class="mergedbottomrow">
<td>&nbsp;-&nbsp;[[Per capita]]
</td>
<td>{{{GDP_PPP_per_capita}}}&nbsp;<!--
-->{{#if:{{{GDP_PPP_per_capita_rank|}}}
|<!--then:-->([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]])
}}
</td>
</tr>
}}
}}
}}
|- class="mergedbottomrow"
| &nbsp;- [[Population density|Density]] <!--France-related footnote:-->{{#if:{{{FR_foot5|}}} |<!--then:-->{{{FR_foot5}}}}}
| {{{population_density}}}/km² ([[List of countries by population density|{{{population_density_rank}}}]])<br/>{{{population_densitymi²}}}/sq&nbsp;mi
|- class="mergedtoprow"


<!---------------Nominal--------------->
{{#if:{{{GDP_nominal|}}}
|<!--then:-->
<tr class="mergedtoprow">
<td>'''[[Gross domestic product|GDP]]''' (nominal)
</td>
<td>{{{GDP_nominal_year|}}}&nbsp;estimate
</td>
</tr>
<tr class="mergedrow">
<td>&nbsp;-&nbsp;Total
</td>
<td>{{{GDP_nominal}}}&nbsp;<!--
-->{{#if:{{{GDP_nominal_rank|}}}
|<!--then:-->([[List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]])
}}
</td>
</tr>


{{#if:{{{GDP_nominal_per_capita|}}}
<!---------------------GDP--------------------->
{{#if:{{{GDP_PPP<includeonly>|</includeonly>}}} |<!--then:-->
|<!--then:-->
<tr class="mergedbottomrow">
! [[Gross domestic product|GDP]] ([[Purchasing power parity|PPP]])
<td>&nbsp;-&nbsp;[[Per capita]]
{{!}} {{{GDP_PPP_year}}} estimate
</td>
{{!-}} class="mergedrow"
<td>{{{GDP_nominal_per_capita}}}&nbsp;<!--
{{!}} &nbsp;- Total
-->{{#if:{{{GDP_nominal_per_capita_rank|}}}
{{!}} {{{GDP_PPP}}}&nbsp;([[List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}]])
|<!--then:-->([[List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}]])
{{!-}} class="mergedbottomrow"
}}
{{!}} &nbsp;- [[Per capita]]
</td>
{{!}} {{{GDP_PPP_per_capita}}}&nbsp;([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]])
</tr>
}}
}}
}}
|-
{{#if:{{{GDP_nominal<includeonly>|</includeonly>}}} |<!--then:-->
! [[Gross domestic product|GDP]] (nominal)
{{!}} {{{GDP_nominal_year}}} estimate
{{!-}} class="mergedrow"
{{!}} &nbsp;- Total
{{!}} {{{GDP_nominal}}}&nbsp;([[List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]])
{{!-}} class="mergedbottomrow"
{{!}} &nbsp;- [[Per capita]]
{{!}} {{{GDP_nominal_per_capita}}}&nbsp;([[List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}]])
}}
|-




<!---------------------HDI--------------------->
<!-----------------------------------------HDI----------------------------------------->
{{#if:{{{HDI<includeonly>|</includeonly>}}} |<!--then:-->
{{#if:{{{HDI|}}}
|<!--then:-->
! '''[[Human Development Index|HDI]]'''&nbsp;({{{HDI_year}}})
<tr>
{{!}} {{{HDI}}}&nbsp;({{{HDI_category}}})&nbsp;([[List of countries by Human Development Index|{{{HDI_rank}}}]])
<td>'''[[Human Development Index|HDI]]'''&nbsp;<!--
-->{{#if:{{{HDI_year|}}} |<!--then:-->({{{HDI_year|}}}) }}
</th>
<td>{{{HDI}}}&nbsp;<!--
-->{{#if:{{{HDI_category|}}} |<!--then:-->({{{HDI_category|}}})&nbsp;}}<!--
-->{{#if:{{{HDI_rank|}}} |<!--then:--><!--
-->([[List of countries by Human Development Index|{{{HDI_rank}}}]]) }}
</td>
</tr>
}}
}}
|-




<!---------------------Currency--------------------->
<!--------------------------------------Currency--------------------------------------->
{{#if:{{{currency<includeonly>|</includeonly>}}} |<!--then:-->
{{#if:{{{currency{{¡}}}}}
|<!--then:-->
! [[Currency]]
<tr>
{{!}} {{{currency}}} (<code>[[ISO 4217|{{{currency_code}}}]]</code>)
<th>[[Currency]]
</th>
<td>{{{currency}}} (<code>[[ISO 4217|{{{currency_code}}}]]</code>)
</td>
</tr>
}}
}}
|- {{#if:{{{utc_offset_DST<includeonly>|</includeonly>}}}{{{DST_note|}}} |<!--then:-->class="mergedtoprow"<!--end#if:-->}}




<!---------------------Time zone--------------------->
<!--------------------------------------Time zone-------------------------------------->
{{#if:{{{time_zone{{¡}}}}}
! [[Time zone]]
|<!--then:-->
| {{{time_zone}}} ([[Coordinated Universal Time|UTC]]{{{utc_offset}}})
|- {{#if:{{{DST_note<includeonly>|</includeonly>}}} |<!--then:-->class="mergedrow" |<!--else:-->class="mergedbottomrow"<!--end#if:-->}}
<tr {{#if:{{{utc_offset_DST|}}}{{{DST_note|}}} |<!--then:-->class="mergedtoprow"}}>
<th>[[Time zone]]
{{#if:{{{utc_offset_DST<includeonly>|</includeonly>}}} |<!--then:-->
</th>
{{!}} &nbsp;- Summer&nbsp;([[Daylight saving time|DST]])
<td>{{{time_zone}}}&nbsp;<!--
{{!}} {{{DST|{{{time_zone_DST}}} ([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}})}}}
-->{{#if:{{{utc_offset|}}} |<!--then:--><!--
-->([[Coordinated Universal Time|UTC]]{{{utc_offset}}}) }}
</td>
</tr>

{{#if:{{{utc_offset_DST|}}}
|<!--then:-->
<tr class="{{#if:{{{DST_note|}}}
|<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}">
<td>&nbsp;-&nbsp;Summer&nbsp;([[Daylight saving time|DST]])
</td>
<td>{{{DST|{{{time_zone_DST}}}}}}&nbsp;<!--
-->([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}})
</td>
</tr>
}}
}}
}}

|- class="mergedbottomrow"
{{#if:{{{DST_note<includeonly>|</includeonly>}}} |<!--then:-->
{{#if:{{{DST_note|}}}
|<!--then:-->
{{!}} {{!!}} {{{DST_note}}}
<tr class="mergedbottomrow">
<td>
</td>
<td>{{{DST_note}}}
</td>
</tr>
}}
}}
|-




<!---------------------Internet TLD--------------------->
<!-------------------------------------Internet TLD------------------------------------->
{{#if:{{{cctld{{¡}}}}}
! [[List of Internet top-level domains|Internet TLD]]
|<!--then:-->
| {{{cctld}}}
<tr>
|-
<th>[[List of Internet top-level domains|Internet TLD]]
</th>
<td>{{{cctld}}}
</td>
</tr>
}}




<!---------------------Calling code-------------------->
<!-------------------------------------Calling code------------------------------------->
{{#if:{{{calling_code<includeonly>|</includeonly>}}} |<!--then:-->
{{#if:{{{calling_code{{¡}}}}}
|<!--then:-->
! [[List of country calling codes|Calling code]]
<tr>
{{!}} +{{{calling_code}}}<!--end#if:-->}}
<th>[[List of country calling codes|Calling code]]
|-
</th>
<td>+{{{calling_code}}}
</td>
</tr>
}}




<!---------------------Footnotes--------------------->
<!--------------------------------------Footnotes--------------------------------------->
{{#if:{{{footnotes<includeonly>|</includeonly>}}} |<!--then:-->
{{#if:{{{footnotes{{¡}}}}}
|<!--then:-->
{{!}}colspan="2"{{!}} <small>{{{footnotes}}}</small><!--end#if:-->}}<!--
<tr>
<td colspan="2"><small>{{{footnotes}}}</small>
</td>
</tr>
}}



<!---------------End of template---------------->
</table>
</div><!--end padding--><noinclude>{{clear}}


--------------------End of template------------------>
|}<noinclude>{{clear}}





Revision as of 08:02, 10 March 2007


For syntax, see /doc.


Template:Esoteric

{{{native_name}}}
{{{conventional_long_name}}}
Template:Border Coat of arms of Infobox country
Flag Coat of arms
Location of Infobox country
Location of Infobox country
Capital {{{capitalTemplate:¡}}}
Government {{{government_type}}}
Area
 - Total {{{area}}} km² 
{{{areami²}}} sq mi 
 - Water (%)
Population
 -  estimate  
Currency {{{currency}}} ({{{currency_code}}})
Time zone {{{time_zone}}} 
Internet TLD {{{cctld}}}
Calling code +{{{calling_code}}}
{{{footnotes}}}

af:Sjabloon:Landtabel-mini-nl an:Template:Infobox País ar:Template:Infobox Country bg:Шаблон:Държава ca:Template:Taula d'estat cs:Šablona:Infobox stát cy:Nodyn:Gwybodlen Gwlad da:Skabelon:Infoboks land de:Vorlage:Infobox Staat el:Πρότυπο:Πληροφορίες Χώρας es:Plantilla:Infobox País fi:Malline:Valtion tiedot fiu-vro:Template:Country Infobox fr:Modèle:Pays he:תבנית:מדינה ia:Patrono:Infobox pais it:Template:Stato ja:Template:基礎情報 国 ka:თარგი:ქვეყანა kn:ಟೆಂಪ್ಲೇಟು:Infobox ದೇಶ ko:Template:나라 정보 ln:Template:Infobox Esé ms:Templat:Negeri nl:Sjabloon:Landtabel nn:Mal:Infoboks land2 no:Mal:Infoboks land pl:Szablon:PaństwoX pt:Predefinição:Info País ro:Format:CutieŢări rmy:Format:MoxtonThema ru:Шаблон:Страна sl:Predloga:Infopolje Država sr:Шаблон:Кутијица за државе th:Template:Infobox Country tr:Şablon:Ülkeler ur:سانچہ:خانۂ معلومات ملک vi:Tiêu bản:Tóm tắt về quốc gia zh:Template:Infobox Country