Changes for page Featured
Last modified by Tobias Wintrich on 2025/06/04 09:20
From version 11.1
edited by Tobias Wintrich
on 2021/10/05 09:01
on 2021/10/05 09:01
Change comment:
There is no comment for this version
To version 14.1
edited by Tobias Wintrich
on 2021/10/05 09:03
on 2021/10/05 09:03
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,9 @@ 1 - {{Feraturedbold="true"/}}1 +Dieses Makro zeigt alle Artikel mit dem Tag "Featured" an. 2 2 3 += Standard = 3 3 5 +{{Feratured/}} 4 4 7 += Mit Option "Bold/ Fett gedruckt" = 8 + 9 +{{Feratured bold="true"/}}
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -5,11 +5,11 @@ 5 5 #set ($results= $xwiki.searchDocuments($sql)) 6 6 {{html}} 7 7 #if($wikimacro.parameters.bold == 'true') 8 -<div style='font-weight =bold;'>8 +<div style='font-weight: bold;'> 9 9 #end 10 10 #foreach ($result in $results) 11 11 #set($doc= $xwiki.getDocument($result)) 12 -<a href="$doc.getURL()">$escapetool.xml($doc.plainTitle)</a> 12 +<a href="$doc.getURL()">$escapetool.xml($doc.plainTitle)</a><br/> 13 13 #end 14 14 #if($wikimacro.parameters.bold == 'true') 15 15 </div>