« Modèle:Question à choix multiple » : différence entre les versions
(Ajout paramètre image_question et image_explication) |
(Paramètres suggéré) |
||
Ligne 149 : | Ligne 149 : | ||
"label": "Image question", | "label": "Image question", | ||
"description": "Une image à associer avec la question.", | "description": "Une image à associer avec la question.", | ||
"type": "wiki-file-name" | "type": "wiki-file-name", | ||
"example": "Image_intéressante.png", | |||
"suggested": true | |||
}, | }, | ||
"image_explication": { | "image_explication": { | ||
"label": "Image explication", | "label": "Image explication", | ||
"description": "Une image associée à l'explication.", | "description": "Une image associée à l'explication.", | ||
"type": "wiki-file-name" | "type": "wiki-file-name", | ||
"example": "Image_intéressante.png" | |||
} | } | ||
}, | }, |
Version du 10 mai 2017 à 12:44
Exemple
Utilisation
Question au format choix multiples. Pour le format Flashcard, voir Modèle:Flashcard.
Paramètre | Description | Type | État | |
---|---|---|---|---|
Question | question | La question à poser.
| Contenu | obligatoire |
A | a | Le choix A. | Chaîne | obligatoire |
B | b | Le choix B. | Chaîne | obligatoire |
C | c | Le choix C. | Chaîne | suggéré |
D | d | Le choix D. | Chaîne | suggéré |
E | e | Le choix E. | Chaîne | suggéré |
F | f | Le choix F. | Chaîne | suggéré |
G | g | Le choix G. | Chaîne | suggéré |
Explication | explication | Une explication de la bonne réponse à la question.
| Contenu | suggéré |
Réponse | réponse | La réponse à la question (lettre minuscule).
| Contenu | obligatoire |
Image question | image_question | Une image à associer avec la question.
| Fichier | suggéré |
Image explication | image_explication | Une image associée à l'explication.
| Fichier | facultatif |