« Modèle:Présentation de matériel » : différence entre les versions
De WikiMontessori
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
<div class="row miniatures"><!-- | <div class="row miniatures"><!-- | ||
-->{{#if:{{{Prés. Galerie Img 1|}}}|{{Miniature|Image={{{Prés. Galerie Image 1|}}}|Légende={{{Prés. Galerie Légende 1|}}}|Largeur={{{Prés. Galerie - Largeur images|}}}}}|}}<!-- | -->{{#if:{{{Prés. Galerie Img 1|}}}|{{Miniature|Image={{{Prés. Galerie Image 1|}}}|Légende={{{Prés. Galerie Légende 1|}}}|Largeur={{{Prés. Galerie - Largeur images|}}}}}|}}<!-- | ||
Ligne 43 : | Ligne 42 : | ||
{{{Prés. Ét.1|}}} | {{{Prés. Ét.1|}}} | ||
}}<!--Fin switch disposition--> | }}<!--Fin switch disposition--> | ||
|<!--Sinon il n'y a pas d'étape 1 et on n'affiche rien-->}} | |<!--Sinon il n'y a pas d'étape 1 et on n'affiche rien-->}}<!-- | ||
-->{{#if:{{{Prés. Ét.2|}}} | |||
|<!--Il y a bien une Étape 2--><!-- | |||
-->{{#ifeq: {{{Disposition|}}} | Images en face du texte | |||
|<!--Si image en face du texte--> | |||
{{#if:{{{Prés. Ét.2 Image|}}} | |||
|<!--Il y a une image--> | |||
<div class="row"> | |||
<div class="col-md-6"> | |||
<div class="row miniatures"> | |||
{{Miniature|Image={{{Prés. Ét.2 Image|}}}|Largeur=100%}} | |||
</div> | |||
</div> | |||
<div class="col-md-6"> | |||
{{{Prés. Ét.2|}}} | |||
</div> | |||
</div> | |||
|<!--Sinon on n'affiche que du texte--> | |||
{{{Prés. Ét.2|}}} | |||
}}<!--Fin test présence image--> | |||
|<!--Sinon (si image au-dessus du texte)--><!-- | |||
--><div class="row miniatures"><!-- | |||
-->{{#if:{{{Prés. Ét.2 Image|}}} | |||
|<!-- L'image est présente--> | |||
{{Miniature|Image={{{Prés. Ét.2 Image|Largeur=100%}}}}} | |||
|<!-- Sinon l'image est absente et on n'affiche rien-->}}<!--Fin test présence image--><!-- | |||
--></div> | |||
{{{Prés. Ét.2|}}} | |||
}}<!--Fin switch disposition--> | |||
|<!--Sinon il n'y a pas d'étape 2 et on n'affiche rien-->}}<!-- | |||
<noinclude> | <noinclude> | ||
Ligne 54 : | Ligne 83 : | ||
"Prés. Ét.1 Img 1": {}, | "Prés. Ét.1 Img 1": {}, | ||
"Prés. Ét.1 Img 2": {}, | "Prés. Ét.1 Img 2": {}, | ||
"Prés. Ét.1 Img 3": {} | "Prés. Ét.1 Img 3": {}, | ||
"Prés. Galerie Img 1": {}, | |||
"Prés. Galerie Image 1": {}, | |||
"Prés. Galerie Légende 1": {}, | |||
"Prés. Galerie - Largeur images": {}, | |||
"Prés. Galerie Img 2": {}, | |||
"Prés. Galerie Image 2": {}, | |||
"Prés. Galerie Légende 2": {}, | |||
"Prés. Galerie Img 3": {}, | |||
"Prés. Galerie Image 3": {}, | |||
"Prés. Galerie Légende 3": {}, | |||
"Prés. Galerie Img 4": {}, | |||
"Prés. Galerie Image 4": {}, | |||
"Prés. Galerie Légende 4": {}, | |||
"Prés. Galerie Img 5": {}, | |||
"Prés. Galerie Image 5": {}, | |||
"Prés. Galerie Légende 5": {}, | |||
"Prés. Galerie Img 6": {}, | |||
"Prés. Galerie Image 6": {}, | |||
"Prés. Galerie Légende 6": {}, | |||
"Prés. Galerie Img 7": {}, | |||
"Prés. Galerie Image 7": {}, | |||
"Prés. Galerie Légende 7": {}, | |||
"Prés. Galerie Img 8": {}, | |||
"Prés. Galerie Image 8": {}, | |||
"Prés. Galerie Légende 8": {}, | |||
"Prés. Galerie Img 9": {}, | |||
"Prés. Galerie Image 9": {}, | |||
"Prés. Galerie Légende 9": {}, | |||
"Prés. Galerie Img 10": {}, | |||
"Prés. Galerie Image 10": {}, | |||
"Prés. Galerie Légende 10": {}, | |||
"Prés. Ét.1 Image": {} | |||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Version du 15 mai 2023 à 12:26