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 118 : Ligne 118 :
       {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }}{{#show: {{FULLPAGENAME}} | ?Sous_genres }} |
       {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }}{{#show: {{FULLPAGENAME}} | ?Sous_genres }} |
         <p style="margin:0.4em 0 0 0;">
         <p style="margin:0.4em 0 0 0;">
           <!-- Genres éditoriaux -->
           <!-- Genres éditoriaux -->
           {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }} |
           {{#if: {{#show: {{FULLPAGENAME}} | ?Genres_publies }} |
             <strong>Genres éditoriaux :</strong>
             <strong>Genres éditoriaux :</strong>
             {{#ask:
             {{#arraymap:{{#show: {{FULLPAGENAME}} | ?Genres_publies | sep=; }}
              [[{{FULLPAGENAME}}]]
               |;
              | ?Genres_publies
               |x
              | format=template
               |[[x|{{PAGENAME:x}}]]
               | template=FicheGenreNom
               |,  
               | mainlabel=-
               | link=none
               | sep=,  
             }}<br />
             }}<br />
           }}
           }}
          <!-- Sous-genres -->
           {{#if: {{#show: {{FULLPAGENAME}} | ?Sous_genres }} |
           {{#if: {{#show: {{FULLPAGENAME}} | ?Sous_genres }} |
             <strong>Sous-genres :</strong>
             <strong>Sous-genres :</strong>
             {{#ask:
             {{#arraymap:{{#show: {{FULLPAGENAME}} | ?Sous_genres | sep=; }}
              [[{{FULLPAGENAME}}]]
               |;
              | ?Sous_genres
               |x
              | format=template
               |[[x|{{PAGENAME:x}}]]
               | template=FicheGenreNom
               |,  
               | mainlabel=-
               | link=none
               | sep=,  
             }}<br />
             }}<br />
           }}
           }}
         </p>
         </p>
       }}
       }}

Version du 28 novembre 2025 à 10:04


(Documentation.)