Changes between Version 16 and Version 17 of AllAttachmentsMacro


Ignore:
Timestamp:
Aug 8, 2018, 8:54:16 PM (6 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • AllAttachmentsMacro

    v16 v17  
    66
    77This is a wiki macro that can be used to show all attachments uploaded on a Trac site. The attachments are displayed as a list of filenames, showing filesize, author and the source of the attachment (wikipage or ticket).
     8
     9The following examples show its usage when added to a wiki page:
     10
     11{{{
     12[[AllAttachments()]]            # Show all attachments
     13[[AllAttachments(ticket)]]      # Show the attachments that are linked to tickets
     14[[AllAttachments(wiki)]]        # Show the attachments that are linked to wiki pages
     15}}}
    816
    917See also: FileListPlugin
     
    3341For more information, please follow [TracPlugins#InstallingaTracPlugin documentation] on how to install Trac plugins.
    3442
    35 == Usage
    36 
    37 {{{
    38 [[AllAttachments()]]            # Show all attachments
    39 [[AllAttachments(ticket)]]      # Show the attachments that are linked to tickets
    40 [[AllAttachments(wiki)]]        # Show the attachments that are linked to wiki pages
    41 }}}
    42 
    4343== Author/Contributors
    4444