courseCycle macro

courseCycle macro

  • inline
    • yes
  • content
    • mandatory
      • “Course” reference
  • parameters
    • uppercase — displays the uppercase / lowercase version of the string
      • admissible values: true (true | yes | y | vero | v | 1)  / false (false | no | n | falso | 0) / mixed 
      • default: mixed 

Examples

{{courseCycle}} Courses.Sd2122 {{/courseCycle}}

Document “Courses.Sd2122” does not exist

{{courseCycle uppercase="yes"}} Ifts1516 {{/courseCycle}}

Document “Courses.Ifts1516” does not exist

{{courseCycle uppercase"mixed"}} SdLa0708 {{/courseCycle}}

Document “Courses.SdLa0708” does not exist

{{courseCycle uppercase="no"}} PsiLs0708 {{/courseCycle}}

Document “Courses.PsiLs0708” does not exist

{{courseCycle uppercase="anywrongstring"}} PsiLs0708 {{/courseCycle}}

Document “Courses.PsiLs0708” does not exist

Counterexamples

{{courseCycle/}}

Macro courseCycle needs a “Course” document as its content

{{courseCycle}}{{/courseCycle}}

Macro courseCycle needs a “Course” document as its content

{{courseCycle}}pippo{{/courseCycle}}

Document “Courses.pippo” does not exist

{{courseCycle}} Courses.pippo  {{/courseCycle}}

Document “Courses.pippo” does not exist

{{courseCycle}} Publications.2pktJelia2021 {{/courseCycle}}

Document “Publications.2pktJelia2021” does not exist