De Wiki-Brest
Modèle:Infobox papi : Différence entre versions
(test modif) |
|||
(25 révisions intermédiaires par 3 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<includeonly> | <includeonly> | ||
− | {| style="border: 1px solid navy; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; width: | + | {| style="border: 1px solid navy; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; width: 280px; text-align: left; font-size: 90%;" cellspacing="1" |
|- | |- | ||
− | | {{#if: {{{image|}}} | align="center" colspan="2" | align="center" colspan="2" style="border-bottom:1px solid navy;" }} | <span style="font-size: 120%;">'''{{ | + | | {{#if: {{{image|}}} | align="center" colspan="2" | align="center" colspan="2" style="border-bottom:1px solid navy;" }} | <span style="font-size: 120%;">'''{{FULLPAGENAME}}'''</span> |
|- | |- | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
{{!}} style="font-size: 100%;" align="center" colspan="2" {{!}} <span style="display:table-cell; border-collapse:collapse; border: solid 1px navy;">[[Image:{{{image}}}|250px|{{{légende}}}]]</span><small>{{{légende}}}</small>}} | {{!}} style="font-size: 100%;" align="center" colspan="2" {{!}} <span style="display:table-cell; border-collapse:collapse; border: solid 1px navy;">[[Image:{{{image}}}|250px|{{{légende}}}]]</span><small>{{{légende}}}</small>}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
{{#if: {{{tarif|}}} | | {{#if: {{{tarif|}}} | | ||
Ligne 22 : | Ligne 14 : | ||
! align="right" style="vertical-align: top;" {{!}} Équipement : | ! align="right" style="vertical-align: top;" {{!}} Équipement : | ||
{{!}} {{{équipement}}}}} | {{!}} {{{équipement}}}}} | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
{{#if: {{{horaires|}}} | | {{#if: {{{horaires|}}} | | ||
Ligne 31 : | Ligne 19 : | ||
{{!}} {{{horaires}}}}} | {{!}} {{{horaires}}}}} | ||
|- | |- | ||
+ | {{#if: {{{particularité|}}} | | ||
+ | ! align="right" style="vertical-align: top;" {{!}} Particularité : | ||
+ | {{!}} {{{particularité}}}}} | ||
+ | |- | ||
{{#if: {{{coordonnées|}}} | | {{#if: {{{coordonnées|}}} | | ||
− | ! align="right" style="vertical-align: top;" {{!}} | + | ! align="right" style="vertical-align: top;" {{!}} Adresse : |
{{!}} {{{coordonnées}}}}} | {{!}} {{{coordonnées}}}}} | ||
|- | |- | ||
Ligne 41 : | Ligne 33 : | ||
{{#if: {{{mail|}}} | | {{#if: {{{mail|}}} | | ||
! align="right" style="vertical-align: top;" {{!}} Mail : | ! align="right" style="vertical-align: top;" {{!}} Mail : | ||
− | {{!}} {{{mail}}}}} | + | {{!}} [mailto:{{{mail}}} {{{mail}}}]}} |
|- | |- | ||
{{#if: {{{url|}}} | | {{#if: {{{url|}}} | | ||
− | ! align="right" style="vertical-align: top;" {{!}} | + | ! align="right" style="vertical-align: top;" {{!}} Site Web : |
{{!}} {{{url}}}}} | {{!}} {{{url}}}}} | ||
− | |}</includeonly> | + | |- |
+ | {{#if: {{{contact|}}} | | ||
+ | ! align="right" style="vertical-align: top;" {{!}} Contact : | ||
+ | {{!}} {{{contact}}}}} | ||
+ | |} | ||
+ | [[catégorie:PAPI brestois]] | ||
+ | </includeonly> | ||
+ | <noinclude> | ||
+ | ==Exemple== | ||
+ | * [[PAPI de la rue de Saint-Malo]] | ||
+ | ==Utilisation== | ||
+ | Copier le code suivant et renseigner chaque rubrique. Les rubriques sont facultatives, une rubrique non renseignée ne sera pas visible. | ||
+ | L'inscription du nom est automatique (c'est une reprise du titre de l'article) | ||
+ | |||
+ | |||
+ | |||
+ | <div style="width:350px;background:#dddddd;border: 1px solid black;padding:0.5em 1em 0.5em 1em"><pre> | ||
+ | {{Infobox papi | ||
+ | | image = | ||
+ | | légende = | ||
+ | | tarif = | ||
+ | | équipement = | ||
+ | | horaires = | ||
+ | | particularité = | ||
+ | | coordonnées = | ||
+ | | tel = | ||
+ | | mail = | ||
+ | | url = | ||
+ | | contact = | ||
+ | }} | ||
+ | </pre></div> | ||
+ | [[Catégorie:Modèle|Infobox papi]] | ||
+ | [[Catégorie:Modèle Infobox|P]] | ||
+ | </noinclude> |
Version actuelle datée du 14 février 2013 à 13:03
Exemple
Utilisation
Copier le code suivant et renseigner chaque rubrique. Les rubriques sont facultatives, une rubrique non renseignée ne sera pas visible. L'inscription du nom est automatique (c'est une reprise du titre de l'article)
{{Infobox papi | image = | légende = | tarif = | équipement = | horaires = | particularité = | coordonnées = | tel = | mail = | url = | contact = }}