talkCategory macro


talkCategory macro

  • content: mandatory
    • either a category string from Talk object
    • or a reference to a Talk document
  • parameters
    •  plural — singolar / plural
      • admissible values: true ( true | yes | y | vero | v ) / false ( false | no | n | falso | no )
      • default: false 
    •  uppercase — lowercase / uppercase
      • admissible values: true ( true | yes | y | vero | v ) / false ( false | no | n | falso | no )
      • default: false 

Examples

{{talkCategory}} Talk {{/talkCategory}}

Document “Talks.Talk” does not exist

{{talkCategory}} Talks.XaiLpCausal2021 {{/talkCategory}}

{{talkCategory plural='true'}} Talk {{/talkCategory}}

Document “Talks.Talk” does not exist

{{talkCategory plural='TRUE' uppercase='True'}}invited    {{/talkCategory}}

Document “Talks.invited” does not exist

{{talkCategory plural='true' uppercase='True'}}seminar{{/talkCategory}}

Document “Talks.seminar” does not exist

{{talkCategory uppercase='true'}}PhD{{/talkCategory}}

Document “Talks.PhD” does not exist

{{talkCategory plural='true'}}PoSter{{/talkCategory}}

Document “Talks.PoSter” does not exist

Counterexamples

{{talkCategory/}}

Macro talkCategory needs either a “Talk” document or the category of a talk as its content

{{talkCategory}}{{/talkCategory}}

Macro talkCategory needs either a “Talk” document or the category of a talk as its content

{{talkCategory}} {{/talkCategory}}

Macro talkCategory needs either a “Talk” document or the category of a talk as its content

{{talkCategory}} Kangaroo {{/talkCategory}}

Document “Talks.Kangaroo” does not exist

Tags:
Partita IVA: 01131710376 — Copyright © 2008–2023 APICe@DISI – PRIVACY