Modèle: Infobox-Adresse
De Guide MFC
m (Révocation des modifications de Kiki (discussion) vers la dernière version de Jhf) |
|||
Ligne 1 : | Ligne 1 : | ||
− | {| class="infobox-Adresse" style="border-style:solid; border-width:1px; width:300px; float:right; clear:right; line-height: 160%" | + | {| class="infobox-Adresse" style="border-style:solid; border-width:1px; width:300px; float:right; clear:right; line-height: 160%" |
|- | |- | ||
− | ! style="background-color:#009933; border-style:solid; border-width:1px; color:white; line-height: 180%; font-size:120%;" | <big class="fn org"> '''''{{{nom}}}'''''</big> | + | ! style="background-color:#009933; border-style:solid; border-width:1px; color:white; line-height: 180%; font-size:120%;" | <big class="fn org"> '''''{{{nom}}}'''''</big> |
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| style="text-align: center;" | | | style="text-align: center;" | | ||
− | {{#if:{{{image|}}}|[[image:{{{image}}}|{{{image_largeur|300px}}}|{{{image_legende|}}}]]<br><small><div style="text-align:center">{{{image_legende|}}}</div></small>}} | + | {{#if:{{{image|}}}|[[image:{{{image}}}|{{{image_largeur|300px}}}|{{{image_legende|}}}]]<br><small><div style="text-align:center">{{{image_legende|}}}</div></small>}} |
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| style="text-align: center;" | | | style="text-align: center;" | | ||
− | {{#if:{{{image_url|}}}|{{#imgUrl: {{{image_url}}}|{{{image_largeur|200px}}} }}<br><small><div style="text-align:center">{{{image_legende|}}}</div></small>}} | + | {{#if:{{{image_url|}}}|{{#imgUrl: {{{image_url}}}|{{{image_largeur|200px}}} }}<br><small><div style="text-align:center">{{{image_legende|}}}</div></small>}} |
|- style="text-align:left; border-style:solid; border-width:1px; " | |- style="text-align:left; border-style:solid; border-width:1px; " | ||
{{#if: {{{rue|}}}| | {{#if: {{{rue|}}}| | ||
Ligne 13 : | Ligne 13 : | ||
}}<br>{{#if: {{{ville<includeonly>|</includeonly>}}}| | }}<br>{{#if: {{{ville<includeonly>|</includeonly>}}}| | ||
{{#if: {{{CP|}}}|{{{CP}}}}} {{{ville}}} | {{#if: {{{CP|}}}|{{{CP}}}}} {{{ville}}} | ||
+ | }} | ||
+ | |- style="text-align:left;border-width:1px;" | ||
+ | {{#if: {{{transports|}}}| | ||
+ | {{!}} Transports en commun : {{{transports}}} | ||
}} | }} | ||
|- style="text-align:left;border-width:1px;" | |- style="text-align:left;border-width:1px;" |
Version du 2 mars 2011 à 12:01
{{{ville}}}
{{{nom}}} |
---|
[edit] Documentation
Sommaire
Description
Boîte de description d'un restaurant, bar, société qui va venir s'afficher en haut à droite de la page. Largeur = 300px
Paramètres
Paramètres sans nom
Aucun.
Paramètres nommés obligatoires
- nom : nom de la société
- rue
- CP
- ville
Paramètres nommés facultatifs
- image : image du wiki à afficher, sans le 'Image:'
- image_url : alternativement au paramètre image, on peut fournir ici l'URL d'une image à afficher. Attention à respecter le droit d'auteur et à demander le droit de faire un lien vers l'image (cross site linking) !
- image_largeur : largeur de l'image (paramètre HTML width)
- image_legende : des fois qu'il en faille une...
- tel : utiliser la notation internationale +49 (89) ...
- fax : utiliser la notation internationale +49 (89) ...
- paiement : CB, EC, ...
- site : ne pas oublier le http:// pour que le lien soit valide !
- horaires : horaires d'ouverture, format libre
- quartier : nom du quartier, sans format wiki. Sera transformé en wiki lien vers le quartier correspondant
- arret ou arrets : arrêt(s) de transports en commun
Utilisation
{{Infobox-Adresse | nom = Atlas Café | image_url = http://www.atlasmunich.de/images/home.jpg | image_largeur = 200 | image_legende = | rue = Innere Wiener Str. 2 | CP = 81667 | ville = München | tel = +49 (89) 480 29 97 | mail = info@atlasmunich.de | site = http://www.atlasmunich.de/ | arrets = Tram X, S-Bahn Y | paiement = CB | horaires = * Du lundi au vendredi de 8:00 à 12:00 * Du lundi au jeudi de 14:00 à 18:00 }}
Source
http://en.wikipedia.org/wiki/Template:Documentation avec modifications locales