Show last authors
1 ={{code language='xwiki'}}namesFromUsers{{/code}} macro=
2
3 {{include reference='Main.Environment'/}}
4
5 * {{stringEngIta eng="inline" ita="in linea"/}}
6 ** {{stringEngIta eng="yes" ita="sì"/}}
7 * {{stringEngIta eng="content" ita="contenuto"/}}
8 ** {{stringEngIta eng="optional" ita="opzionale"/}}
9 *** {{stringEngIta eng="list of {{apice/}} users" ita="lista di utenti {{apice/}}"/}}
10 * {{stringEngIta eng="parameters" ita="parametri"/}}
11 ** ##linked## — {{stringEngIta eng="supervisors are displayed with a link to their profile" ita="i supervisori mostrati linkati al loro profilo"/}}
12 *** {{stringEngIta eng="admissible values" ita="valori ammissibili"/}}: ##true## {{velocity}}(#foreach( $true in $trueStringList )#if( $velocityCount > 1 ) | #end(% style='font-size:smaller; font-family:monospace; color:$theme.textPrimaryColor' %)$true(%%)#end) {{/velocity}}## ##/## false ##{{velocity}}(#foreach( $false in $falseStringList )
13 #if( $velocityCount > 1 ) | #end(% style='font-size:smaller; font-family:monospace; color:$theme.textPrimaryColor' %)$false(%%)#end){{/velocity}}
14 *** default:## true ##
15 ** ##output## — {{stringEngIta eng="the way in which names are going to be displayed" ita="il modo in cui mostrare l’elenco dei nomi"/}}
16 *** {{stringEngIta eng="admissible values" ita="valori ammissibili"/}}: ## comma ##/## list ##/## lines ##/## dash ##/## bar ##
17 **** ##comma ##{{stringEngIta eng="displays a comma-separated list of names" ita="produce una lista di nomi separata da virgole"/}}
18 **** ##list ##{{stringEngIta eng="displays an actual list of names" ita="produce un elenco puntato di nomi"/}}
19 **** ##lines ##{{stringEngIta eng="displays names in different lines" ita="produce nomi su linee diverse"/}}
20 **** ##dash ##{{stringEngIta eng="displays a dashed list of name" ita="produce un elenco con trattini"/}}
21 **** ##bar ##{{stringEngIta eng="displays a bar-separated list of names" ita="produce un elenco di nomi separati da barra verticale"/}}
22 *** default:## comma ##
23
24 == {{stringEngIta eng="Examples" ita="Esempi"/}} ==
25
26 {{source}}
27 {{namesFromUsers}}{{/namesFromUsers}}
28 {{/source}}
29
30 {{source}}
31 {{namesFromUsers linked='TRUE'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
32 {{/source}}
33
34 {{source}}
35 {{namesFromUsers linked='false'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
36 {{/source}}
37
38 {{source}}
39 {{namesFromUsers output='list'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
40 {{/source}}
41
42 {{source}}
43 {{namesFromUsers output='list' linked='FALSE'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
44 {{/source}}
45
46 {{source}}
47 {{namesFromUsers output='lines'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
48 {{/source}}
49
50 {{source}}
51 {{namesFromUsers output='lines' linked='false'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
52 {{/source}}
53
54 {{source}}
55 {{namesFromUsers output='dash'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
56 {{/source}}
57
58 {{source}}
59 {{namesFromUsers output='dash' linked='false'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
60 {{/source}}
61
62 {{source}}
63 {{namesFromUsers output='bar'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
64 {{/source}}
65
66 {{source}}
67 {{namesFromUsers output='bar' linked='false'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
68 {{/source}}
69
70 {{source}}
71 {{namesFromUsers output='lessfish'}}XWiki.AndreaOmicini, MirkoViroli, Criceto di Mare{{/namesFromUsers}}
72 {{/source}}
73
74 {{source}}
75 {{velocity}}
76 #set( $talkDoc = $xwiki.getDocument('Talks.Lptech4masAamas2021') )
77 {{namesFromUsers output='list'}}$talkDoc.getValue('authors'){{/namesFromUsers}}
78 {{/velocity}}
79 {{/source}}
80
81 {{source}}
82 {{velocity}}
83 #set( $talkDoc = $xwiki.getDocument('Talks.Lptech4masAamas2021') )
84 {{namesFromUsers output=" BAR "}}$talkDoc.getValue('authors'){{/namesFromUsers}}
85 {{/velocity}}
86 {{/source}}
87
88 {{source}}
89 {{velocity}}
90 #set( $talkDoc = $xwiki.getDocument('Talks.Lptech4masAamas2021') )
91 {{namesFromUsers output='list' linked='no'}}$talkDoc.getValue('authors'){{/namesFromUsers}}
92 {{/velocity}}
93 {{/source}}
Partita IVA: 01131710376 - Copyright © 2008-2022 APICe@DISI Research Group - PRIVACY