Template:Question bank/Monitor

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Current revision (18:22, 12 February 2020) (edit) (undo)
 
(16 intermediate revisions not shown.)
Line 1: Line 1:
-
<noinclude>{{documentation}}</noinclude><includeonly><!--
+
<noinclude>{{documentation}}</noinclude><includeonly><noinclude>
-
--><h2>{{#titleparts:{{{1}}}|-1|2}}</h2>
+
</noinclude><h3>{{#titleparts:{{{1}}}|-1|2}}</h3><noinclude>
-
{{question bank/Exam|{{{1}}}|1}}
+
-
Your exam-style question:
+
 +
</noinclude>{{#ifexist:{{{1}}}||'''{{{1}}} not valid page'''}}<noinclude>
 +
;;; Include an explicit line break. Otherwise first following line will not be paragraph formatted
 +
;;; and will be treated as if it has a hard line break at the end.
 +
</noinclude>{{$}}<noinclude>
-
Your answer:
+
</noinclude>{{#ifexpr: {{random number|4|{{#expr:{{#time:z}}+{{{2}}}}}}} < 2<noinclude>
 +
</noinclude>|<noinclude>
 +
</noinclude>{{#if: {{question bank/Exam|{{{1}}}|1}}|{{question bank/Exam|{{{1}}}|1}}|{{Question bank/Monitor/Prompt}}}}<noinclude>
-
<hr/>
+
</noinclude>|{{Question bank/Monitor/Prompt}}<noinclude>
-
<!--
+
 +
</noinclude>}}<noinclude>
-
--></includeonly>
+
</noinclude></includeonly>

Current revision

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