You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This page is a snippet

For full information, see:

Snippet

 

Macro name: gadget

Macro body: None.

Parameter nameRequiredDefaultParameter description and accepted values

width

No450 pixelsThe 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
borderNotrueDetermines whether Confluence will draw a border around the gadget.
urlYes(none.)This is the location of the gadget specification (XML file).
preferencesNo(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.

  • No labels