Loading...

« Modèle:Adresse liée test » : différence entre les versions

De Archi-Wiki

m
aucun résumé des modifications
(Test boucle si plusieurs noms)
mAucun résumé des modifications
Ligne 1 : Ligne 1 :
* {{#if:{{{photo|}}}|[[File:{{{photo}}}|caption|120px]]}} [[Adresse:{{{adresse}}}#{{{section|}}}|{{{titre|{{{adresse}}} }}}]] {{#if:{{{date|}}} | ({{{date}}}) }} {{#if: {{{architecte|}}}|<br>architecte(s):
* {{#if:{{{photo|}}}|[[File:{{{photo}}}|caption|120px]]}} [[Adresse:{{{adresse}}}#{{{section|}}}|{{{titre|{{{adresse}}} }}}]] {{#if:{{{date|}}} | ({{{date}}}) }} {{#if: {{{architecte|}}}|<br>architecte(s): {{#loop: j|0|10| {{#if: {{#explode:{{{architecte|}}}|;|{{#var:j}} }}| [[Personne:{{#explode:{{{architecte|}}}|;|{{#var:j}} }}|{{#explode:{{{architecte|}}}|;|{{#var:j}} }}]] |}} }} |}}
    {{#loop: j|0|10|
        {{#if: {{#explode:{{{architecte|}}}|;|{{#var:j}} }}|
            [[Personne:{{#explode:{{{architecte|}}}|;|{{#var:j}} }}|{{#explode:{{{architecte|}}}|;|{{#var:j}} }}]]<br/>
        |}}
    }}
|}}