NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

Displaying a list of attachments on a page

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

Code Block
{attachments}

Parameters are:

  • Patterns=, where the default is all. Example:

...

  • patterns=.*jpg,.*gif

...

  • Old=,

...

  • where

...

  • the

...

  • default

...

  • is

...

  • all.

...

  • Specify

...

  • 'true'

...

  • to

...

  • include

...

  • old

...

  • versions

...

  • of

...

  • attachments

...

  • in

...

  • the

...

  • list.

...

  • SortBy=,

...

  • where

...

  • the

...

  • default

...

  • is

...

  • date.

...

  • Values

...

  • are

...

  • date,

...

  • size,

...

  • and

...

  • name.

...

  • Upload=,

...

  • where

...

  • the

...

  • default

...

  • is

...

  • false.

...

  • Specify

...

  • 'true'

...

  • to

...

  • allow

...

  • upload

...

  • from

...

  • the

...

  • list

...

  • on

...

  • the

...

  • page.

...

Scrollbar
iconsfalse