« Modèle:Contact » : différence entre les versions

Aucun résumé des modifications
mAucun résumé des modifications
 
(9 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<div style="float:left; width: 35em; margin: .2em; padding: 0 .1em .05em .3em; border: 1px solid black; border-top: .8em solid #004588; background: #ccc; letter-spacing:-.01em;"><span style="font-size:120%; font-weight:bold;">{{{nom}}}&nbsp;{{{prenom}}}<br /></span><span style="font-style:italic;">{{#if:{{{fonction}}}|{{{fonction}}}<br />}}</span><span style="">{{#if:{{{mobile}}}|Mob. {{{mobile|}}} -&nbsp;}}{{#if:{{{tel1}}}|tél. {{{tel1|}}} -&nbsp;}}{{#if:{{{tel2}}}|tél. {{{tel2|}}}}}{{#if:{{{mobile}}}{{{tel1}}}{{{tel2}}}|<br />}}</span><span style="">{{#if:{{{courriel}}}|[mailto:{{{courriel}}} {{{courriel}}}]<br />}}</span><span style="font-size:90%;">{{#if:{{{commentaire}}}|{{{commentaire}}}}}</span></div>
<includeonly><div style="float:left; width: 35em; margin: .2em; padding: 0 .1em .05em .3em; border: 1px solid black; border-top: .8em solid #004588; background: #eee; letter-spacing:-.01em;"><span style="font-size:120%; font-weight:bold;">{{#if:{{{nom|}}}|{{{nom}}}|.}}&nbsp;{{#if:{{{prenom|}}}|{{{prenom}}}|.}}<br /></span><span style="font-style:italic;">{{#if:{{{fonction|}}}|{{{fonction}}}<br />}}</span><span style="">{{#if:{{{mobile|}}}|Mob. {{{mobile}}}{{#if:{{{tel1|}}}{{{tel2|}}}|&nbsp;-&nbsp;}}}}{{#if:{{{tel1|}}}|tél. {{{tel1}}}{{#if:{{{tel2|}}}|&nbsp;-&nbsp;}}}}{{#if:{{{tel2|}}}|tél. {{{tel2|}}}}}{{#if:{{{mobile}}}{{{tel1}}}{{{tel2}}}|<br />}}</span><span style="">{{#if:{{{courriel|}}}|[mailto:{{{courriel}}} {{{courriel}}}]<br />}}</span><span style="font-size:90%;">{{#if:{{{commentaire|}}}|{{{commentaire}}}}}</span></div>[[Catégorie:Modèle]]</includeonly><noinclude>{{Documentation}} [[Catégorie:Modèle]]</noinclude>

Dernière version du 21 octobre 2026 à 23:20

Documentation

Ce modèle permet de créé une fiche contact.

Le modèle est à utiliser comme suit :

{{Contact
| nom       = 
| prenom    = 
| fonction  =
| mobile    =
| tel1      =
| tel2      =
| courriel  =
}}
{{Contact
| nom       = Bhon
| prenom    = Jean
| fonction  = traiteur
| mobile    = 06 05 04 03 02
| tel1      = 02 23 34 45 56
| tel2      = 02 34 56 78 90
| courriel  = jean.bhon@traiteur.fr
}}


Le résultat est :

Bhon Jean
traiteur
Mob. 06 05 04 03 02 - tél. 02 23 34 45 56 - tél. 02 34 56 78 90
jean.bhon@traiteur.fr