Composition Setup
This macro performs setup operations for some of the Composition macros. It also sets page-wide defaults and customization of various elements of tabs or cloaked content.
This is an optional macro when using the Deck of Cards macro to create cards or when creating cloaked content.
Place this macro at the top of the page. Otherwise, it can’t function.
Not all macros are currently available on cloud.
Macros will be migrated along with the page, and no data will be lost after migration. On cloud, macros are hidden in view mode, but visible in edit mode, where they are marked as Legacy. For more details, refer to FAQ on the migration from Composition Data Center.
Parameters
Name | Required | Migratable to cloud? | Default value | Description |
defaults | Optional | No |
| The name of the attached file containing the default settings for this page. For example, The file must be a text file with properties listed as described below. |
Notes
Currently, there is no method of inputting the defaults parameter when editing the markup. If you want to add this parameter, you must use the Wiki Markup method.
The following table lists the properties supported by the Composition Setup macro. You can set the properties in the body of the Composition Setup macro. Alternately, you can set the properties in a text file attached to the page and linked via the defaults macro property.
Name | Default | Description |
---|---|---|
|
| Allows a Cascading Style Sheet to be imported into the page. The value may be an attachment link (e.g. When uploading a CSS file, ensure the attachment properties for the file, specifically the property New Content Type, is |
| 0 | The number of days the cloak status should be remembered for. |
| default | The type of toggle to display. Options are:
|
|
| The value to use for the icon when the cloak can be opened. The value may be an attachment link (e.g. |
|
| The value to use for the icon when the cloak can be closed. The value may be an attachment link (e.g. |
| false | If ' |
| true | If ' |
| 0 | The number of days the deck status should be remembered for. |
| top | ' |
|
| The border for the active tab (CSS - e.g. |
|
| The background for the active tab (CSS - e.g. |
|
| The border for inactive tabs (CSS) |
|
| The background for inactive tabs (CSS) |
|
| The distance between tabs (e.g. ' |
|
| The border for the active card. |
|
| The background for the active card. |
|
| The width and/or height the content will be constrained to (not including any tabs). If not set, the tabs expand to display their content. |
| true | If set to ' |
| false | If ' |
|
| The number of seconds the slides will stay visible before moving to the next one. By default the current slide will not transition until prompted by the user. |
| none | The effect to use when moving to a new slide. May be ' |
| 0 | The number of seconds the transition will take to complete. e.g. ' |