courseProfessor macro

courseProfessor macro

  • in linea
  • contenuto
    • obbligatorio
      • riferimento a un documento “Course”
  • parametri
    • linked — i professori mostrati linkati al loro profilo
      • valori ammissibili: true ( true | yes | y | vero | v | 1 ) / false ( false | no | n | falso | 0 )
      • default: true 
    • output — il modo in cui mostrare l’elenco dei nomi
      • valori ammissibili:  comma / list / lines / dash / bar 
        • comma produce una lista di nomi separata da virgole
        • list produce un elenco puntato di nomi
        • lines produce nomi su linee diverse
        • dash produce un elenco con trattini
        • bar produce un elenco di nomi separati da barra verticale
      • default: comma 

Esempi

{{courseProfessor}} Course.Ia9697M2.WebHome {{/courseProfessor}}
{{courseProfessor linked=false}} Sd2122 {{/courseProfessor}}

Document “Courses.Sd2122” does not exist

{{courseProfessor linked='yes'}} PsiLs0708 {{/courseProfessor}}

Document “Courses.PsiLs0708” does not exist

{{courseProfessor output='dash'}} PsiLs0708 {{/courseProfessor}}

Document “Courses.PsiLs0708” does not exist

{{courseProfessor output='list'}} PsiLs0708 {{/courseProfessor}}

Document “Courses.PsiLs0708” does not exist

{{courseProfessor output='list'}} SeDtm2122M1 {{/courseProfessor}}

Document “Courses.SeDtm2122M1” does not exist

Controesempi

{{courseProfessor/}}

Macro courseProfessor needs a “Course” document as its content

{{courseProfessor}}{{/courseProfessor}}

Macro courseProfessor needs a “Course” document as its content

{{courseProfessor}}pippo{{/courseProfessor}}

Document “Courses.pippo” does not exist

{{courseProfessor}} Courses.pippo  {{/courseProfessor}}

Document “Courses.pippo” does not exist

{{courseProfessor}} Publications.2pktJelia2021 {{/courseProfessor}}

Document “Publications.2pktJelia2021” does not exist