Diferencia entre revisiones de «Plantilla:Quiz Multiple Choice»
De WikiEducator
(add a blank line to the top of the body so that the nested lists start on their own line) |
m (1 revisión) |
(Sin diferencias)
|
Última revisión de 19:08 28 jun 2016
[edit]
DocumentationError en widget JQuery
This template is used to create multiple choice quiz questions. One or more questions may be included for each implementation of the template.
This is an experimental feature, with functionality and format subject to change based on user feedback.
Contenido
Usage
Parameters
The Quiz_Multiple_Choice template requires one parameter:
- body
- the quiz in the form of a nested un-ordered list. The top level items in the list are questions, the next level are the answers, and the lowest level contains the feedback to be displayed when the student selects that particular answer. This formatting makes it easy to edit and print the teacher's resource that shows the questions and answer. (Note: The unordered list must start on the next line so that the standard wikitext list formatting is recognized.)
Optional parameters include:
- title
- the title for the quiz (if not supplied, defaults to ***Multi Choice Questions***)
- theme
- the iDevice theme to use (defaults to ***WikiEducator***)
- mix
- if set to the string ***true*** the answers are randomized within each question when the page is displayed/refreshed
- hint
- provides a tip for the entire set of questions
Wiki Syntax
Copy and paste the following code. Be sure that each set of asterisks, which occur prior to the question, answer and feedback text, begins on the left margin of a new line.
{{Quiz_Multiple_Choice |title=A Multiple Choice Quiz |body= * Question 1 ** Answer 1 *** Feedback 1 ** Answer 2 *** Feedback 2 ** Answer 3 *** Feedback 3 * Question 2 ** Answer 1 *** Feedback 1 ** Answer 2 *** Feedback 2 |mix= |hint= }}
Examples
A basic example which does not include the mix and hint options:
An example which includes the mix and hint options:
See also
Template Data for VisualEditor
Multi choice quiz
Parámetro | Descripción | Tipo | Predeterminado | Estado | |
---|---|---|---|---|---|
Body | body3 | Unordered list representing quiz (on a new line) | string | empty | optional |
Theme | theme | style family (e.g. WikiEducator, OP, Line, Blue, etc.) | string | WikiEducator | optional |
Title | title2 | title, if other than the iDevice type | string | empty | optional |
Hint | hint | Tip string for the quiz | string | empty | optional |
Classes | classes | additional HTML classes to apply to iDevice (advanced use only) | string | empty | optional |