Template:Quiz Counting/doc

From WikiEducator
Jump to: navigation, search

Documentation for Template:Quiz Counting


Parameters

  • first argument ( or 1= [math]\cdots[/math]) [math]\implies[/math] unique quiz id ( ie 12a)
  • second argument (or 2= [math]\cdots[/math]) [math]\implies[/math] not used but reserved to keep the same format as the Cloze widget
  • third argument (or 3= [math]\cdots[/math]) [math]\implies[/math] 1 to m instances of the counting table template ( ie {{CountingTableE|n=4|Title=Basketball.svg}})
  • n = number of images to be counted
  • Title = title (filename) of the image to be counted
  • ImageWidth = width of the image to be counted

Usage

{{Quiz Counting|09| | {{CountingTableE|n=15|Title=Basketball.svg}} }}

displays the following. Note a green highlighted answer indicates correct and red highlighted answer indicates incorrect.

Basketball.svg Basketball.svg Basketball.svg Basketball.svg Basketball.svg Basketball.svg Basketball.svg Basketball.svg
Basketball.svg Basketball.svg Basketball.svg Basketball.svg Basketball.svg Basketball.svg Basketball.svg


15


{{Quiz Counting|12b| | {{CountingTableE|n=4|Title=Book3.svg|ImageWidth=80px}} {{CountingTableE|n=9|Title=Basketball.svg}} }}

Book3.svg Book3.svg
Book3.svg Book3.svg


4


Basketball.svg Basketball.svg Basketball.svg Basketball.svg Basketball.svg
Basketball.svg Basketball.svg Basketball.svg Basketball.svg


9