Différences entre les versions de « Modèle:Section Scénario »
De Oniropædia
Aller à la navigationAller à la recherche (Debug5) |
(Debug6) |
||
Ligne 2 : | Ligne 2 : | ||
<!-- Ce modèle sert à définir une section d'un scénario --> | <!-- Ce modèle sert à définir une section d'un scénario --> | ||
− | <!-- Modèle encore en chantier, prière de ne pas l'utiliser | + | <!-- Modèle encore en chantier, prière de ne pas l'utiliser --> |
− | {{#switch:{{{format1}}} | + | {{ #switch: {{{format1}}} |
| ni= | | ni= | ||
| in= | | in= | ||
Ligne 10 : | Ligne 10 : | ||
| ins= | | ins= | ||
| #default= | | #default= | ||
− | {{#if:{{{note1|}}} | + | {{ #if: {{{note1| }}} |
| | | | ||
− | {{#if:{{{image1|}}} | + | {{ #if: {{{image1| }}} |
| <span style="color:#FF0000;">format1 manquant</span> | | <span style="color:#FF0000;">format1 manquant</span> | ||
| | | | ||
Ligne 20 : | Ligne 20 : | ||
}} | }} | ||
− | {{#switch:{{{format2}}} | + | {{ #switch: {{{format2}}} |
− | | ni= | + | | ni=ici |
| in= | | in= | ||
| nis= | | nis= | ||
| ins= | | ins= | ||
| #default= | | #default= | ||
− | {{#if:{{{note2|}}} | + | {{ #if: {{{note2| }}} |
| | | | ||
− | {{#if:{{{image2|}}} | + | {{ #if: {{{image2| }}} |
| <span style="color:#FF0000;">format2 manquant</span> | | <span style="color:#FF0000;">format2 manquant</span> | ||
| | | | ||
Ligne 35 : | Ligne 35 : | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | <!-- Bug connu : il reste des { dans les switch de format ci-dessous --> | ||
{|border="0" cellspacing="0" | {|border="0" cellspacing="0" | ||
− | | {{#if:{{{bgcolor11|}}} | bgcolor="{{{bgcolor11}}}" | }} | {{#switch:{{{format1}}} | ni={|border="1" | {{{note1}}} | {{{image1}}} |} | in={|border="2" | {{{image1}}} | {{{note1}}} |} | nis={|border="3" | {{{note1}}} |- | {{{image1}}} |} | ins={|border="4" | {{{image1}}} |- | {{{note1}}} |} | #default={{{note1}}} }} | + | | {{ #if: {{{bgcolor11| }}} | bgcolor="{{{bgcolor11}}}" | }} | {{ #switch: {{{format1}}} | ni=<nowiki>{|border="1" | {{{note1}}} | {{{image1}}} |}</nowiki> | in={|border="2" | {{{image1}}} | {{{note1}}} |} | nis={|border="3" | {{{note1}}} |- | {{{image1}}} |} | ins={|border="4" | {{{image1}}} |- | {{{note1}}} |} | #default={{{note1}}} }} |
− | |{{#if:{{{bgcolor0|}}} | bgcolor="{{{bgcolor0}}}" | }}| {{{texte}}} | + | < |
− | | {{#if:{{{bgcolor21|}}} | bgcolor="{{{bgcolor21}}}" | }} | {{#switch:{{{format2}}} | ni={|border="1" | {{{note2}}} | {{{image2}}} |} | in={|border="2" | {{{image2}}} | {{{note2}}} |} | nis={|border="3" | {{{note2}}} |- | {{{image2}}} |} | ins={|border="4" | {{{image2}}} |- | {{{note2}}} |} | #default={{{image2}}} }} | + | |{{ #if: {{{bgcolor0| }}} | bgcolor="{{{bgcolor0}}}" | }}| {{{texte}}} |
+ | | {{ #if: {{{bgcolor21| }}} | bgcolor="{{{bgcolor21}}}" | }} | {{ #switch: {{{format2}}} | ni={|border="1" | {{{note2}}} | {{{image2}}} |} | in={|border="2" | {{{image2}}} | {{{note2}}} |} | nis={|border="3" | {{{note2}}} |- | {{{image2}}} |} | ins={|border="4" | {{{image2}}} |- | {{{note2}}} |} | #default={{{image2}}} }} | ||
|} | |} |
Version du 3 novembre 2006 à 01:04
{{{note1}}}
< |
{{{texte}}} | {{{image2}}} |