namesFromUsers macro


namesFromUsers macro

  • inline
    • yes
  • content
    • optional
      • list of APICe users
  • parameters
    • linked — supervisors are displayed with a link to their profile
      • admissible values: true (true | yes | y | vero | v)  / false (false | no | n | falso | no)
      • default: true 
    • output — the way in which names are going to be displayed
      • admissible values:  comma / list / lines / dash / bar 
        • comma displays a comma-separated list of names
        • list displays an actual list of names
        • lines displays names in different lines
        • dash displays a dashed list of name
        • bar displays a bar-separated list of names
      • default: comma 

Examples

{{namesFromUsers}}{{/namesFromUsers}}

{{namesFromUsers linked='TRUE'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}

Andrea Omicini, Mirko Viroli, Criceto di Mare

{{namesFromUsers linked='false'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}

Andrea Omicini, Mirko Viroli, Criceto di Mare

{{namesFromUsers output='list'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
{{namesFromUsers output='list' linked='FALSE'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}

  • Andrea Omicini
  • Mirko Viroli
  • Criceto di Mare

{{namesFromUsers output='lines'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
{{namesFromUsers output='lines' linked='false'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}

Andrea Omicini
Mirko Viroli
Criceto di Mare

{{namesFromUsers output='dash'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}

Andrea Omicini
Mirko Viroli
— Criceto di Mare

{{namesFromUsers output='dash' linked='false'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}

— Andrea Omicini
— Mirko Viroli
— Criceto di Mare

{{namesFromUsers output='bar'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}

Andrea Omicini | Mirko Viroli | Criceto di Mare

{{namesFromUsers output='bar' linked='false'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}

Andrea Omicini | Mirko Viroli | Criceto di Mare

{{namesFromUsers output='lessfish'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}

Andrea Omicini, Mirko Viroli, Criceto di Mare

{{velocity}}
#set( $talkDoc = $xwiki.getDocument('Talks.Lptech4masAamas2021') )
{{namesFromUsers output='list'}}$talkDoc.getValue('authors'){{/namesFromUsers}}
{{/velocity}}
{{velocity}}
#set( $talkDoc = $xwiki.getDocument('Talks.Lptech4masAamas2021') )
{{namesFromUsers output=" BAR "}}$talkDoc.getValue('authors'){{/namesFromUsers}}
{{/velocity}}
{{velocity}}
#set( $talkDoc = $xwiki.getDocument('Talks.Lptech4masAamas2021') )
{{namesFromUsers output='list' linked='no'}}$talkDoc.getValue('authors'){{/namesFromUsers}}
{{/velocity}}

  • Roberta Calegari
  • Giovanni Ciatto
  • Viviana Mascardi
  • Andrea Omicini

Tags:
Partita IVA: 01131710376 - Copyright © 2008-2022 APICe@DISI Research Group - PRIVACY