Wiki source code of ReferenceClassSheet
Version 8.1 by Marius Dumitru Florea on 2012/07/05
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | #set($class = $doc.getObject("XWiki.ReferenceClass").xWikiClass) |
2 | |||
![]() |
1.12 | 3 | <style> |
4 | .code { | ||
5 | width: auto; | ||
6 | } | ||
7 | </style> | ||
8 | |||
![]() |
6.3 | 9 | #if ($context.action == "inline") |
![]() |
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 | ||
![]() |
6.6 | 12 | #if ($doc.title == "" || $context.action == "inline") |
![]() |
7.6 | 13 | 1 $doc.display("Project") |
![]() |
6.4 | 14 | #end |
![]() |
1.19 | 15 | |
![]() |
1.35 | 16 | <div style="width: 750px; vertical-align: top;"> |
![]() |
1.20 | 17 | |
![]() |
1.30 | 18 | <div style="float: right;"> |
![]() |
1.21 | 19 | |
![]() |
1.13 | 20 | <div style=" |
21 | border: 1px; | ||
22 | border-color: #000000; | ||
![]() |
1.16 | 23 | border-style: dashed; |
24 | width: 300px; | ||
![]() |
1.13 | 25 | padding: 10px; |
![]() |
1.20 | 26 | margin-bottom: 10px; |
![]() |
1.13 | 27 | "> |
28 | 1.1.1 General Information | ||
29 | |||
![]() |
1.15 | 30 | * Organization: *$doc.display("Organization")* |
31 | * Contact: $doc.display("Contact") | ||
32 | * Website: $doc.display("URL") | ||
![]() |
1.13 | 33 | </div> |
34 | |||
35 | <div style=" | ||
36 | border: 1px; | ||
37 | border-color: #000000; | ||
38 | border-style: solid; | ||
39 | width: 300px; | ||
40 | padding: 10px; | ||
![]() |
1.20 | 41 | margin-top: 10px; |
![]() |
1.13 | 42 | "> |
43 | 1.1.1 Usage | ||
44 | $doc.display("Usage") | ||
![]() |
1.10 | 45 | |
![]() |
1.13 | 46 | 1.1.1 Description |
47 | $doc.display("Description") | ||
![]() |
1.20 | 48 | </div> |
![]() |
1.10 | 49 | |
![]() |
1.30 | 50 | </div> |
![]() |
1.31 | 51 | |
52 | #if ($doc.attachmentList.size() > 0) | ||
53 | #set ($attach = $doc.attachmentList.get(0)) | ||
54 | #set ($url = $doc.display("URL").trim()) | ||
55 | #if ($url != "") | ||
56 | <a href="$url"> | ||
57 | #end | ||
![]() |
1.38 | 58 | <img style="width: 400px; border: 1px solid #000000; margin-top: 14px;" src="$doc.getAttachmentURL($attach.filename,"download")"/> |
![]() |
1.31 | 59 | #if ($url != "") |
60 | </a> | ||
61 | #end | ||
![]() |
1.41 | 62 | #else |
![]() |
6.1 | 63 | <img style="width: 400px; border: 1px solid #000000; margin-top: 14px;" src="/xwiki/bin/download/XWiki/ReferenceClassSheet/XWikiReference-3.jpg"/> |
![]() |
1.31 | 64 | #end |
65 | |||
![]() |
1.30 | 66 | </div> |
![]() |
1.32 | 67 | |
68 | <div style="clear:both; margin-bottom: 40px;"><!-- --></div> |