Wiki source code of 2021
Version 4.1 by David De La Harpe Golden on 2021/01/17 21:18
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | #macro(thumbs $docref) | ||
| 3 | #set($document = $xwiki.getDocument($docref)) | ||
| 4 | #foreach($attach in $collectiontool.sort($document.getAttachmentList(),["filename"])) | ||
| 5 | #if($foreach.count > 10) | ||
| 6 | [[(+)>>$docref]] | ||
| 7 | #break | ||
| 8 | #end | ||
| 9 | #set($attachName = $attach.filename)[[[[image:$docref@$attachName||height="48"]]>>$docref]] #end | ||
| 10 | #end | ||
| 11 | {{/velocity}} | ||
| 12 | |||
| 13 | |||
| 14 | {{container layoutStyle="columns"}} | ||
| 15 | ((( | ||
| 16 | |||
| 17 | == [[01 January>>Gallery.2021.01.WebHome]] == | ||
| 18 | |||
| 19 | |||
| 20 | === [[Fernhill>>Gallery.2021.01.Fernhill.WebHome]] === | ||
| 21 | |||
| 22 | {{velocity}} | ||
| 23 | #thumbs("Gallery.2021.01.Fernhill.WebHome") | ||
| 24 | {{/velocity}} | ||
| 25 | ))) | ||
| 26 | ((( | ||
| 27 | |||
| 28 | ))) | ||
| 29 | {{/container}} |