Différences entre les versions de « Modèle:Section Scénario »
De Oniropædia
Aller à la navigationAller à la recherche (Création) |
(Ajout de traitement des notes et des images) |
||
Ligne 5 : | Ligne 5 : | ||
{{#switch:{{{format1|}}} | {{#switch:{{{format1|}}} | ||
+ | | ni= | ||
+ | | in= | ||
+ | | nis= | ||
+ | | ins= | ||
+ | | #default= | ||
+ | {{#if:{{{note1|}}} | ||
+ | | | ||
+ | {{#if:{{{image1|}}} | ||
+ | | <span style="color:#FF0000;">format1 manquant</span> | ||
+ | | | ||
+ | }} | ||
+ | | | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | {{#switch:{{{format2|}}} | ||
| ni= cas n+i | | ni= cas n+i | ||
| in= cas i+n | | in= cas i+n | ||
Ligne 10 : | Ligne 26 : | ||
| ins= cas i sur n | | ins= cas i sur n | ||
| #default= | | #default= | ||
− | + | {{#if:{{{note2|}}} | |
− | + | | | |
− | + | {{#if:{{{image2|}}} | |
− | + | | <span style="color:#FF0000;">format2 manquant</span> | |
− | + | | | |
− | + | }} | |
− | + | | | |
− | + | }} | |
}} | }} | ||
− | |||
− | |||
{|border="0" cellspacing="0" | {|border="0" cellspacing="0" | ||
− | | {{#if:{{{bgcolor11|}}} | bgcolor="{{{bgcolor11}}}" | }} | {{#switch:{{{format1|}}} | ni= | + | | {{#if:{{{bgcolor11|}}} | bgcolor="{{{bgcolor11}}}" | }} | {{#switch:{{{format1|}}} | ni= {|border="0" | {{{note1}}} | {{{image1}}} |} | in= {|border="0" | {{{image1}}} | {{{note1}}} |} | nis= {|border="0" | {{{note1}}} |- | {{{image1}}} |} | ins= {|border="0" | {{{image1}}} |- | {{{note1}}} |} | #default= }} |
| {{#if:{{{bgcolor0|}}} | bgcolor="{{{bgcolor0}}}" | }} | {{{texte}}} | | {{#if:{{{bgcolor0|}}} | bgcolor="{{{bgcolor0}}}" | }} | {{{texte}}} | ||
− | | {{#if:{{{bgcolor21|}}} | bgcolor="{{{bgcolor21}}}" | }} | {{#switch:{{{format2|}}} | ni= | + | | {{#if:{{{bgcolor21|}}} | bgcolor="{{{bgcolor21}}}" | }} | {{#switch:{{{format2|}}} | ni= {|border="0" | {{{note2}}} | {{{image2}}} |} | in= {|border="0" | {{{image2}}} | {{{note2}}} |} | nis= {|border="0" | {{{note2}}} |- | {{{image2}}} |} | ins= {|border="0" | {{{image2}}} |- | {{{note2}}} |} | #default= }} |
|} | |} |
Version du 3 novembre 2006 à 00:31
{{{texte}}} |