Aller au contenu

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

De Éditions Indépendantes
mAucun résumé des modifications
mAucun résumé des modifications
Ligne 59 : Ligne 59 :
           }}</p>
           }}</p>
       }}
       }}
       <!-- Contacts (site, mail, téléphone) -->
       <!-- Contacts (site, mail, téléphone) -->{{BlocContact
      {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }}{{#show: {{FULLPAGENAME}} | ?E-mail }}{{#show: {{FULLPAGENAME}} | ?Telephone }} |
         | margin=0.4em 0 0 0
         <p style="margin:0.4em 0 0 0;">
        | prop_site=Site_web
          {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }} |
        | prop_mail=E-mail
            <strong>Site :</strong> {{#show: {{FULLPAGENAME}} | ?Site_web }}
        | prop_tel=Telephone
          }}
        | label_site=Site
          {{#if: {{#show: {{FULLPAGENAME}} | ?E-mail }} |
        | label_mail=Contact
            {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }} | &nbsp;•&nbsp; }}
        | label_tel=Téléphone
              <strong>Contact :</strong> {{#show: {{FULLPAGENAME}} | ?E-mail }}
      }}<!--
          }}
  --> <!-- Genres / sous-genres
          {{#if: {{#show: {{FULLPAGENAME}} | ?Telephone }} |
  --> {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }}{{#show: {{FULLPAGENAME}} | ?Sous_genres }} | <p style="margin:0.4em 0 0 0;">
            {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }}{{#show: {{FULLPAGENAME}} | ?E-mail }} | &nbsp;•&nbsp; }}
            <strong>Téléphone :</strong> {{#show: {{FULLPAGENAME}} | ?Telephone }}
          }}</p>
      }}
      <!-- Genres / sous-genres
  -->{{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }}{{#show: {{FULLPAGENAME}} | ?Sous_genres }} | <p style="margin:0.4em 0 0 0;">
           {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }} | <strong>Genres éditoriaux :</strong> {{#show: {{FULLPAGENAME}} | ?Genres_publies | link=all | sep= ; }}<br />
           {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }} | <strong>Genres éditoriaux :</strong> {{#show: {{FULLPAGENAME}} | ?Genres_publies | link=all | sep= ; }}<br />
           }}
           }}
Ligne 137 : Ligne 131 :
   }}
   }}
   <!-- Réseaux sociaux (icônes) --> {{BlocReseauxSociauxIcones}}  
   <!-- Réseaux sociaux (icônes) --> {{BlocReseauxSociauxIcones}}  
   <!-- Flux RSS éventuel
   <!-- Flux RSS --> {{BlocFluxRSS | prop=Flux_RSS | titre=Actualités récentes | max=5 | margin_h3=0.8em }}
--> {{#vardefine:flux_rss|{{#show: {{FULLPAGENAME}} | ?Flux_RSS | link=none }}}}
   <!-- Galerie d’images -->{{BlocGalerieImages | titre=Galerie | prop1=Galerie_1 | prop2=Galerie_2 | prop3=Galerie_3 | size=220px | margin_h3=0.8em }}
  {{#if: {{#var:flux_rss}} | <h3 style="margin-top:0.8em;">Actualités récentes</h3>{{#tag:rss|{{#var:flux_rss}}|max=5}}
  }}
  <!-- Vidéo de présentation
-->  {{#if: {{#show: {{FULLPAGENAME}} | ?Video }} | <h3 style="margin-top:0.8em;">Vidéo de présentation</h3>
    {{#ev:youtube
      | {{#show: {{FULLPAGENAME}} | ?Video | link=none }}
      | 560x315
      | center
    }}
  }}
   <!-- Galerie d’images
--> {{#if: {{#show: {{FULLPAGENAME}} | ?Galerie_1 }} {{#show: {{FULLPAGENAME}} | ?Galerie_2 }} {{#show: {{FULLPAGENAME}} | ?Galerie_3 }} | <h3 style="margin-top:0.8em;">Galerie</h3>
    <ul style="list-style-type:none; margin:0; padding:0;">
      {{#if: {{#show: {{FULLPAGENAME}} | ?Galerie_1 }} | <li style="display:inline-block; margin-right:0.5em; padding:0;"> [[File:{{#show: {{FULLPAGENAME}} | ?Galerie_1 }}|220px|alt=Image 1 de {{#show: {{FULLPAGENAME}} | ?Nom }}]]</li>
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Galerie_2 }} | <li style="display:inline-block; margin-right:0.5em; padding:0;"> [[File:{{#show: {{FULLPAGENAME}} | ?Galerie_2 }}|220px|alt=Image 2 de {{#show: {{FULLPAGENAME}} | ?Nom }}]]</li>
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Galerie_3 }} | <li style="display:inline-block; margin-right:0.5em; padding:0;"> [[File:{{#show: {{FULLPAGENAME}} | ?Galerie_3 }}|220px|alt=Image 3 de {{#show: {{FULLPAGENAME}} | ?Nom }}]]</li>
      }}
    </ul>
  }}
   <!-- aperçu du catalogue
   <!-- aperçu du catalogue
  --> <h2 style="margin-top:0.9em; margin-bottom:0.2em;">Catalogue</h2>
  --> <h2 style="margin-top:0.9em; margin-bottom:0.2em;">Catalogue</h2>

Version du 6 février 2026 à 17:49


(Documentation.)