Modèle: Infobox-Adresse
De Guide MFC
Ligne 1 : | Ligne 1 : | ||
− | {| class="infobox-Adresse" style="border: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%" |
|- | |- | ||
− | ! colspan="2" style="background-color:#009933; color:white; line-height: 180%; font-size:120%;" | <big class="fn org"> '''''{{{nom}}}'''''</big> | + | ! colspan="2" 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;" | ||
| colspan="2" style="text-align: center;" | | | colspan="2" style="text-align: center;" | | ||
{{#if:{{{image|}}}|[[image:{{{image}}}|{{{image_width|300px}}}|{{{image_caption|}}}]]<br><small><div style="text-align:center">{{{image_caption|}}}</div></small>}} | {{#if:{{{image|}}}|[[image:{{{image}}}|{{{image_width|300px}}}|{{{image_caption|}}}]]<br><small><div style="text-align:center">{{{image_caption|}}}</div></small>}} | ||
− | |- style="text-align:left;" | + | |- style="text-align:left;border-width:1px;" |
{{#if: {{{rue|}}}| | {{#if: {{{rue|}}}| | ||
{{!}} '''Rue''' | {{!}} '''Rue''' | ||
{{!}} {{{rue}}} | {{!}} {{{rue}}} | ||
}} | }} | ||
− | |- style="text-align:left;" | + | |- style="text-align:left; border-width:1px; border-style:solid; " |
{{#if: {{{CP|}}}| | {{#if: {{{CP|}}}| | ||
{{!}} '''CP''' | {{!}} '''CP''' | ||
{{!}} {{{CP}}} | {{!}} {{{CP}}} | ||
}} | }} | ||
− | |- style="text-align:left;" | + | |- style="text-align:left; border-style:solid; border-width:1px; " |
{{#if: {{{ville<includeonly>|</includeonly>}}}| | {{#if: {{{ville<includeonly>|</includeonly>}}}| | ||
! {{!}} Ville | ! {{!}} Ville | ||
{{!}} {{!}} {{{ville}}} | {{!}} {{!}} {{{ville}}} | ||
|}} | |}} | ||
− | |- style="text-align:left;" | + | |- style="text-align:left;border-width:1px;" |
{{#if: {{{tel|}}}| | {{#if: {{{tel|}}}| | ||
{{!}} Tél. | {{!}} Tél. | ||
{{!}} {{{tel}}} | {{!}} {{{tel}}} | ||
}} | }} | ||
− | |- style="text-align:left;" | + | |- style="text-align:left;border-width:1px;" |
{{#if: {{{fax|}}}| | {{#if: {{{fax|}}}| | ||
{{!}} '''Fax''' | {{!}} '''Fax''' | ||
{{!}} {{{fax}}} | {{!}} {{{fax}}} | ||
}} | }} | ||
− | |- style="text-align:left;" | + | |- style="text-align:left;border-width:1px;" |
{{#if: {{{mail|}}}| | {{#if: {{{mail|}}}| | ||
{{!}} '''Courriel''' | {{!}} '''Courriel''' | ||
{{!}} {{{mail}}} | {{!}} {{{mail}}} | ||
}} | }} | ||
− | |- style="text-align:left;" | + | |- style="text-align:left;border-width:1px;" |
{{#if: {{{site|}}}| | {{#if: {{{site|}}}| | ||
{{!}} '''Site web''' | {{!}} '''Site web''' | ||
{{!}} {{{site}}} | {{!}} {{{site}}} | ||
}} | }} | ||
− | |- style="text-align:left;" | + | |- style="text-align:left;border-width:1px;" |
{{#if: {{{ouverture|}}}| | {{#if: {{{ouverture|}}}| | ||
{{!}} '''Ouverture''' | {{!}} '''Ouverture''' |
Version du 17 mars 2008 à 19:13
{{{nom}}} | |
---|---|
Ville | {{{ville}}} |
[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