courseTutors macro

courseTutors macro

  • inline
    • yes
  • content
    • mandatory
      • “Course” reference
  • parameters
    • linked — supervisors are displayed with a link to their profile
      • admissible values: true ( true | yes | y | vero | v | 1 ) / false ( false | no | n | falso | 0 )
      • default: true 
    • output — the way in which names are going to be displayed
      • admissible values:  comma / list / lines / dash / bar 
        • comma displays a comma-separated list of names
        • list displays an actual list of names
        • lines displays names in different lines
        • dash displays a dashed list of name
        • bar displays a bar-separated list of names
      • default: comma 

Examples

{{courseTutors}} Courses.Sd2122 {{/courseTutors}}

Document “Courses.Sd2122” does not exist

{{courseTutors linked=false}} Sd2122 {{/courseTutors}}

Document “Courses.Sd2122” does not exist

{{courseTutors linked='yes'}} Oop1718 {{/courseTutors}}

Document “Courses.Oop1718” does not exist

{{courseTutors output='dash'}} Oop1718 {{/courseTutors}}

Document “Courses.Oop1718” does not exist

{{courseTutors output='list'}} Oop1718 {{/courseTutors}}

Document “Courses.Oop1718” does not exist

Counterexamples

{{courseTutors/}}

Macro courseTutors needs a “Course” document as its content

{{courseTutors}}{{/courseTutors}}

Macro courseTutors needs a “Course” document as its content

{{courseTutors}}pippo{{/courseTutors}}

Document “Courses.pippo” does not exist

{{courseTutors}} Courses.pippo  {{/courseTutors}}

Document “Courses.pippo” does not exist

{{courseTutors}} Publications.2pktJelia2021 {{/courseTutors}}

Document “Publications.2pktJelia2021” does not exist