courseName macro

Error number 4001 in 4: Error while evaluating velocity template menus_content.vm

courseName macro

  • inline
    • yes
  • content
    • mandatory
      • “Course” reference
  • parameters
    • linked — name linked to the course page
      • admissible values: true ( true | yes | y | vero | v ) / false ( false | no | n | falso | no )
      • default: true 

Examples

{{courseName}} Courses.Sd2122 {{/courseName}}
{{courseName linked=false}} Sd2122 {{/courseName}}

Distributed Systems

{{courseName linked='yes'}} PsiLs0708 {{/courseName}}
{{courseName linked='whatever'}} PsiLs0708 {{/courseName}}

Counterexamples

{{courseName/}}

Macro courseName needs a “Course” document as its content

{{courseName}}{{/courseName}}

Macro courseName needs a “Course” document as its content

{{courseName}}pippo{{/courseName}}

Document “Courses.pippo” does not exist

{{courseName}} Courses.pippo  {{/courseName}}

Document “Courses.pippo” does not exist

{{courseName}} Publications.2pktJelia2021 {{/courseName}}

Document “Publications.2pktJelia2021” does not contain a “Course” object

Tags:
Error number 4001 in 4: Error while evaluating velocity template endpage.vm