Template:Question bank/Exam/N

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: {{subst:template}})
Current revision (22:36, 7 February 2013) (edit) (undo)
 
(2 intermediate revisions not shown.)
Line 1: Line 1:
<noinclude>{{documentation}}</noinclude><includeonly><!--
<noinclude>{{documentation}}</noinclude><includeonly><!--
-
--><!--
+
-->{{#ifexpr: {{{3}}} < {{{2}}}<!--
 +
 
 +
-->|<!--
 +
 
 +
-->{{#ifexpr: {{{3}}} < {{Question bank/Count|{{{1}}}}}<!--
 +
 
 +
-->|<!--
 +
 
 +
-->{{lesson question/Ask<!--
 +
 
 +
-->|{{question bank/Pick<!--
 +
 
 +
-->|{{{1}}}<!--
 +
 
 +
-->|{{random number<!--
 +
 
 +
-->|{{Question bank/Count|{{{1}}}}}<!--
 +
 
 +
-->|{{#expr:{{#time:z}}+{{{3}}}}}<!--
 +
 
 +
-->}}<!--
 +
 
 +
-->}}<!--
 +
 
 +
-->}}<!--
 +
 
 +
-->}}<!--
 +
 
 +
-->}}<!--
 +
 
--></includeonly>
--></includeonly>

Current revision

This is the documentation for the template Template:Question bank/Exam/N

Template:Question bank/Exam/N/Doc:

The template {{Question bank/Exam/N|Question bank|Num questions|Question N}} prints an Nth random question from the question bank.

Question N 
counts from 0.

If Num questions have been printed, or all questions have been printed, do nothing.

[edit] Support


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

Personal tools