projectContext macro

projectContext macro

  • inline
    • yes
  • content
    • mandatory
      • “Projects” reference
  • parameters
    •  short — short / long version
      • admissible values: true ( true | yes | y | vero | v | 1 ) / false ( false | no | n | falso | 0 )
      • default: true 
    •  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

{{projectContext}}Aequitas.WebHome{{/projectContext}}

international

{{projectContext uppercase='false'}} Project.Tailor{{/projectContext}}

international

{{projectContext uppercase='true' short='true'}} AI4EUROPE {{/projectContext}}

International

{{projectContext plural='true' short='false'}} regional {{/projectContext}}

regional projects

Counterexamples

{{projectContext/}}

Macro projectContext needs either a “Projects” document or the status of a project as its content

{{projectContext}}  {{/projectContext}}

Macro projectContext needs either a “Projects” document or the status of a project as its content

{{projectContext}} pippo  {{/projectContext}}

Document “Project.pippo” does not exist

{{projectContext}} Project.pippo{{/projectContext}}

Document “Project.pippo” does not exist

{{projectContext}} Publication.2pktJelia2021  {{/projectContext}}

No “Projects” object in document “Publication.2pktJelia2021”