« Modèle:Infobox Gare » : différence entre les versions
Aller à la navigation
Aller à la recherche
mAucun résumé des modifications |
m test meilleure gestion param vide |
||
| Ligne 1 : | Ligne 1 : | ||
<includeonly>{| class="infobox_v2" cellspacing="7" | <includeonly>{| class="infobox_v2" cellspacing="7" | ||
|- | |- | ||
! colspan="2" class="entete defaut" style="background-color:#E0E0E0; color:#000000" | {{{nom|{{PAGENAME | ! colspan="2" class="entete defaut" style="background-color:#E0E0E0; color:#000000" | {{#if:{{{nom|}}}|{{{nom}}}|{{PAGENAME}}}} | ||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}} | | ||
{{!}} colspan="2" align="center" style="padding: 0.1em;" {{!}} {{{image}}}{{#if:{{{légende|}}}|<br /><small>{{{légende}}}</small>|}} | {{!}} colspan="2" align="center" style="padding: 0.1em;" {{!}} {{{image}}}{{#if:{{{légende|}}}|<br /><small>{{{légende}}}</small>|}} | ||
{{!-}} | {{!-}} | ||
| Ligne 11 : | Ligne 11 : | ||
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{pays|}}} | | {{#if:{{{pays|}}} | | ||
! {{{titre pays|Pays | ! {{#if:{{{titre pays|}}}|{{{titre pays}}}|Pays}} | ||
{{!}} {{{pays}}} | {{!}} {{{pays}}} | ||
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{ville|}}} | | {{#if:{{{ville|}}} | | ||
! {{{titre ville|Ville | ! {{#if:{{{titre ville|}}}|{{{titre ville}}}|Ville}} | ||
{{!}} {{{ville}}} | {{!}} {{{ville}}} | ||
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{quartier|}}} | | {{#if:{{{quartier|}}} | | ||
! {{{titre quartier|Quartier | ! {{#if:{{{titre quartier|}}}|{{{titre quartier}}}|Quartier}} | ||
{{!}} {{{quartier}}} | {{!}} {{{quartier}}} | ||
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{adresse|}}} | | {{#if:{{{adresse|}}} | | ||
! Adresse | ! Adresse | ||
{{!}} {{{adresse}}} | {{!}} {{{adresse}}} | ||
| Ligne 118 : | Ligne 118 : | ||
}} | }} | ||
{{#if:{{{corresp 1|}}} | | {{#if:{{{corresp 1|}}} | | ||
! {{{titre corresp 1}}} | ! {{#if:{{{titre corresp 1|}}}|{{{titre corresp 1}}}|corresp 1}} | ||
{{!}} {{{corresp 1}}} | {{!}} {{{corresp 1}}} | ||
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{corresp 2|}}} | | {{#if:{{{corresp 2|}}} | | ||
! {{{titre corresp 2}}} | ! {{#if:{{{titre corresp 2|}}}|{{{titre corresp 2}}}|corresp 2}} | ||
{{!}} {{{corresp 2}}} | {{!}} {{{corresp 2}}} | ||
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{corresp 3|}}} | | {{#if:{{{corresp 3|}}} | | ||
! {{{titre corresp 3}}} | ! {{#if:{{{titre corresp 3|}}}|{{{titre corresp 3}}}|corresp 3}} | ||
{{!}} {{{corresp 3}}} | {{!}} {{{corresp 3}}} | ||
{{!-}} | {{!-}} | ||
}} | }} | ||
{{#if:{{{corresp 4|}}} | | {{#if:{{{corresp 4|}}} | | ||
! {{{titre corresp 4}}} | ! {{#if:{{{titre corresp 4|}}}|{{{titre corresp 4}}}|corresp 4}} | ||
{{!}} {{{corresp 4}}} | {{!}} {{{corresp 4}}} | ||
{{!-}} | {{!-}} | ||
| Ligne 153 : | Ligne 153 : | ||
}} | }} | ||
|} | |} | ||
{{#if:{{isNumeric|{{{latitude|}}}}} | {{#if:{{isNumeric|{{{longitude|}}}}} | {{coord|{{{latitude|}}}|{{{longitude|}}}|region:FR_type:landmark_scale:7000|format=dms|display=title}}|[[Catégorie:Gare sans géolocalisation]]}}|[[Catégorie:Gare sans géolocalisation]]}}</includeonly><noinclude>{{Doc modèle|parser=oui}}</noinclude> | {{#if:{{isNumeric|{{{latitude|}}}}} | {{#if:{{isNumeric|{{{longitude|}}}}} | {{coord|{{{latitude|}}}|{{{longitude|}}}|region:FR_type:landmark_scale:7000|format=dms|display=title}}|[[Catégorie:Gare sans géolocalisation]]}}|[[Catégorie:Gare sans géolocalisation]]}}</includeonly><noinclude> | ||
{{Doc modèle|parser=oui}} | |||
</noinclude> | |||