It's possible to customise panel content based on the page being viewed or it's location within the space...
For example, to show content for a page with a specific title use:
To hide content based on page labels, use:
You can mix the macros together, for example if you wanted to show some content on the "Meeting Notes" page except when it has a label of "do-not-show", use:
recurse=true parameter on the builder-show or builder-hide macros to check both the current page and all it's parent pages. For example:
We've used this method to create the Tabs shown to the left.
The move-to macro allows you to move content defined within a page to a place holder within a panel.
You first need to create a place holder (or target) for the content within the panel:
To move content from the current page, wrap it in the move-to macro and specify it's target:
If nothing is moved in to the target, it's content ("This is the target" in the example above) will be shown by default. If the page being viewed moves something in to the target, it's existing contents will be overwritten.
This is useful because it allows you to customise panel content from within your wiki pages so long as the theme design provides targets for the moved content.
If you need extreme customisation for a specific page, you can choose to use a completely different layout. For more information, please see use-layout macro.