topic |
Topic name to show attachments of. Possible values: � one topic � a comma-separated list of topic names � a wildcard * to search in all topics in the web; exclude topics using excludetopics |
the current topic |
topic="AttachmentListPlugin" , topic="AttachmentListPlugin, WebHome" , topic="*" |
excludetopic |
Comma-separated list of topic names to not show the attachments of |
none |
excludetopic="WebPreferences, WebHome" |
web |
Web name to show attachments of. Possible values: � one web � a comma-separated list of web names � a wildcard * to search in all webs; exclude topics using excludeweb |
the current web |
web="TWiki/" , web="TWiki/, Main" , web="*" |
excludeweb |
Comma-separated list of web names to not show the attachments of |
none |
web="*" excludeweb="TWiki" |
limit |
The maximum number of files to display. This setting has no cosequences for rendering time. |
no limit |
limit="10" |
format |
Format string; use the format in the table below. To render images, use format parameter $imgTag (see also plugin setting IMAGE_FORMAT ). |
Plugin setting FORMAT or IMAGE_FORMAT |
format=" * [[$fileUrl][$fileName]]" To create a list of images, use: extension="jpg,jpeg,gif" format=" * <a href='$fileUrl'>$imgTag</a>" |
separator |
String to separate listed entries |
none |
separator="," |
header |
A header text in case of hits |
no header |
header="All files:" |
footer |
A footer text in case of hits |
no footer |
footer="Number of files: $fileCount" |
alt |
Alternative text if nothing is found |
none |
alt="No files found" |
hide |
Set to "on" to show only non-hidden attachments |
by default the 'hidden' property is ignored |
hide="on" |
filter (deprecated) |
Use extension or includefilepattern |
|
|
extension |
Comma-separated list of file extensions to be listed |
none |
extension="gif, jpg" |
excludeextension |
Comma-separated list of file extensions to not show |
none |
excludeextension="htm" |
user |
Comma-separated list of user names (that have attached an attachment) to be listed |
none |
user="TWikiContributor" |
excludeuser |
Comma-separated list of user names (that have attached an attachment) to not show |
none |
excludeuser="TWikiContributor,TWikiAdminUser,TWikiGuest,UnknownUser" |
excludefile |
Comma-separated list of filenames to not show, possibly generated from a search |
none |
excludefile="ReadMe.txt" |
includefilepattern |
Regular expression pattern to match filenames to show. For example: the pattern ^[A-Z] will match files which filenames start with an uppercase letter; pattern [0-9] will find files that have a number in the filename. Use prefix (?i) for case insensitivity. |
none |
includefilepattern="^(?i)[A]" |
sort |
Sorts the retrieved attachments on either name ($fileName ), size ($fileSize ), user ($fileUser ), date ($fileDate ) or extension ($fileExtension ). The sort order can be specified with parameter sortorder . |
$fileName |
sort="$fileDate" |
sortorder |
Lists sorted attachments: ascending or descending |
The default sort order depends on the sort type: � sort on $fileDate : descending (latest file first) � sort on $fileName or $fileUser : ascending (alphabetically) |
sortorder="ascending" |
fromdate , todate |
Date filter: show attachments between fromdate and todate ; dates are specified in format yyyy/mm/dd � fromdate="" todate="2007/09/01" selects all attachments up to 1 Sep 2007 � fromdate="2007/12/01" todate="" selects all attachments up from 1 Dec 2007 |
no date filter |
fromdate="2005/01/01" todate="2007/01/01" |