Aller au contenu

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

De Éditions Indépendantes
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 2 : Ligne 2 :
<div class="fiche-association-complet" style="margin-top:1em; margin-bottom:2em;">
<div class="fiche-association-complet" style="margin-top:1em; margin-bottom:2em;">


   <h2>{{#show: {{PAGENAME}} | ?Nom }}</h2>
   {{#vardefine:page|{{FULLPAGENAME}}}}
  <div><b>Sigle :</b> {{#show: {{PAGENAME}} | ?Sigle }}</div>


   {{#if: {{#show: {{PAGENAME}} | ?Autres_noms }} |
  <h2>{{#show: {{#var:page}} | ?Nom }}</h2>
  <div><b>Autres noms :</b> {{#show: {{PAGENAME}} | ?Autres_noms }}</div>
 
   {{#if: {{#show: {{#var:page}} | ?Sigle }} |
    <div><b>Sigle :</b> {{#show: {{#var:page}} | ?Sigle }}</div>
   }}
   }}


   <div><b>Type :</b> {{#show: {{PAGENAME}} | ?Type }}</div>
   {{#if: {{#show: {{#var:page}} | ?Autres_noms }} |
    <div><b>Autres noms :</b> {{#show: {{#var:page}} | ?Autres_noms }}</div>
  }}


  {{#if: {{#show: {{#var:page}} | ?Type }} |
    <div><b>Type :</b> {{#show: {{#var:page}} | ?Type }}</div>
  }}
  <!-- Adresse -->
   <div style="margin-top:1em;">
   <div style="margin-top:1em;">
     <b>Adresse :</b><br>
     <b>Adresse :</b><br />
     {{#show: {{PAGENAME}} | ?Adresse_complete }}<br>
     {{#if: {{#show: {{#var:page}} | ?Adresse_complete }} |
     {{#show: {{PAGENAME}} | ?Code_postal }} {{#show: {{PAGENAME}} | ?Ville }} ({{#show: {{PAGENAME}} | ?Pays }})
      {{#show: {{#var:page}} | ?Adresse_complete }}<br />
     }}
    {{#if: {{#show: {{#var:page}} | ?Code_postal }} |
      {{#show: {{#var:page}} | ?Code_postal }}
    }}
    {{#if: {{#show: {{#var:page}} | ?Ville }} |
      {{#show: {{#var:page}} | ?Ville }}
    }}
    {{#if: {{#show: {{#var:page}} | ?Pays }} |
      ({{#show: {{#var:page}} | ?Pays }})
    }}
   </div>
   </div>


  <!-- Contact -->
   <div style="margin-top:1em;">
   <div style="margin-top:1em;">
     <b>Site :</b> [{{#show: {{PAGENAME}} | ?Site_web }} {{#show: {{PAGENAME}} | ?Site_web }}]<br>
     {{#if: {{#show: {{#var:page}} | ?Site_web }} |
     <b>E-mail :</b> {{#show: {{PAGENAME}} | ?Email }}
      <b>Site :</b> [{{#show: {{#var:page}} | ?Site_web }} {{#show: {{#var:page}} | ?Site_web }}]<br />
     }}
    {{#if: {{#show: {{#var:page}} | ?Email }} |
      <b>E-mail :</b> {{#show: {{#var:page}} | ?Email }}
    }}
   </div>
   </div>


   <div style="margin-top:1em;">
   <!-- Présentation -->
    <b>Présentation :</b><br>
  {{#if: {{#show: {{#var:page}} | ?Presentation }} |
    {{#show: {{PAGENAME}} | ?Presentation }}
    <div style="margin-top:1em;">
  </div>
      <b>Présentation :</b><br />
      {{#show: {{#var:page}} | ?Presentation }}
    </div>
  }}


   <div style="margin-top:1em;">
   <!-- Actions -->
    <b>Actions :</b><br>
  {{#if: {{#show: {{#var:page}} | ?Actions }} |
    {{#show: {{PAGENAME}} | ?Actions }}
    <div style="margin-top:1em;">
  </div>
      <b>Actions :</b><br />
      {{#show: {{#var:page}} | ?Actions }}
    </div>
  }}


  <!-- Maisons membres (logique à affiner plus tard) -->
   <div style="margin-top:1em;">
   <div style="margin-top:1em;">
     <h3>Maisons d’édition membres</h3>
     <h3>Maisons d’édition membres</h3>
     {{#ask:
     {{#ask:
       [[Maisons_membres::{{PAGENAME}}]]
       [[Maisons_membres::{{FULLPAGENAME}}]]
       | ?Nom
       | ?Nom
       | format=list
       | format=list

Version du 20 novembre 2025 à 11:24