Subversion Repositories wimsdev

Rev

Rev 5903 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5903 Rev 10271
Line 7... Line 7...
7
 
7
 
8
 
8
 
9
:example
9
:example
10
 <span class="wims_help_example">Examples</span>
10
 <span class="wims_help_example">Examples</span>
11
 <ul>
11
 <ul>
12
<li><span class="tt wims_code_words">\embed{reply 1}</span> insert the first freestyle reply into the text.</li>
12
  <li><span class="tt wims_code_words">\embed{reply 1}</span> insert the first freestyle reply into the text.</li>
13
<li><span class="tt wims_code_words">\embed{reply 2,10}</span> insert the second freestyle reply into the text,
13
  <li><span class="tt wims_code_words">\embed{reply 2,10}</span> insert the second freestyle reply into the text,
14
with an input field of size 10.</li>
14
with an input field of size 10.</li>
15
<li><span class="tt wims_code_words">\embed{choice 1}</span> insert the first multiple choice into the text.</li>
15
  <li><span class="tt wims_code_words">\embed{choice 1}</span> insert the first multiple choice into the text.</li>
-
 
16
  <li><span class="tt wims_code_words">\embed{reply 1,\i, \pick[\i;]}</span> When type is a multiple choice, insert choice #<span class="tt">\i</span> into the text, but its appearance will be "<span class="tt">\pick[\i;]</span>". With this, you can have very simple choices (A,B,C), but with complex appearances (like mathematics formula).</li>
16
</ul>
17
</ul>
17
 
18
 
18
Special case. If the type of <span class="tt wims_code_words">reply 1</span> is among <span class="tt wims_code_words">checkbox</span>,
19
Special case. If the type of <span class="tt wims_code_words">reply 1</span> is among <span class="tt wims_code_words">checkbox</span>,
19
<span class="tt wims_code_words">click</span>, <span class="tt wims_code_words">radio</span>, <span class="tt wims_code_words">\embed{reply 1,2}</span>
20
<span class="tt wims_code_words">click</span>, <span class="tt wims_code_words">radio</span>, <span class="tt wims_code_words">\embed{reply 1,2}</span>
20
inserts only one of the choices (here the number 2 in this case), either
21
inserts only one of the choices (here the number 2 in this case), either