General Actions:
Wiki: Extensions
▼:
Document Index
»
Space: Extension
▼:
Document Index
»
Page: Attach Macro (Radeox)
| Adds a link to download an attachment in the wiki |
| Type | radeoxmacro |
| Developed by | |
| License | GNU Lesser General Public License 2.1 |
Table of contents
Can also link to an external resource.
| Name | Optional | Allowed values | Default values | Description |
|---|---|---|---|---|
| link text | yes | Text | If missing, the file name is used. | The link text. |
| file | yes | attachment name or an absolute url | If missing, the link text is used. | The target filename. |
| document (**) | yes | document name within the wiki | current document | The document to which the file is attached (allows linking to files attached to different pages). |
| title | yes | Text | If missing, no title. | The title attribute of the link. Often rendered as a tooltip. |
| rel | yes | Link Types | If missing, no rel. | The rel attribute of the link. Specifies the relation from this document to the link. |
| id | yes | If missing, no id. | The id attribute of the link. | |
| fromIncludingDoc (**) | yes | Empty(just end with =) | Fetch the attachment from the parent document that included the current document. This is useful for templates, for example. |
At least one of these parameters must be specified. Macro is ignored if both are missing.
(**) Use either document or fromIncludingDoc. Parameter fromIncludingDoc is ignored if both are specified.