Template:Dave Quiz Multiple Choice/doc

This is the documentation for Template:Dave Quiz Multiple Choice.

This is derived from Template:Quiz_Multiple_Choice/doc. 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.

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.

Examples
A basic example which does not include the mix and hint options:

An example which includes the mix and hint options:

Template Data for VisualEditor
{	"description": "Multi choice quiz", "params": { "body": { "label": "Body", "description": "Unordered list representing quiz (on a new line)", "aliases": ["3"], "default": "", "type": "string" },               "theme": { "label": "Theme", "description": "style family (e.g. WikiEducator, OP, Line, Blue, etc.)", "aliases": [], "default": "WikiEducator", "type": "string" },		"title": { "label": "Title", "description": "title, if other than the iDevice type", "aliases": ["2"], "default": "", "type": "string" },               "hint": { "label": "Hint", "description": "Tip string for the quiz", "aliases": [], "default": "", "type": "string" },               "classes": { "label": "Classes", "description": "additional HTML classes to apply to iDevice (advanced use only)", "aliases": [], "type": "string" }	} }