Actions

Modèle

« Infos mairie » : différence entre les versions

De Wikimanche

Aucun résumé des modifications
(format illustration Vector et Monobook)
 
(13 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<includeonly>;Horaires d'ouverture
<includeonly>; Horaires d'ouverture
<center>
{| class="wikitable" style="border: 1px solid #999; background-color:#f2f9f2; width:auto; text-align: center; vertical-align:center;"
{| class="wikitable" border="0" style="border:1px solid #999" cellspacing="0" cellpadding="2" bgcolor=#F2F9F2 width="730"
|- style="background-color:#ddffdd; "
|- bgcolor="#DDFFDD" align="center" valign="center"
| '''Jours''' || '''Matin''' || '''Après-midi''' || '''Coordonnées de la mairie''' <small>([mailto:contact@wikimanche.fr?subject=Erreur%20dans%20la%20page%20de%20{{PAGENAMEE}} ''Pour envoyer un mail et signaler une erreur cliquez ici''])</small>
| '''Jours''' || '''Matin''' || '''Après-midi''' || '''Coordonnées de la mairie''' <small>([mailto:contact.wikimanche@gmail.com?subject=Erreur%20dans%20la%20page%20de%20{{PAGENAMEE}} ''Pour envoyer un mail et signaler une erreur cliquez ici''])</small>
|-  
|- align="center"
| style="background-color: #ddffdd; width: 8%; text-align: left;" | '''Lundi'''
| bgcolor="#DDFFDD" width="8%" align="left" | '''Lundi'''
| style="background-color:#f2f9f2" width="15%" | {{ #if: {{{Lun_mat|}}} | {{{Lun_mat|}}} [[Catégorie:Mairie ouverte le lundi matin]] | - }}
| bgcolor="#F2F9F2" {{# ifeq: {{{fermé|}}} | oui  | colspan=2 {{!}} fermé au public |  width="15%" {{!}} {{ #if: {{{Lun_mat|}}} | {{{Lun_mat|}}} | - }} {{!!}} bgcolor="#F2F9F2" width="15%" {{!}} {{ #if: {{{Lun_a-m|}}} | {{{Lun_a-m|}}} | - }} }}
| style="background-color:#f2f9f2" width="15%" | {{ #if: {{{Lun_a-m|}}} | {{{Lun_a-m|}}} [[Catégorie:Mairie ouverte le lundi après-midi]] | - }}
| rowspan="6"|
| rowspan="6"|
{| border=0 cellspacing="0" cellpadding="2" bgcolor=#F2F9F2 width="100%"
{| style="background-color: #f2f9f2; width: 100%;"
|-
|-
| bgcolor="#F2F9F2" align="center" valign="middle" width="35%" | {{ #if: {{{Vue_mairie|}}} | [[Image:{{{Vue_mairie|}}}|200px|center|{{{Libellé}}}]] | [[Image:Mairie defaut.png|200px|center|Image par défaut]] [[Catégorie:Mairie à illustrer]] }}
| style="background-color: #f2f9f2; text-align: center; vertical-align: middle; width: 50%; font-size: small;" | {{ #if: {{{Vue_mairie|}}} | [[Fichier:{{{Vue_mairie|}}}|230px|center|{{{Libellé}}}]] | [[Fichier:Mairie defaut.png|230px|center|Image par défaut]] [[Catégorie:Mairie à illustrer]] }}
<small> {{ #if: {{{Vue_mairie|}}} | {{{Libellé}}} | [[Sp%C3%A9cial:T%C3%A9l%C3%A9verser|''Importer une illustration de la mairie'']] ([[Wikimanche:Premiers_pas|aide]])}}</small>
<small> {{ #if: {{{Vue_mairie|}}} | | [[Sp%C3%A9cial:T%C3%A9l%C3%A9verser|''Importer une illustration de la mairie'']] ([[Wikimanche:Premiers_pas|aide]])}}</small>
| bgcolor="#F2F9F2" align="left" width="65%" | '''Adresse :''' {{{Adresse|}}} <br />{{{CP_commune|}}}
| style="background-color: #f2f9f2; text-align: left; vertical-align: top; width: 50%;" | '''Adresse :''' {{{Adresse|}}} <br />{{{CP_commune|}}}
{{ #ifeq: {{{Tél|}}} | {{{Fax|}}} | '''Tél./Fax''' : {{{Tél|}}} | '''Tél.''' {{#if: {{{Tél|}}} | {{{Tél|}}} | ''Pas de téléphone'' }} <br /> '''Fax :''' {{#if: {{{Fax|}}} | {{{Fax|}}} | ''Pas de télécopieur''}}}}<!--rem-- Tél/Fax ou '''Tél.''' - '''Fax''' : si n° différents --rem--><br />
{{ #ifeq: {{{Tél|}}} | {{{Fax|}}} | '''Tél./Fax''' : {{{Tél|}}} | '''Tél.''' {{#if: {{{Tél|}}} | {{{Tél|}}} | ''Pas de téléphone'' }} <br /> '''Fax :''' {{#if: {{{Fax|}}} | {{{Fax|}}} | ''Pas de télécopieur''}}}}<!--rem-- Tél/Fax ou '''Tél.''' - '''Fax''' : si n° différents --rem--><br />
'''Courriel :''' {{ #if: {{{Courriel|}}} | [mailto:{{{Courriel|}}} Contacter la mairie] | ''Pas d'adresse mel''}}<!-- Inscrire adresse courriel sans mailto: --><br />
'''Courriel :''' {{ #if: {{{Courriel|}}} | [mailto:{{{Courriel|}}} Contacter la mairie] | ''Pas d'adresse mel''}}<!-- Inscrire adresse courriel sans mailto: --><br />
'''Site internet :''' {{ #switch: {{{Siteweb|}}} | En construction = ''En construction'' | en construction = ''En construction'' | = ''Pas de site officiel'' | = ''Pas de site officiel'' | #default=[http://{{{Siteweb}}} Officiel] }}<br />
'''Site internet :''' {{ #switch: {{{Siteweb|}}}  
| En construction = ''En construction''  
| en construction = ''En construction''  
| = ''Pas de site officiel''  
| = ''Pas de site officiel''  
| #default={{#ifeq: {{Str left | {{{Siteweb}}} | 8}} | https:// | [{{{Siteweb}}} Officiel] | [http://{{{Siteweb}}} Officiel] }}}}<br />
'''Commentaire :''' {{{Commentaire|}}}<br />
'''Commentaire :''' {{{Commentaire|}}}<br />
<small>'''''Source :''''' {{{Source_site|}}} {{ #if: {{{Source_date|}}} | ({{{Source_date|}}})|}}</small>
<small>'''''Source :''''' {{{Source_site|}}} {{ #if: {{{Source_date|}}} | ({{{Source_date|}}})|}}</small>
|}
|}
|-
| style="background-color: #ddffdd; text-align: left;" | '''Mardi'''
| style="background-color: #f2f9f2;" | {{ #if: {{{Mar_mat|}}} | {{{Mar_mat|}}} [[Catégorie:Mairie ouverte le mardi matin]] | - }}
| style="background-color: #f2f9f2;" | {{ #if: {{{Mar_a-m|}}} | {{{Mar_a-m|}}} [[Catégorie:Mairie ouverte le mardi après-midi]] | - }}
|-
| style="background-color: #ddffdd; text-align: left;" | '''Mercredi'''
| style="background-color: #f2f9f2;" | {{ #if: {{{Mer_mat|}}} | {{{Mer_mat|}}} [[Catégorie:Mairie ouverte le mercredi matin]] | - }}
| style="background-color: #f2f9f2;" | {{ #if: {{{Mer_a-m|}}} | {{{Mer_a-m|}}} [[Catégorie:Mairie ouverte le mercredi après-midi]] | - }}
|-
| style="background-color: #ddffdd; text-align: left;" | '''Jeudi'''
| style="background-color: #f2f9f2;" | {{ #if: {{{Jeu_mat|}}} | {{{Jeu_mat|}}} [[Catégorie:Mairie ouverte le jeudi matin]] | - }}
| style="background-color: #f2f9f2;" | {{ #if: {{{Jeu_a-m|}}} | {{{Jeu_a-m|}}} [[Catégorie:Mairie ouverte le jeudi après-midi]] | - }}
|- align="center"
|- align="center"
| bgcolor="#DDFFDD" align="left" | '''Mardi'''
| style="background-color: #ddffdd; text-align: left;" | '''Vendredi'''
| bgcolor="#F2F9F2" | {{ #if: {{{Mar_mat|}}} | {{{Mar_mat|}}} | - }}
| style="background-color: #f2f9f2;" | {{ #if: {{{Ven_mat|}}} | {{{Ven_mat|}}} [[Catégorie:Mairie ouverte le vendredi matin]] | - }}
| bgcolor="#F2F9F2" | {{ #if: {{{Mar_a-m|}}} | {{{Mar_a-m|}}} | - }}
| style="background-color: #f2f9f2;" | {{ #if: {{{Ven_a-m|}}} | {{{Ven_a-m|}}} [[Catégorie:Mairie ouverte le vendredi après-midi]] | - }}
|- align="center"
| bgcolor="#DDFFDD" align="left" | '''Mercredi'''
| bgcolor="#F2F9F2" | {{ #if: {{{Mer_mat|}}} | {{{Mer_mat|}}} | - }}
| bgcolor="#F2F9F2" | {{ #if: {{{Mer_a-m|}}} | {{{Mer_a-m|}}} | - }}
|- align="center"
| bgcolor="#DDFFDD" align="left" | '''Jeudi'''
| bgcolor="#F2F9F2" | {{ #if: {{{Jeu_mat|}}} | {{{Jeu_mat|}}} | - }}
| bgcolor="#F2F9F2" | {{ #if: {{{Jeu_a-m|}}} | {{{Jeu_a-m|}}} | - }}
|- align="center"
| bgcolor="#DDFFDD" align="left" | '''Vendredi'''
| bgcolor="#F2F9F2" | {{ #if: {{{Ven_mat|}}} | {{{Ven_mat|}}} | - }}
| bgcolor="#F2F9F2" | {{ #if: {{{Ven_a-m|}}} | {{{Ven_a-m|}}} | - }}
|- align="center"
|- align="center"
| bgcolor="#DDFFDD" align="left" | '''Samedi'''
| style="background-color: #ddffdd; text-align: left;" | '''Samedi'''
| bgcolor="#F2F9F2" | {{ #if: {{{Sam_mat|}}} | {{{Sam_mat|}}} | - }}
| style="background-color: #f2f9f2;" | {{ #if: {{{Sam_mat|}}} | {{{Sam_mat|}}} [[Catégorie:Mairie ouverte le samedi matin]] | - }}
| bgcolor="#F2F9F2" | {{ #if: {{{Sam_a-m|}}} | {{{Sam_a-m|}}} | - }}
| style="background-color: #f2f9f2;" | {{ #if: {{{Sam_a-m|}}} | {{{Sam_a-m|}}} [[Catégorie:Mairie ouverte le samedi après-midi]] | - }}
|}
|}
</center>
</center>
[[Catégorie:Mairie géolocalisée]]<!--rem--
[[Catégorie:Mairie géolocalisée]]
--rem-->{{ #if: {{{Lun_mat|}}} | [[Catégorie:Mairie ouverte le lundi matin]] |}}<!--rem--
--rem-->{{ #if: {{{Lun_a-m|}}} | [[Catégorie:Mairie ouverte le lundi après-midi]] |}}<!--rem--
--rem-->{{ #if: {{{Mar_mat|}}} | [[Catégorie:Mairie ouverte le mardi matin]] |}}<!--rem--
--rem-->{{ #if: {{{Mar_a-m|}}} | [[Catégorie:Mairie ouverte le mardi après-midi]] |}}<!--rem--
--rem-->{{ #if: {{{Mer_mat|}}} | [[Catégorie:Mairie ouverte le mercredi matin]] |}}<!--rem--
--rem-->{{ #if: {{{Mer_a-m|}}} | [[Catégorie:Mairie ouverte le mercredi après-midi]] |}}<!--rem--
--rem-->{{ #if: {{{Jeu_mat|}}} | [[Catégorie:Mairie ouverte le jeudi matin]] |}}<!--rem--
--rem-->{{ #if: {{{Jeu_a-m|}}} | [[Catégorie:Mairie ouverte le jeudi après-midi]] |}}<!--rem--
--rem-->{{ #if: {{{Ven_mat|}}} | [[Catégorie:Mairie ouverte le vendredi matin]] |}}<!--rem--
--rem-->{{ #if: {{{Ven_a-m|}}} | [[Catégorie:Mairie ouverte le vendredi après-midi]] |}}<!--rem--
--rem-->{{ #if: {{{Sam_mat|}}} | [[Catégorie:Mairie ouverte le samedi matin]] |}}<!--rem--
--rem-->{{ #if: {{{Sam_a-m|}}} | [[Catégorie:Mairie ouverte le samedi après-midi]] |}}<!--rem--
--rem-->
</includeonly><noinclude>
</includeonly><noinclude>
<br clear="all" />[[Spécial:Pages_liées/Modèle:Infos mairie|Liste des pages qui utilisent le modèle '''Infos mairie''']]
<br clear="all" />{{Pages liées à ce modèle}}<br />
{{Purger le cache}}
{{Purger le cache}}
; Syntaxe
; Syntaxe
Ligne 88 : Ligne 80 :
}}
}}
</nowiki></pre>
</nowiki></pre>
{{Modèle:Infos_mairie
| Lun_mat= <!-- horaire du lundi matin ex : 9 h - 12 h 15 - pas de 00 (laisser vierge si mairie fermée) -->
| Lun_a-m= <!-- horaire du lundi après-midi ex 13 h 30 - 18 h - pas de 00 -->
| Mar_mat= <!-- horaire du mardi matin ex : 9 h - 12 h 15 - pas de 00 -->
| Mar_a-m= <!-- horaire du mardi après-midi ex 13 h 30 - 18 h - pas de 00 -->
| Mer_mat= <!-- horaire du mercredi matin ex : 9 h - 12 h 15 - pas de 00 -->
| Mer_a-m= <!-- horaire du mercredi après-midi ex 13 h 30 - 18 h - pas de 00 -->
| Jeu_mat= <!-- horaire du jeudi matin ex : 9 h - 12 h 15 - pas de 00 -->
| Jeu_a-m= <!-- horaire du jeudi après-midi ex 13 h 30 - 18 h - pas de 00 -->
| Ven_mat= <!-- horaire du vendredi matin ex : 9 h - 12 h 15 - pas de 00 -->
| Ven_a-m= <!-- horaire du vendredi après-midi ex 13 h 30 - 18 h - pas de 00 -->
| Sam_mat= <!-- horaire du samedi matin ex : 9 h - 12 h 15 - pas de 00 -->
| Sam_a-m= <!-- horaire du samedi après-midi ex 13 h 30 - 18 h - pas de 00 (laisser vierge si mairie fermée)-->
| Vue_mairie= <!-- image sous licence libre .jpg -->
| Libellé= <!--légende de l'image ==>
| Adresse= <!-- n°, voie nom de la voie - BP ... -->
| CP_commune= <!-- code postal commune -->
| Tél= <!-- 02 33 00 00 00 -->
| Fax= <!-- 02 33 00 00 00 si Tél/Fax saisir même n° que Tél -->
| Courriel= <!-- mairie.commune@fournisseur.xxx -->
| Siteweb= <!-- www.nomdusiteweb.xxx -->
| Commentaire= <!-- texte rédaction libre -->
| Source_site= <!-- texte ou lien web vers la source [http://sitesource.xxx texte libre]-->
| Source_date= <!-- date format jj/mm/aaaa ou j mmmm aaaa -->
}}
[[Catégorie:Modèle|{{PAGENAME}}]]
[[Catégorie:Modèle|{{PAGENAME}}]]
</noinclude>
</noinclude>

Dernière version du 21 janvier 2024 à 23:05


Liste des pages qui utilisent ce modèle
Cliquez ici pour purger le cache

Syntaxe

Pour insérer dans une page ce modèle, il suffit de copier coller le code ci-dessous, en complétant les champs :

=== Mairie ===
{{Modèle:Infos_mairie
| Lun_mat= <!-- horaire du lundi matin ex : 9 h - 12 h 15 - pas de 00 (laisser vierge si mairie fermée) -->
| Lun_a-m= <!-- horaire du lundi après-midi ex 13 h 30 - 18 h - pas de 00 -->
| Mar_mat= <!-- horaire du mardi matin ex : 9 h - 12 h 15 - pas de 00 -->
| Mar_a-m= <!-- horaire du mardi après-midi ex 13 h 30 - 18 h - pas de 00 -->
| Mer_mat= <!-- horaire du mercredi matin ex : 9 h - 12 h 15 - pas de 00 -->
| Mer_a-m= <!-- horaire du mercredi après-midi ex 13 h 30 - 18 h - pas de 00 -->
| Jeu_mat= <!-- horaire du jeudi matin ex : 9 h - 12 h 15 - pas de 00 -->
| Jeu_a-m= <!-- horaire du jeudi après-midi ex 13 h 30 - 18 h - pas de 00 -->
| Ven_mat= <!-- horaire du vendredi matin ex : 9 h - 12 h 15 - pas de 00 -->
| Ven_a-m= <!-- horaire du vendredi après-midi ex 13 h 30 - 18 h - pas de 00 -->
| Sam_mat= <!-- horaire du samedi matin ex : 9 h - 12 h 15 - pas de 00 -->
| Sam_a-m= <!-- horaire du samedi après-midi ex 13 h 30 - 18 h - pas de 00 (laisser vierge si mairie fermée)-->
| Vue_mairie= <!-- image sous licence libre .jpg -->
| Libellé= <!--légende de l'image ==>
| Adresse= <!-- n°, voie nom de la voie - BP ... -->
| CP_commune= <!-- code postal commune -->
| Tél= <!-- 02 33 00 00 00 -->
| Fax= <!-- 02 33 00 00 00 si Tél/Fax saisir même n° que Tél -->
| Courriel= <!-- mairie.commune@fournisseur.xxx -->
| Siteweb= <!-- www.nomdusiteweb.xxx -->
| Commentaire= <!-- texte rédaction libre -->
| Source_site= <!-- texte ou lien web vers la source [http://sitesource.xxx texte libre]-->
| Source_date= <!-- date format jj/mm/aaaa ou j mmmm aaaa -->
}}
Horaires d'ouverture
Jours Matin Après-midi Coordonnées de la mairie (Pour envoyer un mail et signaler une erreur cliquez ici)
Lundi - -
Image par défaut
Image par défaut

Importer une illustration de la mairie (aide)

Adresse :

Tél./Fax :
Courriel : Pas d'adresse mel
Site internet : Pas de site officiel
Commentaire :
Source :

Mardi - -
Mercredi - -
Jeudi - -
Vendredi - -
Samedi - -