Aller au contenu

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

De Éditions Indépendantes
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>
{{#if:{{#show: {{FULLPAGENAME}} | ?Photo}}
<div class="fiche-auteur-complet" style="margin-top:0.2em; margin-bottom:2em;">
|[[File:{{#show: {{FULLPAGENAME}} | ?Photo}}|200px|alt=Portrait de {{#show: {{FULLPAGENAME}} | ?Nom_plume}}]]
}}


{{#if:{{#show: {{FULLPAGENAME}} | ?Nom_plume}}
  <!-- Bloc haut : 2 colonnes (infos + photo) -->
|'''Nom de plume :''' {{#show: {{FULLPAGENAME}} | ?Nom_plume}}{{#if:{{#show: {{FULLPAGENAME}} | ?Annee_naissance}}{{#show: {{FULLPAGENAME}} | ?Annee_deces}}|&nbsp;({{#show: {{FULLPAGENAME}} | ?Annee_naissance}}–{{#show: {{FULLPAGENAME}} | ?Annee_deces}})}}<br />
  <div style="display:flex; align-items:flex-start; gap:1em; flex-wrap:wrap;">
'''Nom :''' {{#show: {{FULLPAGENAME}} | ?Prenom}} {{#show: {{FULLPAGENAME}} | ?Nom}}<br />
|'''Nom :''' {{#show: {{FULLPAGENAME}} | ?Prenom}} {{#show: {{FULLPAGENAME}} | ?Nom}}{{#if:{{#show: {{FULLPAGENAME}} | ?Annee_naissance}}{{#show: {{FULLPAGENAME}} | ?Annee_deces}}|&nbsp;({{#show: {{FULLPAGENAME}} | ?Annee_naissance}}–{{#show: {{FULLPAGENAME}} | ?Annee_deces}})}}<br />
}}


'''Nationalité :''' {{#show: {{FULLPAGENAME}} | ?Nationalite}}<br />
    <!-- Colonne gauche : informations texte -->
'''Rôles :''' {{#show: {{FULLPAGENAME}} | ?Roles}}<br />
    <div style="flex:2; min-width:260px;">
  <!-- Numéro ISNI -->
 
  <h3 style="margin-top:0.8em;">Identifiants</h3>
      <!-- Nom / nom de plume + dates -->
  <p style="margin:0.2em 0 0 0;">
      {{#if:{{#show: {{FULLPAGENAME}} | ?Nom_plume}}|
    <strong>Numéro ISNI :</strong>
        <!-- Avec nom de plume -->
    {{#if: {{#show: {{FULLPAGENAME}} | ?ISNI }} |
        <p style="margin:0;">
      [https://isni.org/isni/{{#show: {{FULLPAGENAME}} | ?ISNI }}
          <strong>Nom de plume :</strong>
      {{#show: {{FULLPAGENAME}} | ?ISNI }}]
          {{#show: {{FULLPAGENAME}} | ?Nom_plume}}
      |
          {{#if:{{#show: {{FULLPAGENAME}} | ?Annee_naissance}}{{#show: {{FULLPAGENAME}} | ?Annee_deces}}|
      &nbsp;–
            &nbsp;({{#show: {{FULLPAGENAME}} | ?Annee_naissance}}–{{#show: {{FULLPAGENAME}} | ?Annee_deces}})
          }}
          <br />
          <strong>Nom :</strong>
          {{#show: {{FULLPAGENAME}} | ?Prenom}} {{#show: {{FULLPAGENAME}} | ?Nom}}
        </p>
        |
        <!-- Sans nom de plume -->
        <p style="margin:0;">
          <strong>Nom :</strong>
          {{#show: {{FULLPAGENAME}} | ?Prenom}} {{#show: {{FULLPAGENAME}} | ?Nom}}
          {{#if:{{#show: {{FULLPAGENAME}} | ?Annee_naissance}}{{#show: {{FULLPAGENAME}} | ?Annee_deces}}|
            &nbsp;({{#show: {{FULLPAGENAME}} | ?Annee_naissance}}–{{#show: {{FULLPAGENAME}} | ?Annee_deces}})
          }}
        </p>
      }}
 
      <!-- Nationalité / rôles -->
      {{#if: {{#show: {{FULLPAGENAME}} | ?Nationalite}}{{#show: {{FULLPAGENAME}} | ?Roles}} |
        <p style="margin:0.4em 0 0 0;">
          {{#if: {{#show: {{FULLPAGENAME}} | ?Nationalite}} |
            <strong>Nationalité :</strong>
            {{#show: {{FULLPAGENAME}} | ?Nationalite}}<br />
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Roles}} |
            <strong>Rôles :</strong>
            {{#show: {{FULLPAGENAME}} | ?Roles}}<br />
          }}
        </p>
      }}
 
      <!-- Numéro ISNI -->
      <p style="margin:0.4em 0 0 0;">
        <strong>Numéro ISNI :</strong>
        {{#if: {{#show: {{FULLPAGENAME}} | ?ISNI }} |
          [https://isni.org/isni/{{#show: {{FULLPAGENAME}} | ?ISNI }}
          {{#show: {{FULLPAGENAME}} | ?ISNI }}]
          |
          &nbsp;–
        }}
      </p>
 
      <!-- Site web -->
      {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web}} |
        <p style="margin:0.4em 0 0 0;">
          <strong>Site web :</strong>
          {{#show: {{FULLPAGENAME}} | ?Site_web}}
        </p>
      }}
    </div> <!-- fin colonne gauche -->
    <!-- Colonne droite : photo (même principe que les cartouches) -->
    {{#if:{{#show: {{FULLPAGENAME}} | ?Photo}}|
      <div style="flex:1; min-width:180px; text-align:right;">
        <ul style="list-style-type:none; margin:0; padding:0;">
          <li style="list-style-type:none; margin:0; padding:0;">
            [[File:{{#show: {{FULLPAGENAME}} | ?Photo}}|200px
              |alt=Portrait de {{#if:{{#show: {{FULLPAGENAME}} | ?Nom_plume}}|
                                  {{#show: {{FULLPAGENAME}} | ?Nom_plume}}|
                                  {{#show: {{FULLPAGENAME}} | ?Prenom}} {{#show: {{FULLPAGENAME}} | ?Nom}}}}
            ]]
          </li>
        </ul>
      </div>
     }}
     }}
   </p>
   </div> <!-- fin bloc flex haut -->
 
'''Site web :''' {{#show: {{FULLPAGENAME}} | ?Site_web}}<br />


   <!-- Réseaux sociaux (icônes) -->
   <!-- Réseaux sociaux (icônes) -->
Ligne 56 : Ligne 111 :
     </p>
     </p>
   }}
   }}
 
  <!-- Biographie -->
 
  {{#if:{{#show: {{FULLPAGENAME}} | ?Biographie}}|
 
    <h3 style="margin-top:0.8em;">Biographie</h3>
{{#if:{{#show: {{FULLPAGENAME}} | ?Biographie}}
    <p>{{#show: {{FULLPAGENAME}} | ?Biographie}}</p>
|'''Biographie :''' {{#show: {{FULLPAGENAME}} | ?Biographie}}
  }}
}}
  <!-- Ouvrages répertoriés -->
 
  {{#ask:
{{#ask:
    [[Catégorie:Livres]]
[[Catégorie:Livres]]
    [[Auteurs::~*{{#show: {{FULLPAGENAME}} | ?Nom_plume}}*]]
[[Auteurs::~*{{#show: {{FULLPAGENAME}} | ?Nom_plume}}*]]
    | ?Titre
| ?Titre
    | ?Maison_edition
| ?Maison_edition
    | sort=Titre,Maison_edition
| sort=Titre,Maison_edition
    | order=ascending
| order=ascending
    | format=template
| format=template
    | template=FicheLivreNom
| template=FicheLivreNom
    | link=none
| link=none
    | intro=<h3 style="margin-top:0.8em;">Ouvrages répertoriés</h3><ul class="liste-livres-auteur" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;">
| intro=<h3 style="margin-top:0.8em;">Ouvrages répertoriés</h3><ul class="liste-livres-auteur" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;">
    | outro=</ul>
| outro=</ul>
    | limit=500
| limit=500
  }}
}}
</div>
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Version du 28 novembre 2025 à 20:08


(Documentation.)