Display Panel Layout Macro

Version 19.1 by Vincent Massol on 2021/03/17 21:32

cogDisplay a list of panels in the provided number of columns
TypeDoc (Velocity Macro)
Category
Developed by

XWiki Development Team

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Bundled With

XWiki Standard

Compatibility

Since XWiki Platform 1.1.2 or 1.2M2

Description

Replaced by the newer Container Macro

Columns have the height of their total content. Panels are placed that way : 

012
34 

The displayPanelLayout macro is currently only available in the Albatross skin

Usage

#displayPanelLayout($nbcolumns $panelNameList)

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
nbColumnsNoan IntegernoneThe number of columns to display
panelNameListNoa ListnonThe document full names of the panels to display

Example

#displayPanelLayout(3 ["Panels.BlogCategories", "Panels.QuickLinks", "Panels.BlogCategories", "Panels.QuickLinks"])

Result

displayPanelLayout.png

Get Connected