Changes for page InfoboxStyles
Last modified by Mads Pedersen on 2026/07/28 06:53
From version 8.12
edited by Mads Pedersen
on 2026/01/20 14:57
on 2026/01/20 14:57
Change comment:
There is no comment for this version
To version 8.15
edited by Mads Pedersen
on 2026/01/20 16:19
on 2026/01/20 16:19
Change comment:
There is no comment for this version
Summary
-
Objects (2 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -1,6 +1,6 @@ 1 1 {{velocity}} 2 2 {{html clean="false"}} 3 -<div style="float:right; width: 280px; margin:0 0 1em 1em; border:1px solid #aaa; background:#f8f9fa; font-size:0.9em; font-family: sans-serif; line-height: 1.5; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">3 +<div style="float:right; width:$xcontext.macro.params.width; margin:0 0 1em 1em; border:1px solid #aaa; background:#f8f9fa; font-size:0.9em; font-family: sans-serif; line-height: 1.5; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> 4 4 <table style="width:100%; border-collapse:collapse;"> 5 5 ## Header 6 6 #if($xcontext.macro.params.title && "$!xcontext.macro.params.title" != "")
- XWiki.WikiMacroParameterClass[3]
-
- Parameter default value
-
... ... @@ -1,0 +1,1 @@ 1 +18 - Parameter description
-
... ... @@ -1,1 +1,1 @@ 1 - Writelines into theinfoboxlike "Label=Example text"1 +The width of the box - Parameter name
-
... ... @@ -1,1 +1,1 @@ 1 -d ata1 +width - Parameter order property
-
... ... @@ -1,1 +1,0 @@ 1 -13 - Parameter type
-
... ... @@ -1,1 +1,0 @@ 1 -TextArea