NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use the Attachments macro to display a list of the attachments to a page on the page itself.

  • Type {at

...

  • When the macro browser opens, select Attachments

...

  • Select the macro

...

  • , select Edit, and when the dialog opens, specify the parameters.

An example follows, with the parameters all set to the default values.

Attachments

Parameters include:

  • Patterns - where the default is all. Example: patterns=.*jpg,.*gif
  • Sort By by - where the default is date. Values are date, size, and name.
  • Sort Order order - where the default is ascending. May be descending,
  • Attachment labels - enter the labels for the attachments to show on the list. Separate the label names with commas.
  • Allow Upload upload - where the default true. Deselect the option to remove the option to upload from the list on the page.
  • Page title - enter the title of the page with the attachments to show in the list. The default is the current page.