talkSpeakers macro

  • content: mandatory
    • Talk Speakers
  • parameters
    • linked — speakers are displayed with a link to their profile
      • admissible values: true (true | yes | y | vero | v) , false (false | no | n | falso | no), people, title
      • default: true 
    •  output — the way in which the person names are going to be displayed
      • admissible values: comma / list / lines / dash / bar 
      • default: comma 
      • value comma displays a comma-separated list of names
      • value list displays an actual list of names
      • value lines displays names in different lines
      • value dash displays a dashed list of name
      • value bar displays a bar-separated list of names
  • examples
    • {{talkSpeakers}} Talks.XaiLpCausal2021 {{/talkSpeakers}} prints as Giuseppe Pisano, Marco Billi
    • {{talkSpeakers}} 2pktJelia2021 {{/talkSpeakers}} prints as Giovanni Ciatto
    • {{talkSpeakers output='comma'}} Talks.XaiLpCausal2021 {{/talkSpeakers}} prints as Giuseppe Pisano, Marco Billi
    • {{talkSpeakers output='list'}}Talks.XaiLpCausal2021{{/talkSpeakers}} prints as
      • Marco Billi
    • {{talkSpeakers output='lines' linked='false'}}Talks.XaiLpCausal2021{{/talkSpeakers}} prints as Giuseppe Pisano
      Marco Billi
    • {{talkSpeakers output='dash' linked='TRUE'}}Talks.XaiLpCausal2021{{/talkSpeakers}} prints as — Giuseppe Pisano
      — Marco Billi
    • {{talkSpeakers output='dash' linked='FALSE'}}Talks.XaiLpCausal2021{{/talkSpeakers}} prints as — Giuseppe Pisano
      — Marco Billi
    • {{talkSpeakers output='bar' linked='puffo'}}Talks.XaiLpCausal2021{{/talkSpeakers}} prints as Giuseppe Pisano | Marco Billi
  • counterexamples
    • {{talkSpeakers/}} prints as Macro talkSpeakers needs a “Talk” document as its content
    • {{talkSpeakers}}{{/talkSpeakers}} prints as Macro talkSpeakers needs a “Talk” document as its content
    • {{talkSpeakers}}pippo{{/talkSpeakers}} prints as Document “Talks.pippo” does not exist
    • {{talkSpeakers}} Talks.pippo  {{/talkSpeakers}} prints as Document “Talks.pippo” does not exist
    • {{talkSpeakers}} Publications.2pktJelia2021 {{/talkSpeakers}} prints as Document “Publications.2pktJelia2021” does not contain a Talk object
Tags:
    
Partita IVA: 01131710376 - Copyright © 2008-2021 APICe@DISI Research Group - PRIVACY