courseName macro

courseName macro

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

Examples

{{courseName}} Courses.Sd2122 {{/courseName}}

Document “Courses.Sd2122” does not exist

{{courseName linked="false"}} Course.Ia9697M2 {{/courseName}}

Artificial Intelligence (Module 2)

{{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 “Course.pippo” does not exist

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

Document “Courses.pippo” does not exist

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

Document “Publications.2pktJelia2021” does not exist