Changes for page Featured

Last modified by Tobias Wintrich on 2025/06/04 09:20

From version 8.1
edited by Tobias Wintrich
on 2021/10/05 08:59
Change comment: There is no comment for this version
To version 10.1
edited by Tobias Wintrich
on 2021/10/05 09:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,4 @@
1 -{{Feratured}}{{/Feratured}}
1 +{{Feratured bold="true"/}}
2 2  
3 3  
4 4  
5 -
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -10,9 +10,9 @@
10 10  #foreach ($result in $results)
11 11  #set($doc= $xwiki.getDocument($result))
12 12  <a href="$doc.getURL()">$escapetool.xml($doc.plainTitle)</a>
13 +#end
13 13  #if($wikimacro.parameters.bold == 'true')
14 14  </b>
15 15  #end
16 -#end
17 17  {{/html}}
18 18  {{/velocity}}