Template

Template

by kevin Hsu -
Number of replies: 1

Hello Richard , I am a Taiwanese . I speak Chinese . My English ability is not good . I am sorry , I have so many questions.

I know I can see the explanations when I click the icon.

02ogvkU.png 

I tried these features many times , but I still can't try them successfully.

do7GjHU.png

dFoVp7v.png

template

P8pulRu.png

yeWElSD.png

Can you give me some "examples" about the features above ?

In reply to kevin Hsu

Re: Template

by Richard Lobb -

Hi Kevin. There are rather a lot of questions in there and many of them might take a long time to explain in any detail. So I'll try to give you quick pointers to the relevant documentation and/or examples.

  1. Template debugging. When this checkbox is checked, if you save and preview the question you'll get to see the actual code being submitted to the Jobe server, i.e. the code obtained by expanding the template with the student's answer and any other template parameters.
  2. Hoist template parameters and twig all. Ignore these for now. Hoist template parameters should be checked for all modern questions and is unchecked only if you wish to preserve compatibility with much older questions. Twig all is only for very advanced users - ignore it for now.
  3. Is prototype: see the youtube video "defining new question types" and the documentation on user-defined question types.
  4. Ace language: see https://github.com/trampgeek/moodle-qtype_coderunner#supporting-or-implementing-new-languages