81 | | There are a macro ![screenshot:<screenshot_id>] for screenshots referencing and embending. Expamples of usage is here: |
| 80 | There is a macro {{{[screenshot:<screenshot_id>]}}} for screenshots referencing. |
| 81 | |
| 82 | For screenshot embending in wiki page use {{{[[Screenshot(<screenshot_id>, [<attribute>=<value>, ...])]]}}}. First mandatory argument is ID of the screenshot. Number or image attributes |
| 83 | can be specified next. This is a list of them: |
| 84 | |
| 85 | * {{{align}}} - Specifies image alignment in wiki page. Possible values are: |
| 86 | {{{left}}}, {{{right}}} and {{{center}}}. |
| 87 | * {{{alt}}} - Alternative description of image. |
| 88 | * {{{border}}} - Sets image border of specified width in pixels. |
| 89 | * {{{class}}} - Class of image for CSS styling. |
| 90 | * {{{description}}} - Brief description under the image. Accepts several |
| 91 | variables (see bellow). |
| 92 | * {{{format}}} - Format of returned image or screenshot behind link. |
| 93 | * {{{height}}} - Height of image. Set to 0 if you want original image height. |
| 94 | * {{{id}}} - ID of image for CSS styling. |
| 95 | * {{{longdesc}}} - Detailed description of image. |
| 96 | * {{{title}}} - Title of image. |
| 97 | * {{{usemap}}} - Image map for clickable images. |
| 98 | * {{{width}}} - Width of image. Set to 0 if you want original image width. |
| 99 | |
| 100 | Attribute {{{description}}} displays several variables: |
| 101 | |
| 102 | * {{{$id}}} - ID of image. |
| 103 | * {{{$name}}} - Name of image. |
| 104 | * {{{$author}}} - User name who uploaded image. |
| 105 | * {{{$time}}} - Time when image was uploaded. |
| 106 | * {{{$file}}} - File name of image. |
| 107 | * {{{$description}}} - Detailed description of image. |
| 108 | * {{{$width}}} - Original width of image. |
| 109 | * {{{$height}}} - Original height of image. |
| 110 | |
| 111 | Example: |
91 | | * {{{align}}} - Specifies image alignment in wiki page. |
92 | | * {{{border}}} - Sets image border of specified size. |
93 | | * {{{width}}} - Width of image, embeds image if specified. Set to 0 if you want original image width. |
94 | | * {{{height}}} - Height of image, embeds image if specified. Set to 0 if you want original image height. |
95 | | * {{{alt}}} - Alternative description of image. |
96 | | * {{{title}}} - Title of image. |
97 | | * {{{longdesc}}} - Detailed description of image. |
98 | | * {{{class}}} - Class of image for CSS styling. |
99 | | * {{{id}}} - ID of image for CSS styling. |
100 | | * {{{usemap}}} - Image map for clickable images. |
101 | | * {{{format}}} - Format of returned image or screenshot behind link. |
| 119 | Previous revisions used space separated list of values in {{{trac.ini}}} configuration options. Now it uses comma separated list so change this to prevent inconveniences. |