Display Panel Layout Macro
Version 19.1 by Vincent Massol on 2021/03/17 21:32
Display a list of panels in the provided number of columns |
Type | Doc (Velocity Macro) |
Category | |
Developed by | |
Rating | |
License | GNU Lesser General Public License 2.1 |
Bundled With | XWiki Standard |
Compatibility | Since XWiki Platform 1.1.2 or 1.2M2 |
Table of contents
Description
Columns have the height of their total content. Panels are placed that way :
0 | 1 | 2 |
---|---|---|
3 | 4 |
Usage
#displayPanelLayout($nbcolumns $panelNameList)
Parameters definition
Name | Optional | Allowed values | Default value | Description |
---|---|---|---|---|
nbColumns | No | an Integer | none | The number of columns to display |
panelNameList | No | a List | non | The document full names of the panels to display |
Example
#displayPanelLayout(3 ["Panels.BlogCategories", "Panels.QuickLinks", "Panels.BlogCategories", "Panels.QuickLinks"])