Aller au contenu

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

De Éditions Indépendantes
Page créée avec « <includeonly> <div class="fiche-association" style="margin-top:1em;margin-bottom:2em;"> <!-- SECTION 1 — Identification --> <h2 style="border-bottom:2px solid #666;">Identification</h2> '''Nom de l’association :''' {{#set:Nom={{PAGENAME}}}}{{PAGENAME}}<br> {{#if:{{{Sigle|}}}|'''Sigle :''' {{{Sigle}}}<br>}} {{#if:{{{Type_juridique|}}}|'''Type juridique :''' {{{Type_juridique}}}<br>}} {{#if:{{{Pays|}}}|'''Pays :''' {{{Pays}}}<br>}} {{#if:{{{Date_creation|}}}|... »
 
mAucun résumé des modifications
 
(69 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>
<div class="fiche-association" style="margin-top:1em;margin-bottom:2em;">
<div class="fiche-association-complet" style="margin-top:0.2em; margin-bottom:2em;">


<!-- SECTION 1 — Identification -->
  <!-- Bloc haut : 2 colonnes (infos + logo) -->
<h2 style="border-bottom:2px solid #666;">Identification</h2>
  <div style="display:flex; align-items:flex-start; gap:1em;">


'''Nom de l’association :''' {{#set:Nom={{PAGENAME}}}}{{PAGENAME}}<br>
    <!-- Colonne gauche : informations texte -->
{{#if:{{{Sigle|}}}|'''Sigle :''' {{{Sigle}}}<br>}}
    <div style="flex:2;">
{{#if:{{{Type_juridique|}}}|'''Type juridique :''' {{{Type_juridique}}}<br>}}
{{#if:{{{Pays|}}}|'''Pays :''' {{{Pays}}}<br>}}
{{#if:{{{Date_creation|}}}|'''Date de création :''' {{{Date_creation}}}<br>}}
{{#if:{{{Logo|}}}|[[File:{{{Logo}}}|200px|alt=Logo de {{{Nom}}}]]}}


<!-- SECTION 2 — Siège -->
      <!-- Titre : Nom (Sigle) -->
<h3>Adresse du siège</h3>
      <h2 style="margin:0;">
{{#if:{{{Adresse_complete|}}}|{{{Adresse_complete}}}<br>}}
        {{#show: {{FULLPAGENAME}} | ?Nom }}
{{#if:{{{Code_postal|}}}|{{{Code_postal}}} {{{Ville}}}<br>}}
        {{#if: {{#show: {{FULLPAGENAME}} | ?Sigle }} |
{{#if:{{{Region|}}}|{{{Region}}} – {{{Pays}}}<br>}}
          &nbsp;({{#show: {{FULLPAGENAME}} | ?Sigle }})
        }}
      </h2>


<!-- SECTION 3 — Représentation -->
      <!-- Autres noms (même logique que Structure_parente : petit décalage) -->
<h2 style="border-bottom:2px solid #666;">Représentation</h2>
      {{#if: {{#show: {{FULLPAGENAME}} | ?Autres_noms }} |
{{#if:{{{President|}}}|'''Président(e) :''' {{{President}}}<br>}}
        <p style="margin:0.8em 0 0 0;">
{{#if:{{{Responsables|}}}|'''Autres responsables :''' {{{Responsables}}}<br>}}
          <strong>Autres noms :</strong> {{#show: {{FULLPAGENAME}} | ?Autres_noms }}
{{#if:{{{Contact|}}}|'''Contact principal :''' {{{Contact}}}<br>}}
        </p>
      }}


<!-- SECTION 4 — Présentation -->
      <!-- Type, Portée, Année de création sur une seule ligne -->
<h2 style="border-bottom:2px solid #666;">Présentation</h2>
      {{#if: {{#show: {{FULLPAGENAME}} | ?Type }}{{#show: {{FULLPAGENAME}} | ?Portee }}{{#show: {{FULLPAGENAME}} | ?Annee_creation }} |
{{#if:{{{Presentation|}}}|<div style="margin-bottom:1em;">{{{Presentation}}}</div>}}
        <p style="margin:0.2em 0 0 0;">
{{#if:{{{Actions|}}}|<div><strong>Actions principales :</strong> {{{Actions}}}</div>}}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Type }} |
            <strong>Type :</strong> {{#show: {{FULLPAGENAME}} | ?Type }}
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Portee }} |
            {{#if: {{#show: {{FULLPAGENAME}} | ?Type }} | &nbsp;•&nbsp; }}
            <strong>Portée :</strong> {{#show: {{FULLPAGENAME}} | ?Portee }}
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Annee_creation }} |
            {{#if: {{#show: {{FULLPAGENAME}} | ?Type }}{{#show: {{FULLPAGENAME}} | ?Portee }} | &nbsp;•&nbsp; }}
            <strong>Année de création :</strong> {{#show: {{FULLPAGENAME}} | ?Annee_creation }}
          }}
        </p>
      }}
      <!-- Adresse + région / département (tout sur une ligne) -->
      {{#if: {{#show: {{FULLPAGENAME}} | ?Adresse_complete }}{{#show: {{FULLPAGENAME}} | ?Ville }}{{#show: {{FULLPAGENAME}} | ?Pays }} |
        <p style="margin:0.2em 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;<span>(
              {{#if: {{#show: {{FULLPAGENAME}} | ?Region }} |
                <strong>Région :</strong> {{#show: {{FULLPAGENAME}} | ?Region }}
              }}
              {{#if: {{#show: {{FULLPAGENAME}} | ?Departement }} |
                {{#if: {{#show: {{FULLPAGENAME}} | ?Region }} |  | }} - {{#show: {{FULLPAGENAME}} | ?Departement }}
              }}
            )</span>
          }}
        </p>
      }}
      <!-- Site + Contact + Téléphone sur une seule ligne -->
      {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }}{{#show: {{FULLPAGENAME}} | ?Email }}{{#show: {{FULLPAGENAME}} | ?Telephone }} |
        <p style="margin:0.4em 0 0 0;">
          {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }} |
            <strong>Site :</strong> {{#show: {{FULLPAGENAME}} | ?Site_web }}
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Email }} |
            {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }} | &nbsp;•&nbsp; }}
            <strong>Contact :</strong> {{#show: {{FULLPAGENAME}} | ?Email }}
          }}
          {{#if: {{#show: {{FULLPAGENAME}} | ?Telephone }} |
            {{#if: {{#show: {{FULLPAGENAME}} | ?Site_web }}{{#show: {{FULLPAGENAME}} | ?Email }} | &nbsp;•&nbsp; }}
            <strong>Téléphone :</strong> {{#show: {{FULLPAGENAME}} | ?Telephone }}
          }}
        </p>
      }}


<!-- SECTION 5 — Membres -->
    </div>
<h2 style="border-bottom:2px solid #666;">Maisons membres</h2>
 
<div class="maisons-membres" style="margin-bottom:1em;">
    <!-- Colonne droite : logo (sans cadre) -->
{{#ask:
    {{#if: {{#show: {{FULLPAGENAME}} | ?Logo }} |
  [[Association d’appartenance::{{PAGENAME}}]]
      <ul style="list-style-type:none; margin:0; padding:0;">
   | ?Nom
        <li style="list-style-type:none; margin:0; padding:0; text-align:right;">
   | ?Ville
          [[File:{{#show: {{FULLPAGENAME}} | ?Logo }}|200px
   | ?Région
            |alt=Logo de {{#show: {{FULLPAGENAME}} | ?Nom }}
   | format=template
          ]]
   | template=FicheMaisonListe
        </li>
   | mainlabel=-
      </ul>
   | limit=500
    }}
   | sort=Nom
 
  | order=ascending
  </div> <!-- fin bloc flex -->
  | intro=<div class="liste-maisons">
 
  | outro=</div>
  <!-- Réseaux sociaux (icônes) -->
}}
  {{#if: {{#show: {{FULLPAGENAME}} | ?Reseau_facebook }}{{#show: {{FULLPAGENAME}} | ?Reseau_instagram }}{{#show: {{FULLPAGENAME}} | ?Reseau_youtube }}{{#show: {{FULLPAGENAME}} | ?Reseau_linkedin }}{{#show: {{FULLPAGENAME}} | ?Reseau_pinterest }}{{#show: {{FULLPAGENAME}} | ?Reseau_threads }}{{#show: {{FULLPAGENAME}} | ?Reseau_tiktok }}{{#show: {{FULLPAGENAME}} | ?Reseau_mastodon }}{{#show: {{FULLPAGENAME}} | ?Reseau_bluesky }}{{#show: {{FULLPAGENAME}} | ?Reseau_wikipedia }} |
</div>
    <h3 style="margin-top:0.8em;">Réseaux sociaux</h3>
    <p style="margin:0.2em 0 0 0;">
      {{#if: {{#show: {{FULLPAGENAME}} | ?Reseau_facebook }} |
        [[File:LogoWEI_facebook.png|24px|alt=Facebook de {{#show: {{FULLPAGENAME}} | ?Nom }}|link={{#show: {{FULLPAGENAME}} | ?Reseau_facebook }}]]
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Reseau_instagram }} |
        [[File:LogoWEI_instagram.png|24px|alt=Instagram de {{#show: {{FULLPAGENAME}} | ?Nom }}|link={{#show: {{FULLPAGENAME}} | ?Reseau_instagram }}]]
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Reseau_youtube }} |
        [[File:LogoWEI_youtube.png|24px|alt=YouTube de {{#show: {{FULLPAGENAME}} | ?Nom }}|link={{#show: {{FULLPAGENAME}} | ?Reseau_youtube }}]]
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Reseau_linkedin }} |
        [[File:LogoWEI_linkedin.png|24px|alt=LinkedIn de {{#show: {{FULLPAGENAME}} | ?Nom }}|link={{#show: {{FULLPAGENAME}} | ?Reseau_linkedin }}]]
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Reseau_pinterest }} |
        [[File:LogoWEI_pinterest.png|24px|alt=Pinterest de {{#show: {{FULLPAGENAME}} | ?Nom }}|link={{#show: {{FULLPAGENAME}} | ?Reseau_pinterest }}]]
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Reseau_threads }} |
        [[File:LogoWEI_threads.png|24px|alt=Threads de {{#show: {{FULLPAGENAME}} | ?Nom }}|link={{#show: {{FULLPAGENAME}} | ?Reseau_threads }}]]
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Reseau_tiktok }} |
        [[File:LogoWEI_tiktok.png|24px|alt=TikTok de {{#show: {{FULLPAGENAME}} | ?Nom }}|link={{#show: {{FULLPAGENAME}} | ?Reseau_tiktok }}]]
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Reseau_mastodon }} |
        [[File:LogoWEI_mastodon.png|24px|alt=Mastodon de {{#show: {{FULLPAGENAME}} | ?Nom }}|link={{#show: {{FULLPAGENAME}} | ?Reseau_mastodon }}]]
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Reseau_bluesky }} |
        [[File:LogoWEI_bluesky.png|24px|alt=Bluesky de {{#show: {{FULLPAGENAME}} | ?Nom }}|link={{#show: {{FULLPAGENAME}} | ?Reseau_bluesky }}]]
      }}
      {{#if: {{#show: {{FULLPAGENAME}} | ?Reseau_wikipedia }} |
        [[File:LogoWEI_wikipedia.png|24px|alt=Page Wikipédia de {{#show: {{FULLPAGENAME}} | ?Nom }}|link={{#show: {{FULLPAGENAME}} | ?Reseau_wikipedia }}]]
      }}
    </p>
  }}
 
   <!-- Présentation -->
  {{#if: {{#show: {{FULLPAGENAME}} | ?Presentation }} |
    <h3 style="margin-top:0.8em;">Présentation</h3>
    <p>{{#show: {{FULLPAGENAME}} | ?Presentation }}</p>
  }}
 
  <!-- Actions -->
   {{#if: {{#show: {{FULLPAGENAME}} | ?Actions }} |
    <h3 style="margin-top:0.8em;">Actions</h3>
    <p>{{#show: {{FULLPAGENAME}} | ?Actions }}</p>
  }}
 
   <!-- Critères d’adhésion : rien si propriété vide -->
  {{#vardefine:criteres|
    {{#show: {{FULLPAGENAME}} | ?Criteres_adhesion | link=none }}
   }}{{#if: {{#var:criteres}} |
  <h3 style="margin-top:0.8em;">Critères d’adhésion</h3>
  <p>{{#var:criteres}}</p>
  }}
 
  <!-- Flux RSS éventuel : rien si propriété vide -->
   {{#vardefine:flux_rss|
    {{#show: {{FULLPAGENAME}} | ?Flux_RSS | link=none }}
   }}{{#if: {{#var:flux_rss}} |
  <h3 style="margin-top:0.8em;">Actualités récentes</h3>
   {{#tag:rss|{{#var:flux_rss}}|max=5}}
  }}
 
  <!-- Maisons d’édition membres -->
   {{#ask:
    [[Catégorie:Maisons d’édition]]
    [[Membre_de::{{FULLPAGENAME}}]]
    | ?Nom
    | sort=Nom_tri
    | order=ascending
    | format=template
    | template=FicheMaisonNom
    | link=none
    | intro=<h3 style="margin-top:0.8em;">Maisons d’édition membres</h3><ul class="liste-maisons-membres" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;">
    | outro=</ul>
    | limit=500
  }}
  <!-- Autres types de membres -->
  {{#ask:
    [[Catégorie:Associations]]
    [[Membre_de::{{FULLPAGENAME}}]]
    | ?Nom
    | sort=Nom_tri
    | order=ascending
    | format=template
    | template=FicheAssociationNom
    | link=none
    | intro=<h3 style="margin-top:0.8em;">Autres membres</h3><ul class="liste-maisons-membres" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;">
    | outro=</ul>
    | limit=500
  }}


<!-- SECTION 6 — Fédération -->
<!-- Associations dont cette association est membre -->
{{#if:{{{Federation|}}}|
{{#if: {{#show: {{FULLPAGENAME}} | ?Membre_de | link=none }} |
<h2 style="border-bottom:2px solid #666;">Fédération d’appartenance</h2>
  <h3 style="margin-top:0.8em;">Associations dont elle est membre</h3>
[[{{{Federation}}}]]
  <ul class="liste-associations-membres" style="margin:0.2em 0 0 0;">
    <li>
      {{#show: {{FULLPAGENAME}}
        | ?Membre_de
        | link=all
        | sep=</li><li>
      }}
    </li>
  </ul>
}}
}}


<!-- SECTION 7 — Communication -->
  <!-- Bouton de modification via formulaire, visible seulement
<h2 style="border-bottom:2px solid #666;">Contacts et communication</h2>
      pour les associations (namespace Association) et certains groupes -->
{{#if:{{{Site_web|}}}|'''Site :''' [{{{Site_web}}} {{{Site_web}}}]<br>}}
<div class="fiche-association-bouton-modif" style="text-align:center; margin-top:1em; margin-bottom:0.5em;">{{#ifeq:{{NAMESPACE}}|Association|{{#ifingroup:contributeurs_associations,sysop|[[Special:FormEdit/Association/{{FULLPAGENAME}}|<span class="mw-ui-button mw-ui-progressive" style="font-size:110%; padding:0.55em 0.95em; border-radius:8px; display:inline-block;">Modifier cette fiche</span>]]}}}}</div>
{{#if:{{{Email|}}}|'''E-mail :''' {{{Email}}}<br>}}
{{#if:{{{Telephone|}}}|'''Téléphone :''' {{{Telephone}}}<br>}}
{{#if:{{{Reseaux_sociaux|}}}|'''Réseaux sociaux :''' {{{Reseaux_sociaux}}}<br>}}
 
</div>
</div>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{{Documentation}}
(Documentation.)
[[Catégorie:Modèles d’affichage]]
</noinclude>
</noinclude>

Dernière version du 18 décembre 2025 à 11:40


(Documentation.)