« Modèle:Infobox Gare » : différence entre les versions

De Lagny-sur-Marne Wiki
Aller à la navigation Aller à la recherche
0x010D (discussion | contributions)
doc en dessous
0x010D (discussion | contributions)
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
{| class="toc" style="float: right; width: 23em; font-size: 95%; text-align: left; margin-left:1em; vertical-align:top;"
<includeonly>{| class="infobox_v2" cellspacing="7"
<!-- ***** Titre ***** -->
|-
|+ style="font-size: 1.25em;" | '''{{{nom}}}'''
! colspan="2" class="entete defaut" style="background-color:#E0E0E0; color:#000000" | {{{nom|{{PAGENAME}}}}}
<!-- ***** Image ***** -->
|-  
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="padding: 0.1em;" {{!}} {{{image}}}{{#if:{{{légende|}}}|<br /><small>{{{légende}}}</small>|}}
{{!}} colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;" {{!}}  
{{!-}}
{{{image}}}{{#if:{{{légende|}}}|<br /><small>{{{légende}}}</small>|}}
}}
}}
<!-- ***** Localisation ***** -->
{{#if:{{{pays|}}}{{{ville|}}}{{{quartier|}}}{{{adresse|}}}|
{{#if:{{{pays|}}}{{{ville|}}}{{{quartier|}}}{{{adresse|}}}|
{{!}}-
! colspan="2" style="text-align:center;background-color:#E0E0E0;color:#000000" {{!}} Localisation
{{!}} colspan="2" style="background-color: #e0e0e0; text-align: center;" {{!}} '''Localisation'''
{{!-}}
{{!}}-
}}
}}
|- class="hiddenStructure{{{pays|}}}" valign="top"
{{#if:{{{pays|}}} |
! {{{titre pays|Pays}}}
! {{{titre pays|Pays}}}
| {{{pays}}}
{{!}} {{{pays}}}
|- class="hiddenStructure{{{ville|}}}" valign="top"
{{!-}}
}}
{{#if:{{{ville|}}} |
! {{{titre ville|Ville}}}
! {{{titre ville|Ville}}}
| {{{ville}}}
{{!}} {{{ville}}}
|- class="hiddenStructure{{{quartier|}}}" valign="top"
{{!-}}
}}
{{#if:{{{quartier|}}} |
! {{{titre quartier|Quartier}}}
! {{{titre quartier|Quartier}}}
| {{{quartier}}}
{{!}} {{{quartier}}}
|- class="hiddenStructure{{{adresse|}}}" valign="top"
{{!-}}
}}
{{#if:{{{adresse|}}} |
! Adresse
! Adresse
| {{{adresse}}}
{{!}} {{{adresse}}}
<!-- ***** Gestion et exploitation ***** -->
{{!-}}
}}
{{#if:{{{propriétaire|}}}{{{exploitant|}}}{{{services|}}}{{{zone|}}}|
{{#if:{{{propriétaire|}}}{{{exploitant|}}}{{{services|}}}{{{zone|}}}|
{{!}}-
! colspan="2" style="text-align:center;background-color:#E0E0E0;color:#000000" {{!}} Gestion et exploitation
{{!}} colspan="2" style="background-color: #e0e0e0; text-align: center;" {{!}} '''Gestion et exploitation'''
{{!-}}
{{!}}-
}}
}}
|- class="hiddenStructure{{{propriétaire|}}}" valign="top"
{{#if:{{{propriétaire|}}} |
! Propriétaire
! Propriétaire
| {{{propriétaire}}}
{{!}} {{{propriétaire}}}
|- class="hiddenStructure{{{exploitant|}}}" valign="top"
{{!-}}
}}
{{#if:{{{exploitant|}}} |
! Exploitant
! Exploitant
| {{{exploitant}}}
{{!}} {{{exploitant}}}
|- class="hiddenStructure{{{services|}}}" valign="top"
{{!-}}
}}
{{#if:{{{services|}}} |
! {{{titre services|Services}}}
! {{{titre services|Services}}}
| {{{services}}}
{{!}} {{{services}}}
<!-- ***** Caractéristiques ***** -->
{{!-}}
}}
{{#if:{{{voies|}}}{{{quais|}}}{{{transit|}}}{{{zone|}}}|
{{#if:{{{voies|}}}{{{quais|}}}{{{transit|}}}{{{zone|}}}|
{{!}}-
! colspan="2" style="text-align:center;background-color:#E0E0E0;color:#000000" {{!}} Caractéristiques
{{!}} colspan="2" style="background-color: #e0e0e0; text-align: center;" {{!}} '''Caractéristiques'''
{{!-}}
{{!}}-
}}
}}
|- class="hiddenStructure{{{voies|}}}" valign="top"
{{#if:{{{voies|}}} |
! Voies
! Voies
| {{{voies}}}
{{!}} {{{voies}}}
|- class="hiddenStructure{{{quais|}}}" valign="top"
{{!-}}
}}
{{#if:{{{quais|}}} |
! Quais
! Quais
| {{{quais}}}
{{!}} {{{quais}}}
|- class="hiddenStructure{{{hauteur|}}}" valign="top"
{{!-}}
}}
{{#if:{{{hauteur|}}} |
! Hauteur
! Hauteur
| {{{hauteur}}} m
{{!}} {{{hauteur}}} m
|- class="hiddenStructure{{{transit|}}}" valign="top"
{{!-}}
! Transit&nbsp;annuel
}}
| {{{transit}}}
{{#if:{{{transit|}}} |
|- class="hiddenStructure{{{zone|}}}" valign="top"
! Transit annuel
{{!}} {{{transit}}}
{{!-}}
}}
{{#if:{{{zone|}}} |
! Zone
! Zone
| {{ #ifeq: {{ #titleparts: {{{zone}}} | 1 | 1 }} | IDF | {{#if: {{isNumeric|{{ #titleparts: {{{zone}}} | 1 | 2 }}}}|{{#ifexpr: {{ #titleparts: {{{zone}}} | 1 | 2 }} > 0 and {{ #titleparts: {{{zone}}} | 1 | 2 }} <= 8| {{ #titleparts: {{{zone}}} | 1 | 2 }} ([[Carte orange]])[[Catégorie:Zone {{ #titleparts: {{{zone}}} | 1 | 2 }} des transports en commun d'Île-de-France]] | [[Carte orange]] non applicable[[Catégorie:Hors zone des transports en commun d'Île-de-France]]}} | [[Carte orange]] non applicable[[Catégorie:Hors zone des transports en commun d'Île-de-France]]}} | {{{zone}}} }}  
{{!}} {{ #ifeq: {{ #titleparts: {{{zone}}} | 1 | 1 }} | IDF | {{#if: {{isNumeric|{{ #titleparts: {{{zone}}} | 1 | 2 }}}}|{{#ifexpr: {{ #titleparts: {{{zone}}} | 1 | 2 }} > 0 and {{ #titleparts: {{{zone}}} | 1 | 2 }} <= 8| {{ #titleparts: {{{zone}}} | 1 | 2 }} ([[Carte orange]])[[Catégorie:Zone {{ #titleparts: {{{zone}}} | 1 | 2 }} des transports en commun d'Île-de-France]] | [[Carte orange]] non applicable[[Catégorie:Hors zone des transports en commun d'Île-de-France]]}} | [[Carte orange]] non applicable[[Catégorie:Hors zone des transports en commun d'Île-de-France]]}} | {{{zone}}} }}
|- class="hiddenStructure{{{altitude|}}}" valign="top"
{{!-}}
}}
{{#if:{{{altitude|}}} |
! Altitude
! Altitude
| {{{altitude}}} m
{{!}} {{{altitude}}} m
<!-- ***** Historique ***** -->
{{!-}}
}}
{{#if:{{{mise en service|}}}{{{ouverture|}}}{{{fermeture|}}}{{{architecte|}}}{{{classé aux MH|}}}|
{{#if:{{{mise en service|}}}{{{ouverture|}}}{{{fermeture|}}}{{{architecte|}}}{{{classé aux MH|}}}|
{{!}}-
! colspan="2" style="text-align:center;background-color:#E0E0E0;color:#000000" {{!}} Historique
{{!}} colspan="2" style="background-color: #e0e0e0; text-align: center;" {{!}} '''Historique'''
{{!-}}
{{!}}-
}}
}}
|- class="hiddenStructure{{{mise en service|}}}" valign="top"
{{#if:{{{mise en service|}}} |
! Mise&nbsp;en&nbsp;service
! Mise en service
| {{{mise en service}}}
{{!}} {{{mise en service}}}
|- class="hiddenStructure{{{ouverture|}}}" valign="top"
{{!-}}
}}
{{#if:{{{ouverture|}}} |
! Ouverture
! Ouverture
| {{{ouverture}}}
{{!}} {{{ouverture}}}
|- class="hiddenStructure{{{fermeture|}}}" valign="top"
{{!-}}
}}
{{#if:{{{fermeture|}}} |
! Fermeture
! Fermeture
| {{{fermeture}}}
{{!}} {{{fermeture}}}
|- class="hiddenStructure{{{architecte|}}}" valign="top"
{{!-}}
}}
{{#if:{{{architecte|}}} |
! Architecte
! Architecte
| {{{architecte}}}
{{!}} {{{architecte}}}
|- class="hiddenStructure{{{classé aux MH|}}}" valign="top"
{{!-}}
! Monument&nbsp;historique
}}
| {{{classé aux MH}}}
{{#if:{{{classé aux MH|}}} |
<!-- ***** Correspondances ***** -->
! Monument historique
{{!}} {{{classé aux MH}}}
{{!-}}
}}
{{#if:{{{corresp 1|}}}{{{métro|}}}{{{tramway|}}}{{{bus|}}}|
{{#if:{{{corresp 1|}}}{{{métro|}}}{{{tramway|}}}{{{bus|}}}|
{{!}}-
! colspan="2" style="text-align:center;background-color:#E0E0E0;color:#000000" {{!}} Correspondances
{{!}} colspan="2" style="background-color: #e0e0e0; text-align: center;" {{!}} '''Correspondances'''
{{!-}}
{{!}}-
}}
}}
|- class="hiddenStructure{{{corresp 1|}}}" valign="top"
{{#if:{{{corresp 1|}}} |
! {{{titre corresp 1}}}
! {{{titre corresp 1}}}
| {{{corresp 1}}}
{{!}} {{{corresp 1}}}
|- class="hiddenStructure{{{corresp 2|}}}" valign="top"
{{!-}}
}}
{{#if:{{{corresp 2|}}} |
! {{{titre corresp 2}}}
! {{{titre corresp 2}}}
| {{{corresp 2}}}
{{!}} {{{corresp 2}}}
|- class="hiddenStructure{{{corresp 3|}}}" valign="top"
{{!-}}
}}
{{#if:{{{corresp 3|}}} |
! {{{titre corresp 3}}}
! {{{titre corresp 3}}}
| {{{corresp 3}}}
{{!}} {{{corresp 3}}}
|- class="hiddenStructure{{{corresp 4|}}}" valign="top"
{{!-}}
}}
{{#if:{{{corresp 4|}}} |
! {{{titre corresp 4}}}
! {{{titre corresp 4}}}
| {{{corresp 4}}}
{{!}} {{{corresp 4}}}
|- class="hiddenStructure{{{métro|}}}" valign="top"
{{!-}}
}}
{{#if:{{{métro|}}} |
! Métro
! Métro
| {{{métro}}}
{{!}} {{{métro}}}
|- class="hiddenStructure{{{tramway|}}}" valign="top"
{{!-}}
}}
{{#if:{{{tramway|}}} |
! Tramway
! Tramway
| {{{tramway}}}
{{!}} {{{tramway}}}
|- class="hiddenStructure{{{bus|}}}" valign="top"
{{!-}}
}}
{{#if:{{{bus|}}} |
! Bus
! Bus
| {{{bus}}}
{{!}} {{{bus}}}
{{!-}}
}}
|}
|}
{{#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]]}}<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>
{{/Documentation}}
</noinclude>

Version du 5 avril 2009 à 23:30