MFC ... c’est bientôt fini (le 30 septembre) !
Plus de détails sur le forum
Modèle: Infobox-Adresse
De Guide MFC
(Removed standalone CP) |
|||
(15 révisions intermédiaires par 3 utilisateurs non affichées) | |||
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="vertical-align: top;" | |- style="vertical-align: top;" | ||
− | | | + | | style="text-align: center;" | |
− | {{#if:{{{image|}}}|[[image:{{{image}}}|{{{ | + | {{#if:{{{image|}}}|[[image:{{{image}}}|{{{image_largeur|300px}}}|{{{image_legende|}}}]]<br><small><div style="text-align:center">{{{image_legende|}}}</div></small>}} |
− | |- style="text-align:left;border-width:1px;" | + | |- style="vertical-align: top;" |
+ | | style="text-align: center;" | | ||
+ | {{#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; " | ||
{{#if: {{{rue|}}}| | {{#if: {{{rue|}}}| | ||
− | |||
{{!}} {{{rue}}} | {{!}} {{{rue}}} | ||
+ | }}<br>{{#if: {{{ville<includeonly>|</includeonly>}}}| | ||
+ | {{#if: {{{CP|}}}|{{{CP}}}}} {{{ville}}} | ||
+ | }} | ||
+ | |- style="text-align:left;border-width:1px;" | ||
+ | {{#if: {{{arret|}}}| | ||
+ | {{!}} Arrêt : {{{arret}}} | ||
+ | }} | ||
+ | {{#if: {{{arrets|}}}| | ||
+ | {{!}} Arrêts : {{{arrets}}} | ||
+ | }} | ||
+ | |- style="text-align:left;border-width:1px;" | ||
+ | {{#if: {{{quartier|}}}| | ||
+ | {{!}} Quartier : [[Quartier {{{quartier}}}|{{{quartier}}}]] | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- style="text-align:left;border-width:1px;" | |- style="text-align:left;border-width:1px;" | ||
{{#if: {{{tel|}}}| | {{#if: {{{tel|}}}| | ||
− | {{!}} Tél. | + | {{!}} Tél. {{{tel}}} |
− | |||
}} | }} | ||
|- style="text-align:left;border-width:1px;" | |- style="text-align:left;border-width:1px;" | ||
{{#if: {{{fax|}}}| | {{#if: {{{fax|}}}| | ||
− | {{!}} | + | {{!}} Fax {{{fax}}} |
− | |||
}} | }} | ||
|- style="text-align:left;border-width:1px;" | |- style="text-align:left;border-width:1px;" | ||
{{#if: {{{mail|}}}| | {{#if: {{{mail|}}}| | ||
− | |||
{{!}} {{{mail}}} | {{!}} {{{mail}}} | ||
}} | }} | ||
|- style="text-align:left;border-width:1px;" | |- style="text-align:left;border-width:1px;" | ||
{{#if: {{{site|}}}| | {{#if: {{{site|}}}| | ||
− | |||
{{!}} {{{site}}} | {{!}} {{{site}}} | ||
}} | }} | ||
|- style="text-align:left;border-width:1px;" | |- style="text-align:left;border-width:1px;" | ||
− | {{#if: {{{ | + | {{#if: {{{paiement|}}}| |
− | {{!}} ''' | + | {{!}} {{{paiement}}} |
− | + | }} | |
+ | |- style="text-align:left;border-width:1px;" | ||
+ | {{#if: {{{horaires|}}}| | ||
+ | {{!}} '''Horaires''' : | ||
+ | {{{horaires}}} | ||
}} | }} | ||
|} | |} | ||
− | <noinclude>{{ | + | <noinclude> |
+ | {{Documentation}} | ||
+ | [[Catégorie:Templates]] | ||
+ | </noinclude> |
Version actuelle datée du 8 mars 2011 à 21:07
{{{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