Wiki Documentation
WikiDocumentationBack to Snip <-- Previous Change | Next Change -->
| Diff Summary | |||||
|---|---|---|---|---|---|
| Title | |||||
| Date | 2007-05-27 22:18:36 | 2007-05-29 21:24:05 | |||
| Editor | Herbert Poul | Herbert Poul | |||
| Tags | |||||
| 2007-05-27 22:18:36 by Herbert Poul | 2007-05-29 21:24:05 by Herbert Poul | ||||
|---|---|---|---|---|---|
| 130 | - template: The template to use for rendering - De | 130 | - template: The template to use for rendering - De | ||
| > | fault: sphene/sphwiki/macros/_attachment.html | > | fault: sphene/sphwiki/macros/_attachment.html | ||
| 131 | 131 | ||||
| 132 | #### Template Variables | 132 | #### Template Variables | ||
| 133 | 133 | ||||
| 134 | - attachment: The attachment object | 134 | - attachment: The attachment object | ||
| t | 135 | - params: all parameters passed to the macro. If y | t | 135 | - params: all parameters passed to the macro. If y |
| > | ou create your own template you can for example us | > | ou create your own template you can for example us | ||
| > | e {{ params.label }} to retrieve the value of the | > | e {{ params.label }} to retrieve the value of the | ||
| > | 'label' parameter in: {attachment id=5 label="Test | > | 'label' parameter in: \{attachment id=5 label="Tes | ||
| > | ing"} | > | ting"} | ||
| 136 | 136 | ||||
Powered by Sphene Community Tools
