Macro that outputs links to document attachments. Syntax: {attach:text|file|document|title|rel|id|fromIncludingDoc}
- text: The link text. If missing, the file name is used.
- file: The target filename. If missing, the link text is used.
- document: The document to which the file is attached. If missing, the current document is used.
- title: The title attribute of the link. If missing, no title.
- rel: The rel attribute of the link. If missing, no rel.
- id: The id attribute of the link. If missing, no id.
- fromIncludingDoc: If present, when the current document is included using #include*, use the top level document
instead of the included one. This is useful for templates, for example.