projectRole macro

projectRole macro

  • inline
    • yes
  • content
    • mandatory
      • role in a project
  • parameters
    •  short — short / long version
      • admissible values: true ( true | yes | y | vero | v | 1 ) / false ( false | no | n | falso | 0 )
      • default: false 
    •  plural – singolar / plural
      • admissible values: true ( true | yes | y | vero | v | 1 ) / false ( false | no | n | falso | 0 )
        • default: false 
    •  uppercase — lowercase / uppercase
      • admissible values: true ( true | yes | y | vero | v | 1 ) / false ( false | no | n | falso | 0 )
        • default: false 

Examples

{{projectRole}}pi{{/projectRole}}

principal investigator

{{projectRole uppercase='false'}} local{{/projectRole}}

unit coordinator

{{projectRole uppercase='true' short='true'}} Coordinator {{/projectRole}}

Coordinator

{{projectRole plural='true'}} wp {{/projectRole}}

wp leaders

Counterexamples

{{projectRole/}}

Macro projectRole needs a role in a project as its content

{{projectRole}}  {{/projectRole}}

Macro projectRole needs a role in a project as its content

{{projectRole}} pippo  {{/projectRole}}

“pippo” is not a known role for a project

{{projectContext}} Projects.pippo{{/projectContext}}

Document “Projects.pippo” does not exist

{{projectContext}} Publications.2pktJelia2021  {{/projectContext}}

Document “Publications.2pktJelia2021” does not exist