Macro name: gadget Macro body: None. | Parameter name | Required | Default | Parameter description and accepted values |
|---|
width
| No | 450 pixels | The width of the gadget, using one of the following conventions:- Width in pixesl, using
px or plain numbers. For example, 500px or 500 - A percentage of the page width, using
%. For example, 50% - Automatic resizing of the gadget to fit 100% of the page width:
auto
| border | No | true | Determines whether Confluence will draw a border around the gadget. | url | Yes | (none.) | This is the location of the gadget specification (XML file). | preferences | No | (Gadget-dependent.) | Specific property settings that are particular to each gadget. |
A note about editing a gadget's properties (preferences) in markup: It is possible to edit the values of these properties directly in the wiki markup or storage format. However, this will allow the entry of invalid values. If a gadget property supports a certain set of values, the macro browser will restrict the user to selecting only valid values for that property. For that reason, we recommend that you use the macro browser to edit a gadget's properties. |