DisplayPanelLayout Macro

This is a Velocity macro, bundled with all the XWiki products by default.
Macro developed by the XWiki Development Team.
This macro cannot currently be downloaded separately.

DisplayPanelLayout Macro

Display a list of panels in the provided number of columns. All columns have the same width. Columns have the height of their total content. Panels are placed that way :

012
34 

Warning: The displayPanelLayout macro is currently only available in the albatross skin

Since

Bundled with the default XWiki distribution since 1.1.2 or 1.2M2

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

Tags:
Created by ThomasMortagne on 2007/10/18 17:33
Last modified by Vincent Massol on 2008/09/30 10:05

This wiki is licensed under a Creative Commons license
2.2.1.27354