courseProfessor macro
courseProfessor macro
- inline
- yes
- content
- mandatory
- “Course” reference
- mandatory
- parameters
- linked — professors 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
- admissible values: comma / list / lines / dash / bar
- linked — professors are displayed with a link to their profile
Examples
{{courseProfessor}} Course.Ia9697M2.WebHome {{/courseProfessor}}
{{courseProfessor linked=false}} Sd2122 {{/courseProfessor}}
{{courseProfessor linked='yes'}} PsiLs0708 {{/courseProfessor}}
{{courseProfessor output='dash'}} PsiLs0708 {{/courseProfessor}}
{{courseProfessor output='list'}} PsiLs0708 {{/courseProfessor}}
{{courseProfessor output='list'}} SeDtm2122M1 {{/courseProfessor}}
Counterexamples
{{courseProfessor/}}
{{courseProfessor}}{{/courseProfessor}}
{{courseProfessor}}pippo{{/courseProfessor}}
{{courseProfessor}} Courses.pippo {{/courseProfessor}}
{{courseProfessor}} Publications.2pktJelia2021 {{/courseProfessor}}