Template:Quiz Spelling

From WikiEducator
Jump to: navigation, search

[edit]

Documentation


Parameters

  • first argument (1 = [math]\cdots[/math]) [math]\implies[/math] unique id for the quiz (characters and/or numbers)
  • second argument (2 = [math]\cdots[/math]) instructions for completing the spelling quiz. If the Info parameter is not used, the default value, "Play the audio clip. Enter the word in the box," will be used.
  • third argument (3 = [math]\cdots[/math]) [math]\implies[/math] a template or templates for audio/answer pairs. For example Template:OralSpellingInner
  • audm (where m is an integer between 1 and 10, eg. aud3) = the audio filename for question m.
  • ansm (where m is an integer between 1 and 10, eg. ans3) = the answer for question m.

Note: audm and ansm must come in pairs.


Usage

Add the following to your page

{{Quiz_Spelling|id1|Jouer le clip audio. Entrez le mot dans la boîte.| {{OralSpellingInner|fr-dessous.ogg|<u>dessous</u>}} {{OralSpellingInner|fr-dessus.ogg|<u>dessus</u>}} {{OralSpellingInner|fr-oiseau.ogg|<u>un</u> <u>oiseau</u>}} }}


which displays as:

Icon qmark.gif

Jouer le clip audio. Entrez le mot dans la boîte.

dessous


dessus


un oiseau



{{Quiz_Spelling|id2|Jouer le clip audio. Entrez le mot dans la boîte. |aud1=fr-dessous.ogg|ans1=<u>dessous</u> |aud2=fr-dessus.ogg|ans2=<u>dessus</u> |aud3=fr-oiseau.ogg|ans3=<u>un oiseau</u> }}

which displays

Icon qmark.gif

Jouer le clip audio. Entrez le mot dans la boîte.


dessous
dessus
un oiseau