Wiki source code of ReferenceClassSheet

Last modified by Benjamin Lanciaux on 2012/12/20

Hide last authors
Vincent Massol 1.1 1 #set($class = $doc.getObject("XWiki.ReferenceClass").xWikiClass)
2
Vincent Massol 1.12 3 <style>
4 .code {
5 width: auto;
6 }
7 </style>
8
Vincent Massol 6.3 9 #if ($context.action == "inline")
Vincent Massol 6.2 10 #info("In order to insert your own image, add it as an attachment at the bottom of the page when viewing the page.")
11 #end
Vincent Massol 6.6 12 #if ($doc.title == "" || $context.action == "inline")
Marius Dumitru Florea 7.6 13 1 $doc.display("Project")
Vincent Massol 6.4 14 #end
Guillaume Lerouge 1.19 15
Guillaume Lerouge 1.35 16 <div style="width: 750px; vertical-align: top;">
Guillaume Lerouge 1.20 17
Guillaume Lerouge 1.30 18 <div style="float: right;">
Guillaume Lerouge 1.21 19
Guillaume Lerouge 1.13 20 <div style="
21 border: 1px;
22 border-color: #000000;
Guillaume Lerouge 1.16 23 border-style: dashed;
24 width: 300px;
Guillaume Lerouge 1.13 25 padding: 10px;
Guillaume Lerouge 1.20 26 margin-bottom: 10px;
Guillaume Lerouge 1.13 27 ">
28 1.1.1 General Information
29
Guillaume Lerouge 1.15 30 * Organization: *$doc.display("Organization")*
Benjamin Lanciaux 9.1 31 * Developed by: *$doc.display("DevelopedBy")*
Guillaume Lerouge 1.15 32 * Contact: $doc.display("Contact")
33 * Website: $doc.display("URL")
Guillaume Lerouge 1.13 34 </div>
35
36 <div style="
37 border: 1px;
38 border-color: #000000;
39 border-style: solid;
40 width: 300px;
41 padding: 10px;
Guillaume Lerouge 1.20 42 margin-top: 10px;
Guillaume Lerouge 1.13 43 ">
44 1.1.1 Usage
45 $doc.display("Usage")
Vincent Massol 1.10 46
Guillaume Lerouge 1.13 47 1.1.1 Description
48 $doc.display("Description")
Guillaume Lerouge 1.20 49 </div>
Vincent Massol 1.10 50
Guillaume Lerouge 1.30 51 </div>
Guillaume Lerouge 1.31 52
53 #if ($doc.attachmentList.size() > 0)
54 #set ($attach = $doc.attachmentList.get(0))
55 #set ($url = $doc.display("URL").trim())
56 #if ($url != "")
57 <a href="$url">
58 #end
Guillaume Lerouge 1.38 59 <img style="width: 400px; border: 1px solid #000000; margin-top: 14px;" src="$doc.getAttachmentURL($attach.filename,"download")"/>
Guillaume Lerouge 1.31 60 #if ($url != "")
61 </a>
62 #end
Guillaume Lerouge 1.41 63 #else
Guillaume Lerouge 6.1 64 <img style="width: 400px; border: 1px solid #000000; margin-top: 14px;" src="/xwiki/bin/download/XWiki/ReferenceClassSheet/XWikiReference-3.jpg"/>
Guillaume Lerouge 1.31 65 #end
66
Guillaume Lerouge 1.30 67 </div>
Guillaume Lerouge 1.32 68
69 <div style="clear:both; margin-bottom: 40px;"><!-- --></div>

Get Connected