Wiki source code of Not Defined

Last modified by Vincent Massol on 2025/06/12 10:48

Show last authors
1 {{velocity}}
2 #set($discard = $xwiki.ssx.use("XWiki.ReferenceSheet"))
3 #set($object = $doc.getObject("XWiki.ReferenceClass"))
4 #set($editMode = $context.action == "edit" || $context.action == "inline")
5
6 #if ($editMode)
7 {{info}}In order to insert your own image, add it as an attachment at the bottom of the page when viewing the page.{{/info}}
8 Project name: $doc.display("Project")
9 #end
10
11 (%class="row reference"%)(((
12 (%class="col-xs-12 col-sm-6 pull-right snapshot"%)(((
13 #if ($doc.attachmentList.size() > 0)
14 #foreach ($attach in $doc.attachmentList)
15 #if ($attach.isImage())
16 #set ($url = $object.getProperty('URL').getValue().trim())
17 #if ($url != "")
18 [[[[image:${attach.filename}||class="img-thumbnail"]]>>${url}]]
19 #else
20 [[image:${attach.filename}||class="img-thumbnail"]]
21 #end
22 #end
23 #end
24 #else
25 [[image:[email protected]||class="img-thumbnail"]]
26 #end
27 )))
28
29 (%class="col-xs-12 col-sm-6 summary"%)(((
30 == General Information
31
32 #macro (displayProperty $propertyName $propertyId)
33 ; $propertyName
34 #if($editMode)
35 : $doc.display($propertyId)
36 #else
37 #set ($display = $object.getProperty($propertyId).getValue())
38 #if ("$!display" == '')
39 #set ($display = "Not provided")
40 #end
41 : $display
42 #end
43 #end
44
45 #displayProperty('Organization', 'Organization')
46 #displayProperty('DevelopedBy', 'DevelopedBy')
47 #displayProperty('Contact', 'Contact')
48 #displayProperty('URL', 'URL')
49 )))
50 (%class="col-xs-12 col-sm-6"%)(((
51 == Usage ==
52 $doc.display("Usage")
53
54 == Description ==
55 $doc.display("Description")
56 )))
57 )))
58 {{/velocity}}

Get Connected