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

Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>


<!-- ========================= -->
<!-- ====== STYLING SPECIFIEK VOOR ARTISTE ====== -->
<!--  IMAGE BOVEN (Q1230-STIJL) -->
<style>
<!-- ========================= -->
/* wrapper zoals bij de Q-pagina's */
.pageArtiste {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: 24px 0;
}


<div class="artiste-portrait" style="margin:20px 0;">
/* foto-blok */
{{#if:{{{thumbnail|}}}
.pageArtiste .artiste-portrait {
| [[File:{{{thumbnail}}}|300px]]
  flex: 0 0 auto;
| {{#if:{{#statements:P18|from={{{wikidata|}}}}}
}
    | [[File:{{#statements:P18|from={{{wikidata|}}}}}|300px]]
 
  }}
.pageArtiste .artiste-portrait img {
}}
  max-width: 260px;
</div>
  height: auto;
  border: 1px solid #ddd;
  padding: 2px;
}
 
/* strakke infobox-tabel */
.pageArtiste table.artiste-infobox {
  border-collapse: collapse;
  min-width: 420px;
  max-width: 600px;
  border: none;
}
 
.pageArtiste table.artiste-infobox th,
.pageArtiste table.artiste-infobox td {
  border-bottom: 1px solid #ececeb;
  padding: 4px 10px;
  vertical-align: top;
}
 
.pageArtiste table.artiste-infobox th {
  width: 180px;
  font-weight: normal;
  color: #505b61;
  background: #f8f9fa;
  text-align: left;
}
 
.pageArtiste table.artiste-infobox td {
  color: #000;
}
</style>


<!-- ========================= -->
<!-- ====== VISIBLE BOX ====== -->
<!--  INFOBOX (VELDEN)        -->
<div class="pageArtiste">
<!-- ========================= -->


{| class="wikitable artiste-infobox"
  <!-- FOTO BOVEN/links, net als Q1230 -->
! Nom
  <div class="artiste-portrait">
| {{#if:{{{nom|}}}
  {{#if:{{{thumbnail|}}}
  | {{{nom}}}
    | [[File:{{{thumbnail}}}|300px]]
  | {{#statements:P734|from={{{wikidata|}}}}}        <!-- nom de famille -->
   }}
   }}
|-
  </div>
! Prénom
 
| {{#if:{{{prenom|}}}
  <!-- INFOBOX IN Q-STIJL -->
  | {{{prenom}}}
   <table class="wikitable artiste-infobox">
  | {{#statements:P735|from={{{wikidata|}}}}}        <!-- prénom -->
    <tr>
   }}
      <th>Nom</th>
|-
      <td>{{{nom|}}}</td>
! Résumé
    </tr>
| {{#if:{{{abstract|}}}
    <tr>
  | {{{abstract}}}
      <th>Prénom</th>
  | {{#description:{{{wikidata|}}}}}                <!-- description Wikidata -->
      <td>{{{prenom|}}}</td>
  }}
    </tr>
|-
    <tr>
! Lieu de naissance
      <th>Résumé</th>
| {{#if:{{{birthplace|}}}
      <td>{{{abstract|}}}</td>
  | {{{birthplace}}}
    </tr>
  | {{#statements:P19|from={{{wikidata|}}}}}        <!-- lieu de naissance -->
    <tr>
  }}
      <th>Lieu de naissance</th>
|-
      <td>{{{birthplace|}}}</td>
! Date de naissance
    </tr>
| {{#if:{{{dateofbirth|}}}
    <tr>
  | {{{dateofbirth}}}
      <th>Date de naissance</th>
  | {{#statements:P569|from={{{wikidata|}}}}}        <!-- date de naissance -->
      <td>{{{dateofbirth|}}}</td>
  }}
    </tr>
|-
    <tr>
! Lieu de décès
      <th>Lieu de décès</th>
| {{#if:{{{deathplace|}}}
      <td>{{{deathplace|}}}</td>
  | {{{deathplace}}}
    </tr>
  | {{#statements:P20|from={{{wikidata|}}}}}        <!-- lieu de décès -->
    <tr>
  }}
      <th>Date de décès</th>
|-
      <td>{{{deathdate|}}}</td>
! Date de décès
    </tr>
| {{#if:{{{deathdate|}}}
    <tr>
  | {{{deathdate}}}
      <th>Nationalité</th>
  | {{#statements:P570|from={{{wikidata|}}}}}        <!-- date de décès -->
      <td>{{{nationality|}}}</td>
  }}
    </tr>
|-
    <tr>
! Nationalité
      <th>Mouvement</th>
| {{#if:{{{nationality|}}}
      <td>{{{movement|}}}</td>
  | {{{nationality}}}
    </tr>
  | {{#statements:P27|from={{{wikidata|}}}}}        <!-- nationalité -->
    <tr>
  }}
      <th>Lien principal</th>
|-
      <td>
! Mouvement
        {{#if:{{{isprimarytopicof|}}}
| {{#if:{{{movement|}}}
          | [{{{isprimarytopicof}}} {{{isprimarytopicof}}}]
  | {{{movement}}}
        }}
  | {{#statements:P135|from={{{wikidata|}}}}}        <!-- mouvement artistique -->
       </td>
  }}
    </tr>
|-
    <tr>
! Lien principal
      <th>Société de gestion des droits d'auteur</th>
| {{#if:{{{isprimarytopicof|}}}
      <td>{{{societe_gestion_droit_auteur|}}} {{{nom_societe_gestion_droit_auteur|}}}</td>
  | [{{{isprimarytopicof}}} {{{isprimarytopicof}}}]
    </tr>
  | {{#if:{{#statements:P973|from={{{wikidata|}}}}}
  </table>
       | [{{#statements:P973|from={{{wikidata|}}}}} {{#statements:P973|from={{{wikidata|}}}}}]
    }}
  }}
|-
! Société de gestion des droits d'auteur
| {{{societe_gestion_droit_auteur|}}} {{{nom_societe_gestion_droit_auteur|}}}
|}


<!-- ========================= -->
</div>
<!--  SEMANTIC ANNOTATIONS    -->
<!-- ========================= -->


<!-- ====== SEMANTIC / CATEGORIES (ONZICHTBAAR) ====== -->
<div style="display:none">
<div style="display:none">



Version du 4 décembre 2025 à 04:04