Wiki source code of ReferenceClassSheet
Version 1.49 by Guillaume Lerouge on 2007/03/29
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | #set($class = $doc.getObject("XWiki.ReferenceClass").xWikiClass) | ||
2 | |||
3 | <style> | ||
4 | .code { | ||
5 | width: auto; | ||
6 | } | ||
7 | </style> | ||
8 | |||
9 | 1 $doc.display("Project") | ||
10 | |||
11 | <div style="width: 750px; vertical-align: top;"> | ||
12 | |||
13 | <div style="float: right;"> | ||
14 | |||
15 | <div style=" | ||
16 | border: 1px; | ||
17 | border-color: #000000; | ||
18 | border-style: dashed; | ||
19 | width: 300px; | ||
20 | padding: 10px; | ||
21 | margin-bottom: 10px; | ||
22 | "> | ||
23 | 1.1.1 General Information | ||
24 | |||
25 | * Organization: *$doc.display("Organization")* | ||
26 | * Contact: $doc.display("Contact") | ||
27 | * Website: $doc.display("URL") | ||
28 | </div> | ||
29 | |||
30 | <div style=" | ||
31 | border: 1px; | ||
32 | border-color: #000000; | ||
33 | border-style: solid; | ||
34 | width: 300px; | ||
35 | padding: 10px; | ||
36 | margin-top: 10px; | ||
37 | "> | ||
38 | 1.1.1 Usage | ||
39 | $doc.display("Usage") | ||
40 | |||
41 | 1.1.1 Description | ||
42 | $doc.display("Description") | ||
43 | </div> | ||
44 | |||
45 | </div> | ||
46 | |||
47 | #if ($doc.attachmentList.size() > 0) | ||
48 | #set ($attach = $doc.attachmentList.get(0)) | ||
49 | #set ($url = $doc.display("URL").trim()) | ||
50 | #if ($url != "") | ||
51 | <a href="$url"> | ||
52 | #end | ||
53 | <img style="width: 400px; border: 1px solid #000000; margin-top: 14px;" src="$doc.getAttachmentURL($attach.filename,"download")"/> | ||
54 | #if ($url != "") | ||
55 | </a> | ||
56 | #end | ||
57 | #else | ||
58 | <img style="width: 400px; border: 1px solid #000000; margin-top: 14px;" src="/xwiki/bin/download/XWiki/ReferenceClassSheet/XWikiOrgReference.png"/> | ||
59 | #end | ||
60 | |||
61 | </div> | ||
62 | |||
63 | <div style="clear:both; margin-bottom: 40px;"><!-- --></div> |