Modèle: Infobox-Adresse
De Guide MFC
(Nouvelle page : {| class="infobox bordered vcard" style="width:300px; float:right; clear:right; line-height: 160%" |- ! colspan="2" style="background-color:#009933; color:white; line-height: 180%; f...) |
|||
Ligne 1 : | Ligne 1 : | ||
{| class="infobox bordered vcard" style="width:300px; float:right; clear:right; line-height: 160%" | {| class="infobox bordered vcard" style="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"> '''''{{{ | + | ! colspan="2" style="background-color:#009933; 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;" | ||
− | {{#if: {{{ | + | {{#if: {{{rue|}}}| |
− | {{!}} ''' | + | {{!}} '''Rue''' |
− | {{!}} {{{ | + | {{!}} {{{rue}}} |
}} | }} | ||
|- style="text-align:left;" | |- style="text-align:left;" | ||
− | {{#if: {{{ | + | {{#if: {{{CP|}}}| |
− | ! {{!}} | + | {{!}} '''CP''' |
− | {{!}} {{!}} {{{ | + | {{!}} {{{CP}}} |
+ | }} | ||
+ | |- style="text-align:left;" | ||
+ | {{#if: {{{ville<includeonly>|</includeonly>}}}| | ||
+ | ! {{!}} Ville | ||
+ | {{!}} {{!}} {{{ville}}} | ||
|}} | |}} | ||
|- style="text-align:left;" | |- style="text-align:left;" | ||
− | {{#if: {{{ | + | {{#if: {{{tel|}}}| |
− | ! {{!}} | + | ! {{!}} Tél. |
− | {{!}} {{!}} {{{ | + | {{!}} {{!}} {{{tel}}} |
|}} | |}} | ||
|- style="text-align:left;" | |- style="text-align:left;" | ||
− | {{#if: {{{ | + | {{#if: {{{fax|}}}| |
− | {{!}} ''' | + | {{!}} '''Fax''' |
− | {{!}} {{{ | + | {{!}} {{{fax}}} |
+ | }} | ||
+ | |- style="text-align:left;" | ||
+ | {{#if: {{{mail|}}}| | ||
+ | {{!}} '''Courriel''' | ||
+ | {{!}} {{{mail}}} | ||
}} | }} | ||
|- style="text-align:left;" | |- style="text-align:left;" | ||
− | {{#if: {{{ | + | {{#if: {{{site|}}}| |
− | {{!}} ''' | + | {{!}} '''Site web''' |
− | {{!}} {{{ | + | {{!}} {{{site}}} |
}} | }} | ||
+ | |} | ||
|- style="text-align:left;" | |- style="text-align:left;" | ||
− | {{#if: {{{ | + | {{#if: {{{ouverture|}}}| |
− | {{!}} ''' | + | {{!}} '''Ouverture''' |
− | {{!}} {{{ | + | {{!}} {{{ouverture}}} |
}} | }} | ||
|} | |} | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Version du 17 mars 2008 à 00:10
{{{nom}}} | |
---|---|
Ville | {{{ville}}} |
|- style="text-align:left;"
|}
[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