courseAms macro

courseAms macro

  • inline
    • yes
  • content
    • mandatory
      • “Course” reference
  • parameters
    • eng: string to display in ‘en’ language mode
    • ita: string to display in ‘it’ language mode

Examples

{{courseAms}} Courses.Sd2122 {{/courseAms}}

Document “Courses.Sd2122” does not exist

{{courseAms ita="UniBo" eng="UniBo"}} FILm2021 {{/courseAms}}

Document “Courses.FILm2021” does not exist

{{courseAms}} SdLa0708 {{/courseAms}}

Document “Courses.SdLa0708” does not exist

{{courseAms ita="UniBo" eng="UniBo"}} PsiLs0708 {{/courseAms}}

Document “Courses.PsiLs0708” does not exist

Counterexamples

{{courseAms/}}

Macro courseAms needs a “Course” document as its content

{{courseAms}}{{/courseAms}}

Macro courseAms needs a “Course” document as its content

{{courseAms}}pippo{{/courseAms}}

Document “Courses.pippo” does not exist

{{courseAms}} Courses.pippo  {{/courseAms}}

Document “Courses.pippo” does not exist

{{courseAms}} Publications.2pktJelia2021 {{/courseAms}}

Document “Publications.2pktJelia2021” does not exist