Template:Question bank/Monitor

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
--><h3>{{#titleparts:{{{1}}}|-1|2}}</h3><!--
--><h3>{{#titleparts:{{{1}}}|-1|2}}</h3><!--
-
-->{{#ifeq: {{random number|2}}|0<!--
+
-->{{#ifeq: {{random number|2|{{{2}}}}}|0<!--
-
-->|{{question bank/Exam|{{{1}}}|1}}<!--
+
-->|<!--
-
-->|{{Question bank/Monitor/Prompt}}
+
-->{#if: {{question bank/Exam|{{{1}}}|1}}|{{question bank/Exam|{{{1}}}|1}}|{{Question bank/Monitor/Prompt}}}}<!--
-
''Your exam-style question:''
+
-
 
+
-->|{{Question bank/Monitor/Prompt}}<!--
-
 
+
-
''Your answer:''
+
-
 
+
-
 
+
-
 
+
-
<hr/>
+
-
<!--
+
-->}}<!--
-->}}<!--
--></includeonly>
--></includeonly>

Revision as of 01:22, 8 February 2013

This is the documentation for the template Template:Question bank/Monitor

Template:Question bank/Monitor/Doc:
Related Templates
Lesson question/Link produces a link to a Lesson question
Lesson question shortcut to Lesson question/Link
Lesson question/Page subst: for a page that is a Lesson question
Lesson question/Record defines current page as a Lesson Question
Lesson question/Ask format a Lesson Question for printing
Question bank creates a lesson Question Bank
Question bank/Count number of Questions in a Question Bank
Question bank/Question displays a Question in a Question Bank
Question bank/Pick pick a Question in a Question Bank
Question bank/Monitor ask a Question; prompt for a new one

The template {{Question bank/Monitor|question bank|seed}} either prints out a question from the question bank or prompts the student to create a new question for the bank.

seed 
should be unique number for each call on the page so that they don't all print out a question blank at the same time.


To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.

Personal tools