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 1 : Ligne 1 :
<includeonly><div class="fiche-maison-complet" style="margin-top:0.2em; margin-bottom:2em;">
<includeonly><div class="fiche-maison-complet" style="margin-top:0.1em; margin-bottom:1em;">
  <!-- Bloc principal en 2 colonnes : texte à gauche, logo à droite -->
  <div style="display:flex; align-items:flex-start; gap:1.5em;">


  <!-- Titre + logo -->
    <!-- Colonne gauche : informations texte -->
  <div style="display:flex; align-items:flex-start; justify-content:space-between; gap:1em;">
    <div style="flex:2;">
    <div style="flex:1;">
 
      <!-- Nom, nom légal, structure parente -->
       <p style="margin:0;">
       <p style="margin:0;">
         <strong>{{#show: {{FULLPAGENAME}} | ?Nom }}</strong>
         <strong>{{#show: {{FULLPAGENAME}} | ?Nom }}</strong>
       </p>
       </p>
      {{#if: {{#show: {{FULLPAGENAME}} | ?Nom_legal }} |
        {{#ifeq: {{#show: {{FULLPAGENAME}} | ?Nom_legal }} | {{#show: {{FULLPAGENAME}} | ?Nom }} | |
          <p style="margin:0.15em 0 0 0;">
            <strong>Nom légal :</strong> {{#show: {{FULLPAGENAME}} | ?Nom_legal }}
          </p>
        }}
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Structure_parente }} |
        <p style="margin:0.15em 0 0 0;">
          <strong>Structure parente :</strong> {{#show: {{FULLPAGENAME}} | ?Structure_parente }}
        </p>
      }}
      <!-- Année de création + statut juridique sur la même ligne -->
      {{#if: {{#show: {{FULLPAGENAME}} | ?Annee_creation }}{{#show: {{FULLPAGENAME}} | ?Statut_juridique }} |
        <p style="margin:0.4em 0 0 0;">
          {{#if: {{#show: {{FULLPAGENAME}} | ?Annee_creation }} |
            <strong>Année de création :</strong> {{#show: {{FULLPAGENAME}} | ?Annee_creation }}
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Statut_juridique }} |
            {{#if: {{#show: {{FULLPAGENAME}} | ?Annee_creation }} | &nbsp;•&nbsp; }}
            <strong>Statut juridique :</strong> {{#show: {{FULLPAGENAME}} | ?Statut_juridique }}
          }}
        </p>
      }}
      <!-- Adresse complète + région / département entre parenthèses -->
      {{#if: {{#show: {{FULLPAGENAME}} | ?Adresse_complete }}{{#show: {{FULLPAGENAME}} | ?Ville }}{{#show: {{FULLPAGENAME}} | ?Pays }} |
        <p style="margin:0.4em 0 0 0;">
          <strong>Adresse :</strong>
          {{#show: {{FULLPAGENAME}} | ?Adresse_complete }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Code_postal }} |
            , {{#show: {{FULLPAGENAME}} | ?Code_postal }}
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Ville }} |
            {{#if: {{#show: {{FULLPAGENAME}} | ?Code_postal }} |  | , }} {{#show: {{FULLPAGENAME}} | ?Ville }}
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Pays }} |
            – {{#show: {{FULLPAGENAME}} | ?Pays }}
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Region }}{{#show: {{FULLPAGENAME}} | ?Departement }} |
            &nbsp;(
            {{#if: {{#show: {{FULLPAGENAME}} | ?Region }} |
              <strong>Région :</strong> {{#show: {{FULLPAGENAME}} | ?Region }}
            }}
            {{#if: {{#show: {{FULLPAGENAME}} | ?Departement }} |
              {{#if: {{#show: {{FULLPAGENAME}} | ?Region }} | , }}
              <strong>Département :</strong> {{#show: {{FULLPAGENAME}} | ?Departement }}
            }}
            )
          }}
        </p>
      }}
      <!-- Racine ISBN + N° Dilicom -->
      {{#if: {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }}{{#show: {{FULLPAGENAME}} | ?Numero_DILICOM }} |
        <p style="margin:0.4em 0 0 0;">
          {{#if: {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }} |
            <strong>Racine ISBN :</strong> {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }}
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Numero_DILICOM }} |
            {{#if: {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }} | &nbsp;•&nbsp; }}
            <strong>N° Dilicom :</strong> {{#show: {{FULLPAGENAME}} | ?Numero_DILICOM }}
          }}
        </p>
      }}
      <!-- Éditeurs, dirigeants, propriétaires -->
      {{#if: {{#show: {{FULLPAGENAME}} | ?Editeurs }} |
        <p style="margin:0.4em 0 0 0;">
          <strong>Éditeurs :</strong> {{#show: {{FULLPAGENAME}} | ?Editeurs }}
        </p>
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Dirigeants }} |
        <p style="margin:0.15em 0 0 0;">
          <strong>Dirigeants :</strong> {{#show: {{FULLPAGENAME}} | ?Dirigeants }}
        </p>
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Proprietaire }} |
        <p style="margin:0.15em 0 0 0;">
          <strong>Propriétaires :</strong> {{#show: {{FULLPAGENAME}} | ?Proprietaire }}
        </p>
      }}
      <!-- Site web, mail de contact, téléphone -->
      {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }}{{#show: {{FULLPAGENAME}} | ?E-mail }}{{#show: {{FULLPAGENAME}} | ?Telephone }} |
        <p style="margin:0.6em 0 0 0;">
          {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }} |
            <strong>Site :</strong> {{#show: {{FULLPAGENAME}} | ?Site_web }}<br />
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?E-mail }} |
            <strong>Contact :</strong> {{#show: {{FULLPAGENAME}} | ?E-mail }}<br />
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Telephone }} |
            <strong>Téléphone :</strong> {{#show: {{FULLPAGENAME}} | ?Telephone }}<br />
          }}
        </p>
      }}
      <!-- 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 }} |
        <p style="margin:0.6em 0 0 0;">
          {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }} |
            <strong>Genres éditoriaux :</strong> {{#show: {{FULLPAGENAME}} | ?Genres_publies }}<br />
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Titres_au_catalogue }} |
            <strong>Nombre de titres au catalogue :</strong> {{#show: {{FULLPAGENAME}} | ?Titres_au_catalogue }}<br />
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Nouveautes_par_an }} |
            <strong>Nombre de nouveautés par an :</strong> {{#show: {{FULLPAGENAME}} | ?Nouveautes_par_an }}<br />
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Diffuseur }} |
            <strong>Diffuseur :</strong> {{#show: {{FULLPAGENAME}} | ?Diffuseur }}<br />
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Distributeur }} |
            <strong>Distributeur :</strong> {{#show: {{FULLPAGENAME}} | ?Distributeur }}<br />
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Autodiffusion }} |
            <strong>Diffusion autonome :</strong> {{#show: {{FULLPAGENAME}} | ?Autodiffusion }}<br />
          }}
        </p>
      }}
     </div>
     </div>


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


   <!-- Statut + année de création -->
   <!-- Retour à une colonne -->
  <p style="margin:0.2em 0 0 0;">
    {{#if: {{#show: {{FULLPAGENAME}} | ?Statut_juridique }} |
      <strong>Statut :</strong> {{#show: {{FULLPAGENAME}} | ?Statut_juridique }}
    }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?Annee_creation }} |
      {{#if: {{#show: {{FULLPAGENAME}} | ?Statut_juridique }} | &nbsp;•&nbsp; }}
      <strong>Année de création :</strong> {{#show: {{FULLPAGENAME}} | ?Annee_creation }}
    }}
  </p>
 
  <!-- Adresse + localisation -->
  <p style="margin:0.4em 0 0 0;">
    {{#show: {{FULLPAGENAME}} | ?Adresse_complete }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?Code_postal }} |
      , {{#show: {{FULLPAGENAME}} | ?Code_postal }}
    }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?Ville }} |
      {{#if: {{#show: {{FULLPAGENAME}} | ?Code_postal }} |  | , }} {{#show: {{FULLPAGENAME}} | ?Ville }}
    }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?Pays }} |
      – {{#show: {{FULLPAGENAME}} | ?Pays }}
    }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?Region }} |
      <br /><strong>Région :</strong> {{#show: {{FULLPAGENAME}} | ?Region }}
    }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?Departement }} |
      &nbsp;(<strong>Département :</strong> {{#show: {{FULLPAGENAME}} | ?Departement }})
    }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?Numero_Dilicom }} |
      <br /><strong>N° Dilicom :</strong> {{#show: {{FULLPAGENAME}} | ?Numero_Dilicom }}
    }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }} |
      &nbsp;– <strong>Racine ISBN :</strong> {{#show: {{FULLPAGENAME}} | ?Racine_ISBN }}
    }}
  </p>
 
  <!-- Site, contact, téléphone, genres éditoriaux -->
  <p style="margin:0.2em 0 0 0;">
    {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }} |
      <strong>Site :</strong> {{#show: {{FULLPAGENAME}} | ?Site_web }}<br />
    }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?E-mail }} |
      <strong>Contact :</strong> {{#show: {{FULLPAGENAME}} | ?E-mail }}<br />
    }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?Telephone }} |
      <strong>Téléphone :</strong> {{#show: {{FULLPAGENAME}} | ?Telephone }}<br />
    }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?Reseaux_sociaux }} |
      <strong>Réseaux sociaux :</strong> {{#show: {{FULLPAGENAME}} | ?Reseaux_sociaux }}<br />
    }}
    {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }} |
      <strong>Genres éditoriaux :</strong> {{#show: {{FULLPAGENAME}} | ?Genres_publies }}
    }}
  </p>


   <!-- Présentation -->
   <!-- Présentation -->
   {{#if: {{#show: {{FULLPAGENAME}} | ?Presentation }} |
   {{#if: {{#show: {{FULLPAGENAME}} | ?Presentation }} |
     <h3 style="margin-top:0.8em;">Présentation</h3>
     <h3 style="margin-top:1em;">Présentation</h3>
     <p>{{#show: {{FULLPAGENAME}} | ?Presentation }}</p>
     <p>{{#show: {{FULLPAGENAME}} | ?Presentation }}</p>
   }}
   }}
Ligne 84 : Ligne 162 :
   }}
   }}


   <!-- Associations / réseaux -->
   <!-- Politique de manuscrits -->
   {{#if: {{#show: {{FULLPAGENAME}} | ?Membre_de }} |
   {{#if: {{#show: {{FULLPAGENAME}} | ?Manuscrits }} |
     <h3 style="margin-top:0.8em;">Associations et réseaux</h3>
     <h3 style="margin-top:0.8em;">Politique de manuscrits</h3>
     <ul>
     <p>{{#show: {{FULLPAGENAME}} | ?Manuscrits }}</p>
      <li>{{#show: {{FULLPAGENAME}}
                  | ?Membre_de
                  | link=all
                  | sep=</li><li> }}</li>
    </ul>
   }}
   }}


   <!-- Diffusion / distribution (affiché uniquement si au moins une propriété est renseignée) -->
   <!-- Ici, on ajoutera ensuite : réseaux sociaux détaillés, RSS, galerie, vidéo -->
  {{#if:{{#show: {{FULLPAGENAME}} | ?Diffuseur}}{{#show: {{FULLPAGENAME}} | ?Distributeur}}{{#show: {{FULLPAGENAME}} | ?Autodiffusion}}|
    <h3 style="margin-top:0.8em;">Diffusion / distribution</h3>
    <p style="margin:0.2em 0 0 0;">
      {{#if: {{#show: {{FULLPAGENAME}} | ?Diffuseur }} |
        <strong>Diffuseur :</strong> {{#show: {{FULLPAGENAME}} | ?Diffuseur }}<br />
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Distributeur }} |
        <strong>Distributeur :</strong> {{#show: {{FULLPAGENAME}} | ?Distributeur }}<br />
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Autodiffusion }} |
        <strong>Autodiffusion :</strong> {{#show: {{FULLPAGENAME}} | ?Autodiffusion }}<br />
      }}
    </p>
  }}


   <!-- Lien vers la page de catalogue -->
   <!-- Catalogue -->
   <h3 style="margin-top:0.8em;">Catalogue</h3>
   <h3 style="margin-top:0.8em;">Catalogue</h3>
   <p>
   <p>
Ligne 117 : Ligne 176 :
   </p>
   </p>


   <!-- Auteurs publiés par cette maison -->
   <!-- Auteurs publiés -->
   <h3 style="margin-top:0.8em;">Auteurs publiés</h3>
   <h3 style="margin-top:0.8em;">Auteurs publiés</h3>
   {{#ask:
   {{#ask:

Version du 24 novembre 2025 à 12:57


(Documentation.)