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

De Lagny-sur-Marne Wiki
Aller à la navigation Aller à la recherche
0x010D (discussion | contributions)
Mis à jour du modèle, prise en compte de paramètres non obligatoires, insération de scripts.
0x010D (discussion | contributions)
m A changé le niveau de protection pour « Modèle:Infobox Gare » : Modèle très utilisé ([Modifier=Autoriser uniquement les utilisateurs autopatrolled] (infini) [Renommer=Autoriser uniquement les utilisateurs autopatrolled] (infini))
 
(195 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
{| class="infobox" style="width: 250px;"
<includeonly>{{Infobox/Début}}
|+ style="background: #FFECB2;" | {{{nom}}}
{{Infobox/Titre
|-
| {{{nom|{{PAGENAME}}}}}|E0E0E0
{{#if: {{{image|}}} | <tr><td colspan="2" style="text-align: center; font-size: smaller; padding: 0">[[Image:{{{image}}}|{{{imagesize|300}}}px|{{{nom}}}]]{{#if: {{{légende|}}} | <br>{{{légende|}}} | }} | }}
}}
|-
{{Infobox/Image
{{#if: {{{adresse|}}} | <tr><th>Localité</th><td>{{{adresse}}}</td></tr> | }}<!--
| {{#if:{{{image|}}}|{{{image|}}}|Defaut 2.svg}}|{{{légende|}}}||{{{alt|}}}|||Gare
-->|-
}}
| colspan="2" style="background-color:#FFECB2;" class="infoboxsoustitre" |Opération
{{Infobox/Sous-titre optionnel
{{#if: {{{propriétaire|}}} | <tr><th>Propriétaire</th><td>{{{propriétaire}}}</td></tr> | }}<!--
| Localisation|{{{pays|}}}{{{ville|}}}{{{quartier|}}}{{{adresse|}}}|E0E0E0
-->{{#if: {{{exploitant|}}} | <tr><th>Exploitant</th><td>{{{exploitant}}}</td></tr> | }}<!--
}}
-->{{#if: {{{services|}}} | <tr><th>Services</th><td>{{{services}}}</td></tr> | }}<!--
{{Infobox/Ligne mixte optionnelle
-->{{#if: {{{voyageurs|}}} | <tr><th>Patronnage</th><td>{{{voyageurs}}}</td></tr> | }}<!--
| {{#if:{{{titre pays|}}}|{{{titre pays}}}|Pays}}|{{{pays|}}}
-->|-
}}
| colspan="2" style="background-color:#FFECB2;" class="infoboxsoustitre" |Statistiques
{{Infobox/Ligne mixte optionnelle
{{#if: {{{hauteur|}}} | <tr><th>Hauteur (en [[Mètre|m]])</th><td>{{{hauteur}}}</td></tr> | }}<!--
| {{#if:{{{titre ville|}}}|{{{titre ville}}}|Commune}}|{{{ville|}}}
-->{{#if: {{{voies|}}} | <tr><th>Voies à quai</th><td>{{{voies}}}</td></tr> | }}<!--
}}
-->|-
{{Infobox/Ligne mixte optionnelle
| colspan="2" style="background-color:#FFECB2;" class="infoboxsoustitre" |Historique
| {{#if:{{{titre quartier|}}}|{{{titre quartier}}}|Quartier}}|{{{quartier|}}}
{{#if: {{{ouverture|}}} | <tr><th>Ouverture</th><td>{{{ouverture}}}</td></tr> | }}<!--
}}
-->{{#if: {{{fermeture|}}} | <tr><th>Fermeture</th><td>{{{fermeture}}}</td></tr> | }}<!--
{{Infobox/Ligne mixte optionnelle
-->{{#if: {{{architecte|}}} | <tr><th>Architecte</th><td>{{{architecte}}}</td></tr> | }}<!--
| Adresse|{{{adresse|}}}
-->{{#if: {{{classé aux MH|}}} | <tr><th>Monument historique</th><td>{{{classé aux MH}}}</td></tr> | }}<!--
}}
-->|-
{{Infobox/Ligne mixte latitude longitude optionnelle
| colspan="2" style="background-color:#FFECB2;" class="infoboxsoustitre" |Correspondances
| Coordonnées géographiques|{{{latitude|}}}|{{{longitude|}}}|wikidata={{{wikidata|}}}|géolocalisation={{{géolocalisation|}}}|railwaystation|dms long|title=oui
{{#if: {{{métro|}}} | <tr><th>Métro</th><td>{{{métro}}}</td></tr> | }}<!--
}}
-->{{#if: {{{tramway|}}} | <tr><th>Tramway</th><td>{{{tramway}}}</td></tr> | }}<!--
{{Infobox/Sous-titre optionnel
-->{{#if: {{{bus|}}} | <tr><th>Bus</th><td>{{{bus}}}</td></tr> | }}
| Gestion et exploitation|{{{propriétaire|}}}{{{exploitant|}}}{{{services|}}}{{{zone|}}}|E0E0E0
|}
}}
 
{{Infobox/Ligne mixte optionnelle
<noinclude>
| Propriétaire|{{{propriétaire|}}}
{{Documentation modèle compliqué}}
}}
[[Catégorie:Modèle chemin de fer|Locomotive]]
{{Infobox/Ligne mixte optionnelle
[[Catégorie:Modèle_infobox|Locomotive]]
| Exploitant|{{{exploitant|}}}
</noinclude>
}}
{{Infobox/Ligne mixte optionnelle
| {{#if:{{{titre services|}}}|{{{titre services}}}|Services}}|{{{services|}}}
}}
{{Infobox/Sous-titre optionnel
| Caractéristiques|{{{voies|}}}{{{quais|}}}{{{transit|}}}{{{zone|}}}{{{lignes|}}}|E0E0E0
}}
{{Infobox/Ligne mixte optionnelle
| Ligne(s)|{{{lignes|}}}
}}
{{Infobox/Ligne mixte optionnelle
| Voies|{{{voies|}}}
}}
{{Infobox/Ligne mixte optionnelle
| Quais|{{{quais|}}}
}}
{{Infobox/Ligne mixte optionnelle
| Transit annuel|{{{transit|}}}
}}
{{Infobox/Ligne mixte optionnelle
| 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 }} ([[tarification des transports en commun d'Île-de-France|tarification Île-de-France]])[[Catégorie:Zone {{ #titleparts: {{{zone}}} | 1 | 2 }} des transports en commun d'Île-de-France]] | [[Tarification des transports en commun d'Île-de-France|Tarification Île-de-France]] non applicable[[Catégorie:Hors zone des transports en commun d'Île-de-France]]}} | [[Tarification des transports en commun d'Île-de-France|Tarification Île-de-France]] non applicable[[Catégorie:Hors zone des transports en commun d'Île-de-France]]}} | {{{zone}}} }}
}}
{{Infobox/Ligne mixte optionnelle
| Altitude|{{{altitude|}}}|{{{altitude|}}} m
}}
{{Infobox/Sous-titre optionnel
| Historique|{{{mise en service|}}}{{{ouverture|}}}{{{fermeture|}}}{{{architecte|}}}{{{protection|{{{classé aux MH|}}}}}}|E0E0E0
}}
{{Infobox/Ligne mixte optionnelle
| Mise en service|{{{mise en service|}}}
}}
{{Infobox/Ligne mixte optionnelle
| Ouverture|{{{ouverture|}}}
}}
{{Infobox/Ligne mixte optionnelle
| Fermeture|{{{fermeture|}}}
}}
{{Infobox/Ligne mixte optionnelle
| Architecte|{{{architecte|}}}
}}
{{Infobox/Ligne mixte optionnelle
| Protection|{{{protection|}}}
}}
{{Infobox/Sous-titre optionnel
| Correspondances|{{{corresp 1|}}}{{{métro|}}}{{{tramway|}}}{{{bus|}}}{{{corresp 2|}}}|E0E0E0
}}
{{Infobox/Ligne mixte optionnelle
| {{#if:{{{titre corresp 1|}}}|{{{titre corresp 1}}}|corresp 1}}|{{{corresp 1|}}}
}}
{{Infobox/Ligne mixte optionnelle
| {{#if:{{{titre corresp 2|}}}|{{{titre corresp 2}}}|corresp 2}}|{{{corresp 2|}}}
}}
{{Infobox/Ligne mixte optionnelle
| {{#if:{{{titre corresp 3|}}}|{{{titre corresp 3}}}|corresp 3}}|{{{corresp 3|}}}
}}
{{Infobox/Ligne mixte optionnelle
| {{#if:{{{titre corresp 4|}}}|{{{titre corresp 4}}}|corresp 4}}|{{{corresp 4|}}}
}}
{{Infobox/Ligne mixte optionnelle
| {{#if:{{{titre corresp 5|}}}|{{{titre corresp 5}}}|corresp 5}}|{{{corresp 5|}}}
}}
{{Infobox/Ligne mixte optionnelle
| {{#if:{{{titre corresp 6|}}}|{{{titre corresp 6}}}|corresp 6}}|{{{corresp 6|}}}
}}
{{Infobox/Ligne mixte optionnelle
| {{#if:{{{titre corresp 7|}}}|{{{titre corresp 7}}}|corresp 7}}|{{{corresp 7|}}}
}}
{{#if: {{{schéma|}}} |
! colspan="2" style="text-align:center;background-color:#E0E0E0;color:black" {{!}}Schéma de ligne
{{!-}}
{{{schéma}}}
{{!-}}
}}
{{Infobox/Géolocalisation multiple
| géolocalisation={{{géolocalisation|}}}
| latitude={{{latitude|}}}
| longitude={{{longitude|}}}
| toponyme={{{nom|{{PAGENAME}}}}}
| point=Localité sans toponyme
}}
{{Infobox/Notice
| Infobox Gare|E0E0E0
}}
{{Infobox/Fin}}<!--
-->{{#if:{{{lignes|}}}||[[Catégorie:Article utilisant l'infobox gare sans préciser de ligne ferroviaire]]}}<!--
-->{{#if:{{{ligne|}}}|[[Catégorie:Infobox gare avec paramètre ligne incorrect]]|}}<!--
-->{{#if:{{{image|}}}||[[Catégorie:Article à illustrer Gare]]}}<!--
-->{{#ifeq:{{{image|}}}|Defaut.svg|[[Catégorie:Gare illustrée par defaut.svg]]|}}
<!--
Catégorisation-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#if:{{{latitude|}}}|[[Catégorie:Article géolocalisé sur Terre]]|[[Catégorie:Article utilisant l'infobox gare sans géolocalisation locale]]}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Dernière version du 8 février 2017 à 10:30