Template:Question bank/Exam/N

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: {{subst:template}})
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}}+0}}<!--
 +
 
 +
-->}}<!--
 +
 
 +
-->}}<!--
 +
 
 +
-->}}<!--
 +
 
 +
-->}}<!--
 +
 
 +
-->}}<!--
 +
 
--></includeonly>
--></includeonly>

Revision as of 22:34, 7 February 2013

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.

Support


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

Personal tools