Difference between revisions of "Template:French canton"

From blackwiki
Jump to navigation Jump to search
imported>Escarbot
imported>Locos epraix
(redirect (merging))
Line 1: Line 1:
<!-- Infobox template for Cantons in France -->
+
#REDIRECT [[Infobox Canton de France]]
{| class="infobox" width="280" style="font-size: 90%;"
 
!align="center" colspan="2" style="font-size:135%;" |'''{{{name}}}'''
 
|-
 
|{{#if:{{{map|}}}|<tr><td colspan="2" align="center">{{{map}}}</td></tr>}}
 
|-
 
!colspan="2" bgcolor="#efefef"|Administration
 
|-
 
|[[List of countries|Country]]||[[France]]
 
|-
 
{{#if: {{{reg|<noinclude>-</noinclude>}}} |
 
{{!}}[[Regions of France|Region]]
 
{{!}} {{{reg}}}
 
{{!}}-
 
}}
 
{{#if: {{{dept|<noinclude>-</noinclude>}}} |
 
{{!}}[[Departments of France|Department]]
 
{{!}} {{{dept}}}
 
{{!}}-
 
}}
 
{{#if: {{{arr|<noinclude>-</noinclude>}}} |
 
{{!}}[[Arrondissements of France|Arrondissement]]
 
{{!}} [[Arrondissement of {{{arr}}}|{{{arr}}}]]
 
{{!}}-
 
}}
 
{{#if: {{{numcomm|<noinclude>-</noinclude>}}} |
 
{{!}}[[Communes of France|Communes]]
 
{{!}} {{{numcomm}}}
 
{{!}}-
 
}}
 
{{#if: {{{cheflieu|<noinclude>-</noinclude>}}} |
 
{{!}}Chief Town
 
{{!}} {{{cheflieu}}}
 
{{!}}-
 
}}
 
{{#if: {{{chieftown|<noinclude>-</noinclude>}}} |
 
{{!}}Chief Town
 
{{!}} {{{chieftown}}}
 
{{!}}-
 
}}
 
{{#if: {{{cg|<noinclude>-</noinclude>}}} |
 
{{!}}[[General councils of France|Representative]]
 
{{!}} {{{cg}}} {{#if:{{{party|}}}|<br/><small>{{{party}}}</small>}}&nbsp;{{#if:{{{mandat|}}}|<small>({{{mandat}}})</small>}}
 
{{!}}-
 
}}
 
{{#if: {{{cancode|<noinclude>-</noinclude>}}} |
 
{{!}}[[INSEE_code#Geographical_codes|Cantonal code]]
 
{{!}} {{{cancode}}}
 
{{!}}-
 
}}
 
!colspan="3" bgcolor="#efefef"|Statistics
 
|-
 
{{#if: {{{area|<noinclude>-</noinclude>}}} |
 
{{!}}Land area¹
 
{{!}} {{{area}}}&nbsp;km²
 
{{!}}-
 
}}
 
{{#if: {{{pop|<noinclude>-</noinclude>}}} |
 
{{!}}[[Demographics of France|Population]]
 
{{!}}-
 
{{!}}&nbsp;-{{{year}}}
 
{{!}}{{{pop}}}
 
{{!}}-
 
}}
 
{{#if: {{{dens|<noinclude>-</noinclude>}}} |
 
{{!}}&nbsp;-Density
 
{{!}} {{{dens}}}/km²
 
{{!}}-
 
}}
 
{{#if: {{{alt mini|<noinclude>-</noinclude>}}} |
 
{{!}}Altitude
 
{{!}} {{{alt mini}}} - {{{alt maxi}}} {{#if:{{{alt moy|}}}|<br/>(avg. {{{alt moy}}})}}
 
{{!}}-
 
}}
 
{{#if: {{{area|<noinclude>-</noinclude>}}} |
 
{{!}}colspan="2" bgcolor="#efefef"{{!}}
 
{{!}}-
 
{{!}}colspan="2" style="font-size: smaller;"{{!}}¹ French Land Register data, which exclude [[estuary|<font color=#000000>estuaries</font>]], and lakes, ponds, and glaciers larger than 1 km².
 
{{!}}-
 
}}
 
|}<noinclude>
 
<!--
 
========== NON-TEMPLATE == INFORMATION == BELOW ==========
 
-->
 
{{Documentation, template}}
 
 
 
[[Category:French subdivision infobox templates|Canton]]
 
[[br:Patrom:Taolenn kanton]]
 
[[es:Plantilla:Ficha de cantón de Francia]]
 
[[fr:Modèle:Infobox Canton de France]]
 
[[nl:Sjabloon:Infobox kanton Frankrijk]]
 
[[vi:Tiêu bản:Thông tin tổng của Pháp]]
 
</noinclude>
 
<noinclude>
 
==Usage==
 
Blank code
 
<pre>
 
{{French canton
 
|name=
 
|reg=
 
|dept=
 
|arr=
 
|numcomm=
 
|chieftown=
 
|cg=
 
|party=
 
|mandat=
 
|cancode=
 
|pop=
 
|year=
 
|area=
 
|dens=
 
}}
 
</pre>
 
 
 
Filled code
 
<pre>
 
{{French canton
 
|name=Canton of Orthez
 
|reg=[[Aquitaine]]
 
|dept=[[Pyrénées-Atlantiques]]
 
|arr=Pau
 
|numcomm=13
 
|cheflieu=Orthez
 
|cg=[[Bernard Moleres]]
 
|party=
 
|mandat=1995-2008
 
|cancode=6429
 
|pop=16,168
 
|year=1999
 
|area=183
 
|dens=88
 
}}</pre>
 
</noinclude>
 

Revision as of 22:11, 28 August 2009