Aller au contenu

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

De Éditions Indépendantes
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 6 : Ligne 6 :
     <div style="flex:2;">
     <div style="flex:2;">


       <!-- Nom, nom légal, structure parente -->
       <!-- Nom + nom légal éventuel sur la même ligne -->
       <p style="margin:0;">
       <h2 style="margin:0;">
         <strong>{{#show: {{FULLPAGENAME}} | ?Nom }}</strong>
         {{#show: {{FULLPAGENAME}} | ?Nom }}
      </p>
        {{#if: {{#show: {{FULLPAGENAME}} | ?Nom_legal }} |
 
          {{#ifeq: {{#show: {{FULLPAGENAME}} | ?Nom_legal }} | {{#show: {{FULLPAGENAME}} | ?Nom }} |
      {{#if: {{#show: {{FULLPAGENAME}} | ?Nom_legal }} |
            <!-- même valeur, on n’affiche rien -->
        {{#ifeq: {{#show: {{FULLPAGENAME}} | ?Nom_legal }} | {{#show: {{FULLPAGENAME}} | ?Nom }} | |
             |
          <p style="margin:0.15em 0 0 0;">
            &nbsp;({{#show: {{FULLPAGENAME}} | ?Nom_legal }})
             <strong>Nom légal :</strong> {{#show: {{FULLPAGENAME}} | ?Nom_legal }}
           }}
           </p>
         }}
         }}
       }}
       </h2>


      <!-- Structure parente (si présente) -->
       {{#if: {{#show: {{FULLPAGENAME}} | ?Structure_parente }} |
       {{#if: {{#show: {{FULLPAGENAME}} | ?Structure_parente }} |
         <p style="margin:0.15em 0 0 0;">
         <div style="margin-top:0.25em;">
           <strong>Structure parente :</strong> {{#show: {{FULLPAGENAME}} | ?Structure_parente }}
           <strong>Structure parente :</strong> {{#show: {{FULLPAGENAME}} | ?Structure_parente }}
         </p>
         </div>
       }}
       }}


       <!-- Année de création + statut juridique sur la même ligne -->
       <!-- Année de création + statut juridique sur la même ligne -->
       {{#if: {{#show: {{FULLPAGENAME}} | ?Annee_creation }}{{#show: {{FULLPAGENAME}} | ?Statut_juridique }} |
       {{#if: {{#show: {{FULLPAGENAME}} | ?Annee_creation }}{{#show: {{FULLPAGENAME}} | ?Statut_juridique }} |
         <p style="margin:0.4em 0 0 0;">
         <div style="margin-top:0.4em;">
           {{#if: {{#show: {{FULLPAGENAME}} | ?Annee_creation }} |
           {{#if: {{#show: {{FULLPAGENAME}} | ?Annee_creation }} |
             <strong>Année de création :</strong> {{#show: {{FULLPAGENAME}} | ?Annee_creation }}
             <strong>Année de création :</strong> {{#show: {{FULLPAGENAME}} | ?Annee_creation }}
Ligne 35 : Ligne 35 :
             <strong>Statut juridique :</strong> {{#show: {{FULLPAGENAME}} | ?Statut_juridique }}
             <strong>Statut juridique :</strong> {{#show: {{FULLPAGENAME}} | ?Statut_juridique }}
           }}
           }}
         </p>
         </div>
       }}
       }}


       <!-- Adresse complète + région / département entre parenthèses -->
       <!-- Adresse + région / département entre parenthèses -->
       {{#if: {{#show: {{FULLPAGENAME}} | ?Adresse_complete }}{{#show: {{FULLPAGENAME}} | ?Ville }}{{#show: {{FULLPAGENAME}} | ?Pays }} |
       {{#if: {{#show: {{FULLPAGENAME}} | ?Adresse_complete }}{{#show: {{FULLPAGENAME}} | ?Ville }}{{#show: {{FULLPAGENAME}} | ?Pays }} |
         <p style="margin:0.4em 0 0 0;">
         <div style="margin-top:0.4em;">
           <strong>Adresse :</strong>
           <strong>Adresse :</strong>
           {{#show: {{FULLPAGENAME}} | ?Adresse_complete }}
           {{#show: {{FULLPAGENAME}} | ?Adresse_complete }}
Ligne 63 : Ligne 63 :
             )
             )
           }}
           }}
         </p>
         </div>
       }}
       }}


       <!-- Racine ISBN + N° Dilicom -->
       <!-- Racine ISBN + N° Dilicom -->
       {{#if: {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }}{{#show: {{FULLPAGENAME}} | ?Numero_DILICOM }} |
       {{#if: {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }}{{#show: {{FULLPAGENAME}} | ?Numero_DILICOM }} |
         <p style="margin:0.4em 0 0 0;">
         <div style="margin-top:0.4em;">
           {{#if: {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }} |
           {{#if: {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }} |
             <strong>Racine ISBN :</strong> {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }}
             <strong>Racine ISBN :</strong> {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }}
Ligne 76 : Ligne 76 :
             <strong>N° Dilicom :</strong> {{#show: {{FULLPAGENAME}} | ?Numero_DILICOM }}
             <strong>N° Dilicom :</strong> {{#show: {{FULLPAGENAME}} | ?Numero_DILICOM }}
           }}
           }}
         </p>
         </div>
       }}
       }}


       <!-- Éditeurs, dirigeants, propriétaires -->
       <!-- Éditeurs, dirigeants, propriétaires -->
       {{#if: {{#show: {{FULLPAGENAME}} | ?Editeurs }} |
       {{#if: {{#show: {{FULLPAGENAME}} | ?Editeurs }} |
         <p style="margin:0.4em 0 0 0;">
         <div style="margin-top:0.6em;">
           <strong>Éditeurs :</strong> {{#show: {{FULLPAGENAME}} | ?Editeurs }}
           <strong>Éditeurs :</strong> {{#show: {{FULLPAGENAME}} | ?Editeurs }}
         </p>
         </div>
       }}
       }}


       {{#if: {{#show: {{FULLPAGENAME}} | ?Dirigeants }} |
       {{#if: {{#show: {{FULLPAGENAME}} | ?Dirigeants }} |
         <p style="margin:0.15em 0 0 0;">
         <div style="margin-top:0.15em;">
           <strong>Dirigeants :</strong> {{#show: {{FULLPAGENAME}} | ?Dirigeants }}
           <strong>Dirigeants :</strong> {{#show: {{FULLPAGENAME}} | ?Dirigeants }}
         </p>
         </div>
       }}
       }}


       {{#if: {{#show: {{FULLPAGENAME}} | ?Proprietaire }} |
       {{#if: {{#show: {{FULLPAGENAME}} | ?Proprietaire }} |
         <p style="margin:0.15em 0 0 0;">
         <div style="margin-top:0.15em;">
           <strong>Propriétaires :</strong> {{#show: {{FULLPAGENAME}} | ?Proprietaire }}
           <strong>Propriétaires :</strong> {{#show: {{FULLPAGENAME}} | ?Proprietaire }}
         </p>
         </div>
       }}
       }}


       <!-- Site web, mail de contact, téléphone -->
       <!-- Site web, mail de contact, téléphone -->
       {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }}{{#show: {{FULLPAGENAME}} | ?E-mail }}{{#show: {{FULLPAGENAME}} | ?Telephone }} |
       {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }}{{#show: {{FULLPAGENAME}} | ?E-mail }}{{#show: {{FULLPAGENAME}} | ?Telephone }} |
         <p style="margin:0.6em 0 0 0;">
         <div style="margin-top:0.6em;">
           {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }} |
           {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }} |
             <strong>Site :</strong> {{#show: {{FULLPAGENAME}} | ?Site_web }}<br />
             <strong>Site :</strong> {{#show: {{FULLPAGENAME}} | ?Site_web }}<br />
Ligne 110 : Ligne 110 :
             <strong>Téléphone :</strong> {{#show: {{FULLPAGENAME}} | ?Telephone }}<br />
             <strong>Téléphone :</strong> {{#show: {{FULLPAGENAME}} | ?Telephone }}<br />
           }}
           }}
         </p>
         </div>
       }}
       }}


       <!-- Genres éditoriaux, volumes de catalogue, diffusion / distribution -->
       <!-- Genres éditoriaux, volumes de catalogue, diffusion / distribution -->
       {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }}{{#show: {{FULLPAGENAME}} | ?Titres_au_catalogue }}{{#show: {{FULLPAGENAME}} | ?Nouveautes_par_an }}{{#show: {{FULLPAGENAME}} | ?Diffuseur }}{{#show: {{FULLPAGENAME}} | ?Distributeur }}{{#show: {{FULLPAGENAME}} | ?Autodiffusion }} |
       {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }}{{#show: {{FULLPAGENAME}} | ?Titres_au_catalogue }}{{#show: {{FULLPAGENAME}} | ?Nouveautes_par_an }}{{#show: {{FULLPAGENAME}} | ?Diffuseur }}{{#show: {{FULLPAGENAME}} | ?Distributeur }}{{#show: {{FULLPAGENAME}} | ?Autodiffusion }} |
         <p style="margin:0.6em 0 0 0;">
         <div style="margin-top:0.6em;">
           {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }} |
           {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }} |
             <strong>Genres éditoriaux :</strong> {{#show: {{FULLPAGENAME}} | ?Genres_publies }}<br />
             <strong>Genres éditoriaux :</strong> {{#show: {{FULLPAGENAME}} | ?Genres_publies }}<br />
Ligne 134 : Ligne 134 :
             <strong>Diffusion autonome :</strong> {{#show: {{FULLPAGENAME}} | ?Autodiffusion }}<br />
             <strong>Diffusion autonome :</strong> {{#show: {{FULLPAGENAME}} | ?Autodiffusion }}<br />
           }}
           }}
         </p>
         </div>
       }}
       }}


     </div>
     </div>


     <!-- Colonne droite : logo, sans cadre -->
     <!-- Colonne droite : logo, sans cadre (via classe CSS) -->
     <div style="flex:1; text-align:right;">
     <div style="flex:1; text-align:right;">
       {{#if: {{#show: {{FULLPAGENAME}} | ?Logo }} |
       {{#if: {{#show: {{FULLPAGENAME}} | ?Logo }} |
         [[File:{{#show: {{FULLPAGENAME}} | ?Logo | link=none }}|200px|alt=Logo de {{#show: {{FULLPAGENAME}} | ?Nom }}]]
         [[File:{{#show: {{FULLPAGENAME}} | ?Logo | link=none }}|200px
          |class=logo-maison
          |alt=Logo de {{#show: {{FULLPAGENAME}} | ?Nom }}
        ]]
       }}
       }}
     </div>
     </div>

Version du 24 novembre 2025 à 15:30


(Documentation.)