projectStatus macro

projectStatus 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

{{projectStatus}}Aequitas.WebHome{{/projectStatus}}

ongoing

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

ongoing

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

Ongoing

{{projectStatus plural='true'}} ongoing {{/projectStatus}}

ongoing

Counterexamples

{{projectStatus/}}

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

{{projectStatus}}  {{/projectStatus}}

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

{{projectStatus}} pippo  {{/projectStatus}}

Document “Project.pippo” does not exist

{{projectStatus}} Project.pippo{{/projectStatus}}

Document “Project.pippo” does not exist

{{projectStatus}} Publication.2pktJelia2021  {{/projectStatus}}

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