Modèle:Communes-infos : Différence entre versions

De geoLwiki - Guide géologique du Luxembourg
Ligne 6 : Ligne 6 :
 
|Canton||{{#sql2wiki_f:select nom_canton from communes where Nom_com_min="{{FULLPAGENAME}}";}}
 
|Canton||{{#sql2wiki_f:select nom_canton from communes where Nom_com_min="{{FULLPAGENAME}}";}}
 
|-
 
|-
|Localités||{{#sql2wiki_tinv:select Nom_lieu_min, Name, Numm,concat("{{Localisation|",est,"|",nord,"|2000}}") from lieux where Nom_com_min="{{FULLPAGENAME}}" order by nom_lieu_min;}}
+
|Localités||{{#sql2wiki_tinv:select Nom_lieu_min, Name, Numm,concat('{{Localisation|',est,'|',nord,'|2000}}') from lieux where Nom_com_min="{{FULLPAGENAME}}" order by nom_lieu_min;}}
 
|-
 
|-
 
|Sections||{{#sql2wiki_tinv:select c_section , Nom_section from sections where Nom_com_min="{{FULLPAGENAME}}" order by c_section;}}
 
|Sections||{{#sql2wiki_tinv:select c_section , Nom_section from sections where Nom_com_min="{{FULLPAGENAME}}" order by c_section;}}

Version du 29 décembre 2008 à 09:35

Code {{#sql2wiki_f:select truncate(c_com,0) from communes where Nom_com_min="Modèle:Communes-infos";}}
Aire (km2)    {{#sql2wiki_f:select truncate(area/1000000,1) from communes where Nom_com_min="Modèle:Communes-infos";}}
Canton {{#sql2wiki_f:select nom_canton from communes where Nom_com_min="Modèle:Communes-infos";}}
Localités {{#sql2wiki_tinv:select Nom_lieu_min, Name, Numm,concat(' Carte géologique 

') from lieux where Nom_com_min="Modèle:Communes-infos" order by nom_lieu_min;}}

Sections {{#sql2wiki_tinv:select c_section , Nom_section from sections where Nom_com_min="Modèle:Communes-infos" order by c_section;}}
Chef-lieu {{#sql2wiki_f:select nom_cheflieu from communes where Nom_com_min="Modèle:Communes-infos";}}