« Modèle:Question à choix multiple » : différence entre les versions
(Ajout classe CSS) |
(Ajout classe CSS) |
||
Ligne 41 : | Ligne 41 : | ||
}); | }); | ||
</script></html></div><includeonly>{{Boîte | </script></html></div><includeonly>{{Boîte | ||
|classe=multiple-choice-question question noprint {{#if:{{{image_question|}}}|question-with-image|}} | |classe=multiple-choice-question question noprint {{#if:{{{image_question|}}}|question-with-image|question-without-image}} | ||
|style=margin-top: 10px; | |style=margin-top: 10px; | ||
|contenu= | |contenu= |
Version du 14 mai 2017 à 18:34
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 |