Template:Infobox French commune/sandbox
| name = {{{name|}}}
| native_name = {{{native name|}}}
| native_name_lang = {{{native_name_lang}}}
| settlement_type = {{ safesubst:#if: {{{commune|}}} | {{{type|Part}}} of {{Link if exists|{{{commune}}} }} | {{{commune status|}}} }}
| total_type = {{ safesubst:#if: {{{total type|}}} | {{{total type|}}} | }}
| image_skyline = {{{image|}}}
| imagesize = {{{image size|270x250px}}}
| image_caption = {{{caption|}}}
| image_flag = {{{image flag|}}}
| flag_size = {{{image flag size|}}}
| flag_link = {{{flag_link|{{{flag link|}}}}}}
| image_shield = {{{image coat of arms|}}}
| shield_size = {{ safesubst:#if: {{{image coat of arms size|}}} | {{{image coat of arms size}}} | 80x80px }}
| shield_link = {{{shield_link|}}}
| motto = {{{city motto|}}}
| image_map = {{ safesubst:#if: {{{map|}}} | {{{map}}} | {{ safesubst:#if: {{{adjustable map|}}} | {{{adjustable map}}} }} }}
| mapsize = {{{map size|}}}
| map_caption = {{{map caption|}}}
| image_map1 = {{ safesubst:#if: {{infobox mapframe}} | {{hidden |title=Location of {{{name|}}} | content =
| pushpin_map = {{#switch: {{str left|{{{INSEE|}}}|2}}
| = {{ safesubst:#if: {{{map|}}} | | {{ safesubst:#if: {{{adjustable map|}}} | | {{ safesubst:#if: {{{coordinates|}}} | France }} }} }}
|03|15|43|63|01|07|26|38|42|69|73|74 = France#France Auvergne-Rhône-Alpes
|21|58|71|89|25|39|70|90 = France#France Bourgogne-Franche-Comté
|22|29|35|56 = France#France Bretagne
|18|28|36|37|41|45 = France#France Centre
|2A|2B = France#France Corsica
|67|68|08|10|51|52|54|55|57|88 = France#France Grand Est
|59|62|02|60|80 = France#France Hauts-de-France
|75|77|78|91|92|93|94|95 = France#France Île-de-France
|14|50|61|27|76 = France#France Normandy
|24|33|40|47|64|19|23|87|16|17|79|86 = France#France Nouvelle-Aquitaine
|11|30|34|48|66|09|12|31|32|46|65|81|82 = France#France Occitanie
|44|49|53|72|85 = France#France Pays de la Loire
|04|05|06|13|83|84 = France#France Provence-Alpes-Côte d'Azur
|97|98 = {{ safesubst:#if: {{{map|}}} | | {{ safesubst:#if: {{{adjustable map|}}} | | {{ safesubst:#if: {{{coordinates|}}} | France }} }} }}
|#default = {{ safesubst:#if: {{{map|}}} | | {{ safesubst:#if: {{{adjustable map|}}} | | {{ safesubst:#if: {{{coordinates|}}} | France }} }} }}
}}
| pushpin_mapsize = 270px
| pushpin_label_position = {{ safesubst:#ifexpr: {{safesubst:if empty|{{safesubst:#invoke:coordinates|coord2text|{{{coordinates|}}}|long}}|-2}} > 3 | left | right}}
| pushpin_map_caption =
| coordinates = {{{coordinates|}}}
| subdivision_type = Country
| subdivision_name = France
| subdivision_type1 = {{ safesubst:#switch: {{str left|{{{INSEE|}}}|3}}
|988 = Sui generis collectivity
|975|977|978|986|987 = Overseas collectivity
|971|972|973|974|976 = Overseas region and department
|#default = Region
}}
| subdivision_name1 = {{ safesubst:#switch: {{str left|{{{INSEE|}}}|3}}
|975 = Saint Pierre and Miquelon
|976 = Mayotte
|977 = Saint Barthélemy
|978 = Saint Martin
|986 = Wallis and Futuna
|987 = French Polynesia
|988 = New Caledonia
|971 = Guadeloupe
|972 = Martinique
|973 = French Guiana
|974 = Réunion
}}{{ safesubst:#switch: {{str left|{{{INSEE}}}|2}}
|03|15|43|63|01|07|26|38|42|69|73|74 = Auvergne-Rhône-Alpes
|22|29|35|56 = Brittany
|21|58|71|89|25|39|70|90 = Bourgogne-Franche-Comté
|18|28|36|37|41|45 = Centre-Val de Loire
|2A|2B = Corsica
|67|68|08|10|51|52|54|55|57|88 = Grand Est
|59|62|02|60|80 = Hauts-de-France
|75|77|78|91|92|93|94|95 = Île-de-France
|14|50|61|27|76 = Normandy
|24|33|40|47|64|19|23|87|16|17|79|86 = Nouvelle-Aquitaine
|11|30|34|48|66|09|12|31|32|46|65|81|82 = Occitania
|44|49|53|72|85 = Pays de la Loire
|04|05|06|13|83|84 = Provence-Alpes-Côte d'Azur
}}
| subdivision_type2 = {{ safesubst:#if: {{{province|}}} | Province | {{ safesubst:#if: {{{administrative subdivision|}}} | Subdivision | {{ safesubst:#switch: {{{INSEE}}}
|69003 |69029 |69033 |69034 |69040 |69044 |69046 |69063 |69068 |69069 |69071 |69072 |69081 |69085 |69087 |69088 |69089 |69091 |69096 |69100 |69116 |69117 |69123 |69127 |69142 |69143 |69149 |69152 |69153 |69163 |69168 |69191 |69194 |69199 |69202 |69204 |69205 |69207 |69233 |69244 |69250 |69256 |69259 |69260 |69266 |69271 |69273 |69275 |69276 |69278 |69279 |69282 |69283 |69284 |69286 |69290 |69292 |69293 |69296 = Metropolis
|#default = {{ safesubst:#switch: {{str left|{{{INSEE}}}|2}} |97|98 = |#default = Department }} }} }} }}
| subdivision_name2 = {{ safesubst:#if: {{{province|}}} | {{{province}}} | {{ safesubst:#if: {{{administrative subdivision|}}} | {{{administrative subdivision}}} | {{ safesubst:#switch: {{{INSEE}}}
|69003 |69029 |69033 |69034 |69040 |69044 |69046 |69063 |69068 |69069 |69071 |69072 |69081 |69085 |69087 |69088 |69089 |69091 |69096 |69100 |69116 |69117 |69123 |69127 |69142 |69143 |69149 |69152 |69153 |69163 |69168 |69191 |69194 |69199 |69202 |69204 |69205 |69207 |69233 |69244 |69250 |69256 |69259 |69260 |69266 |69271 |69273 |69275 |69276 |69278 |69279 |69282 |69283 |69284 |69286 |69290 |69292 |69293 |69296 = Lyon Metropolis
|#default = {{ safesubst:#switch: {{str left|{{{INSEE}}}|2}}
|01 = Ain
|02 = Aisne
|03 = Allier
|04 = Alpes-de-Haute-Provence
|05 = Hautes-Alpes
|06 = Alpes-Maritimes
|07 = Ardèche
|08 = Ardennes
|09 = Ariège
|10 = Aube
|11 = Aude
|12 = Aveyron
|13 = Bouches-du-Rhône
|14 = Calvados
|15 = Cantal
|16 = Charente
|17 = Charente-Maritime
|18 = Cher
|19 = Corrèze
|2A = Corse-du-Sud
|2B = Haute-Corse
|21 = Côte-d'Or
|22 = Côtes-d'Armor
|23 = Creuse
|24 = Dordogne
|25 = Doubs
|26 = Drôme
|27 = Eure
|28 = Eure-et-Loir
|29 = Finistère
|30 = Gard
|31 = Haute-Garonne
|32 = Gers
|33 = Gironde
|34 = Hérault
|35 = Ille-et-Vilaine
|36 = Indre
|37 = Indre-et-Loire
|38 = Isère
|39 = Jura
|40 = Landes
|41 = Loir-et-Cher
|42 = Loire
|43 = Haute-Loire
|44 = Loire-Atlantique
|45 = Loiret
|46 = Lot
|47 = Lot-et-Garonne
|48 = Lozère
|49 = Maine-et-Loire
|50 = Manche
|51 = Marne
|52 = Haute-Marne
|53 = Mayenne
|54 = Meurthe-et-Moselle
|55 = Meuse
|56 = Morbihan
|57 = Moselle
|58 = Nièvre
|59 = Nord
|60 = Oise
|61 = Orne
|62 = Pas-de-Calais
|63 = Puy-de-Dôme
|64 = Pyrénées-Atlantiques
|65 = Hautes-Pyrénées
|66 = Pyrénées-Orientales
|67 = Bas-Rhin
|68 = Haut-Rhin
|69 = Rhône
|70 = Haute-Saône
|71 = Saône-et-Loire
|72 = Sarthe
|73 = Savoie
|74 = Haute-Savoie
|75 = {{safesubst:#ifeq:{{safesubst:FULLPAGENAME}}|Paris|Paris|Paris}}
|76 = Seine-Maritime
|77 = Seine-et-Marne
|78 = Yvelines
|79 = Deux-Sèvres
|80 = Somme
|81 = Tarn
|82 = Tarn-et-Garonne
|83 = Var
|84 = Vaucluse
|85 = Vendée
|86 = Vienne
|87 = Haute-Vienne
|88 = Vosges
|89 = Yonne
|90 = Territoire de Belfort
|91 = Essonne
|92 = Hauts-de-Seine
|93 = Seine-Saint-Denis
|94 = Val-de-Marne
|95 = Val-d'Oise
|#default =
}} }} }} }}
| subdivision_type3 = {{ safesubst:#if: {{{arrondissement|}}} | Arrondissement }}
| subdivision_name3 = {{ safesubst:#ifexist: Arrondissement of {{{arrondissement|}}} | Arrondissement of {{{arrondissement | {{{arrondissement|}}} }}
| subdivision_type4 = {{ safesubst:#if: {{{canton|}}} | Canton }}
| subdivision_name4 = {{ safesubst:#ifexist: Canton of {{{canton|}}} | Canton of {{{canton | {{{canton|}}} }}
| subdivision_type5 = {{ safesubst:#if: {{{intercommunality|}}} | Intercommunality }}
| subdivision_name5 = {{{intercommunality|}}}
| subdivision_type6 = {{ safesubst:#if: {{{commune|}}} | Commune }}
| subdivision_name6 = {{Link if exists|{{{commune}}} }}
| parts_type = {{{subdivisions entry|}}}
| parts = {{{subdivisions|}}}
| leader_party = {{{party|}}}
| leader_title = Mayor {{ safesubst:#if: {{{term|}}} | {{nobold|({{{term}}}) }} }}
| leader_name = {{{mayor|}}}
| area_footnotes = {{ safesubst:#if: {{{area km2|}}} |1 }}{{{area footnotes|}}}
| area_urban_footnotes = {{ safesubst:#if: {{{urban area date|}}} | ({{{urban area date|}}}) }}
| area_urban_km2 = {{{urban area km2|}}}
| area_metro_footnotes = {{ safesubst:#if: {{{metro area date|}}} | ({{{metro area date|}}}) }}
| area_metro_km2 = {{{metro area km2|}}}
| area_total_km2 = {{{area km2|}}}
| population_footnotes = {{{population footnotes|}}}
| population_as_of = {{ safesubst:#ifeq: {{Str find|{{{population date}}}|UNIQ}} | 6 | {{Str number/trim|{{{population date}}}}} | {{{population date|}}} }}
| population_rank = {{{population ranking|}}}
| population_urban_footnotes = {{ safesubst:#if: {{{urban pop date|}}} | ({{{urban pop date|}}}) }}
| population_urban = {{{urban pop|}}}
| population_density_urban_km2 = auto
| population_metro_footnotes = {{ safesubst:#if: {{{metro area pop date|}}} | ({{{metro area pop date|}}}) }}
| population_metro = {{{metro area pop|}}}
| population_density_metro_km2 = auto
| population_total = {{{population|}}}
| population_density_km2 = auto
| population_demonym = {{{population demonym|{{{population_demonym|{{{demonym|}}}}}}}}}
| demographics_type1 = {{ safesubst:#if: {{{ethnic|}}} | Ethnic distribution }}
| demographics1_footnotes =
| demographics1_title1 = {{{ethnic date|}}}
| demographics1_info1 = {{{ethnic|}}}
| timezone1 = {{ safesubst:#switch: {{str left|{{{INSEE|}}}|3}}
|971 |972 |977 |978 = AST
|973 |974 |975 |976 |986 |987 |988 =
|#default = CET
}}
| utc_offset1 = {{ safesubst:#switch: {{str left|{{{INSEE|}}}|3}}
|971 |972 |977 |978 = −04:00
|973 |975 = −03:00
|976 = +03:00
|974 = +04:00
|988 = +11:00
|986 = +12:00
|987 = {{{utc_offset|{{{utc offset|}}}}}}
|#default = +01:00
}}
| timezone1_DST = {{ safesubst:#switch: {{str left|{{{INSEE|}}}|3}}
|971 |972 |973 |974 |976 |977 |978 |986 |987 |988 =
|975 =
|#default = CEST
}}
| utc_offset1_DST = {{ safesubst:#switch: {{str left|{{{INSEE|}}}|3}}
|975 = −02:00
|971 |972 |973 |974 |976 |977 |978 |986 |987 |988 =
|#default = +02:00
}}
| postal_code_type = {{ safesubst:#if: {{{commune|}}} | Postal code | INSEE/Postal code }}
| postal_code = {{ safesubst:#if: {{{commune|}}} | {{{postal code|}}} | {{ safesubst:#if:{{{insee|{{{INSEE|}}}}}} | {{ safesubst:#switch: {{str left|{{{INSEE|}}}|3}}
|975 |977 |978 |986 = {{{insee|{{{INSEE}}}}}}
|976 = [https://www.insee.fr/fr/statistiques/2011101?geo=COM-{{{insee|{{{INSEE}}}}}} {{{insee|{{{INSEE}}}}}}]
|987 = [https://www.ispf.pf/Publications/fiches-communales {{{insee|{{{INSEE}}}}}}]
|988 = [https://www.isee.nc/publications/la-nouvelle-caledonie-en-cartes-et-en-chiffres/chiffres-cles-des-communes {{{insee|{{{INSEE}}}}}}]
|#default = [https://www.insee.fr/fr/statistiques/1405599?geo=COM-{{{insee|{{{INSEE}}}}}} {{{insee|{{{INSEE}}}}}}]
}} / }}{{{postal code|}}} }}
| area_code_type = {{ safesubst:#if: {{{dialling code|}}} | Dialling codes }}
| area_code = {{{dialling code|}}}
| blank_name_sec1 = Elevation{{ safesubst:#if: {{{elevation footnotes|}}} | {{{elevation footnotes}}} }}
| blank_info_sec1 = {{ safesubst:#if: {{{elevation min m|}}} | {{convert|{{formatnum:{{{elevation min m}}}|R}}|–|{{formatnum:{{{elevation max m}}}|R}}|m|ft|abbr=on}} {{ safesubst:#if: {{{elevation m|}}} |
(avg. {{convert|{{formatnum:{{{elevation m}}}|R}}|m|ft|abbr=on|disp=or}}) }} | {{ safesubst:#if: {{{elevation m|}}} | {{convert|{{formatnum:{{{elevation m}}}|R}}|m|ft|abbr=on}} }} }}
| website = {{{website|}}}
| module = {{{module|}}}
| footnotes = {{{footnotes|}}}{{ safesubst:#if:{{{area km2|}}} | {{ safesubst:#if:{{{province|}}} | 1 New Caledonia Land Register (DITTT) data, which exclude lakes and ponds larger than 1 km² (0.386 sq mi or 247 acres) as well as the estuaries of rivers. | 1 French Land Register data, which excludes lakes, ponds, glaciers > 1 km2 (0.386 sq mi or 247 acres) and river estuaries. }} }}
}}{{safesubst:#invoke:Check for unknown parameters|check|unknown={{main other|_VALUE_{{PAGENAME}}}}|preview=Page using Template:Infobox French commune with unknown parameter "_VALUE_"|ignoreblank=y| | adjustable map | administrative subdivision | area footnotes | area km2 | arrondissement | canton | caption | city motto | commune | commune status | coordinates | dialling code | elevation footnotes | elevation m | elevation max m | elevation min m | ethnic | ethnic date | flag link | flag_link | footnotes | image | image coat of arms | image coat of arms size | image flag | image flag size | image size | INSEE | insee | intercommunality | map | map caption | map dot label | map size | mayor | metro area date | metro area km2 | metro area pop | metro area pop date | module | name | native name | native_name_lang | party | population | population date | population demonym | population footnotes | population ranking | population_demonym | postal code | province | shield_link | subdivisions | subdivisions entry | term | time zone | time zone DST | timezone | timezone_DST | total type | type | urban area date | urban area km2 | urban pop | urban pop date | utc offset | utc offset DST | utc_offset | utc_offset_DST | website | demonym
}}{{ safesubst:#iferror: {{ safesubst:#expr: {{formatnum:{{{population| }}}|R}} / {{{area km2|1}}} }} | {{Main other|Density error}} | }}{{ safesubst:#iferror: {{ safesubst:#expr: {{formatnum:{{{elevation min m|}}}|R}} + {{formatnum:{{{elevation max m|}}}|R}} + {{formatnum:{{{elevation m|}}}|R}} + 2 }} | {{Main other|Elevation error}} | }}{{ safesubst:#ifexpr: {{str find|{{{map dot label|{{{name|{{PAGENAME}}}}}}}}|<}} > 0 | {{Main other|L}} | {{ safesubst:#ifexpr: {{str find|{{{map dot label|{{{name|{{PAGENAME}}}}}}}}|[}} > 0 | {{Main other|L}}|}} }}{{ safesubst:#if: {{{coordinates|}}} | | {{Main other|Nomap}} }}{{ safesubst:#iferror: {{ safesubst:#expr: {{formatnum:{{{population}}}|R}} + 2 }} | {{Main other|Population error}} | }}{{Main other|{{ safesubst:#if: {{{INSEE|}}} | | I}} }}{{Main other|{{ safesubst:#if: {{{mayor|}}} | {{ safesubst:#if: {{{term|}}} | | Term}} | }} }}{{Main other|{{ safesubst:#if: {{{term|}}} | {{ safesubst:#if: {{{mayor|}}} | | Term}} | }} }}
{{documentation}}