projectdoc Toolbox

Renders a link to an attached file for download.

Tags
ID
Since
4.2

The macro renders a link to a file that is attached to the current document.

Template Authors may use this macro to render a link to attached files by default.

Parameters

Attachment

The name of the attached file to link to.

Download

The name of the file when the user downloads it.

Compatibility Issues

 

This feature of HTML 5 needs to be supported by the browser. Not every browser will rename the file on download.

Label

The label to render of the link.

Related Macros

Attachment Code Block Placeholder Macro
Renders a code block from an attached file with placeholders replaced by properties.
Reference Attachment Code Block Placeholder Macro
Renders code of attached file, referenced by local property, with placeholders replaced by properties.