NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Replaced instructions with a link.
Wiki Markup
{scrollbar:icons=false}

Displaying a list of attachments on a page

Use You can use the Attachments macro to display a list of the attachments files attached 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.

. For instructions, refer to Atlassian help:

https://confluence.atlassian.com/conf613/attachments-macro-964960777.html

Multiexcerpt include
MultiExcerptNameExitDisclaimer
nopaneltrue
PageWithExcerptwikicontent:Exit Disclaimer to Include

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

Attachments

...