Use Confluence's Attachments macro to display the list of attachments that belong to a page.

Attachments macro

必要な入力項目

表示結果

{attachments}

  ファイル 最終変更日
JPEG File waterfall.jpg Aug 10, 2005 by Vidya Madabushi
JPEG File office1.jpg Aug 10, 2005 by Vidya Madabushi
PNG File mail-next.png Aug 10, 2005 by Vidya Madabushi
PNG File editProfile.png Aug 10, 2005 by Vidya Madabushi
JPEG File harbour3.jpg Aug 10, 2005 by Vidya Madabushi




オプション パラメーター

Filter attachments by name

{attachments:patterns=.*jpg,.*gif}

Use a comma-separated list of regular expressions to specify the file format/s of the attachments you want displayed.


Include old attachments

{attachments:old=true}

An optional true/false value determines whether to show old versions of attachments. This is set to false by default.

注意

The patterns are regular expressions, so to match a file suffix of 'jpg', use .*jpg, not *.jpg.

Here's a detailed tutorial on regular expressions.

関連トピック

Working with Attachments Overview
Working with Macros

Take me back to Help Home

  • ラベルなし