Руководство Нотаций

Печать полезных подсказок
Образы

Изображения могут быть встроены в страницы Confluence из прикрепленных файлов или удаленных источников.

Нотации Комментарий
!http://www.host.com/image.gif!
или
!attached-image.gif!
Вставляет изображение в страницу.
!spaceKey:pageTitle^image.gif!

!/2007/05/23/My Blog Post^image.gif!
Вставляет изображение, которое прикреплено на другой странице или новости.

Если не определено пространство, то используется текущее пространство по умолчанию.

!image.jpg|thumbnail!

Вставьте миниатюру изображения в страницу (работает только с изображениями прикрепленными к странице). Пользователи могут кликнуть на миниатюру, чтобы увидеть изображение в полный размер.

Для этой работы миниатюры должны быть разрешены администратором сайта.

!image.gif|align=right, vspace=4!

Для любого изображения вы также можете указать атрибуты как пары имя = значение разделенные запятой.

{gallery}

{gallery:columns=3}

{gallery:title=Some office photos, and a waterfall|columns=3}

{gallery:title=Some office photos, without the waterfall|exclude=waterfall.jpg}

{gallery:title=One office photo, and a waterfall|include=office1.jpg,waterfall.jpg}

{gallery:title=Some office photos, and a waterfall|page=Gallery of Pictures}

{gallery:title=Some office photos, and a waterfall|page=DOC:Gallery of Pictures}

{gallery:title=Some office photos, and a waterfall|sort=name}

{gallery:title=Some office photos, and a waterfall|sort=date|reverse=true}

Create a gallery of thumbnails of all images attached to a page. This will only work on pagesthat allow attachments, obviously.

The title parameter allows you to supply a title for the gallery

The columns parameter allows you to specify the number of columns in the gallery (by default, 4)

The exclude parameter allows you to specify the name of attached images to ignore (i.e., they will not be included in the gallery). You can specify more than one picture, separated by commas. Example: exclude=my picture.png,my picture2.gif

The include parameter allows you to specifically include one or more attached images. The gallery will show only those pictures. You can specify more than one picture, separated by commas. Example: include=my picture.png,my picture2.gif

The page parameter allows you specify the title of one or more pages which contains the images you want displayed. If a page is in the same space as the page containing the macro, use the format page=My Page Name. To specify a page in a different space, use page=SPACEKEY:My Page Name, such as page=DOC:Gallery Macro. You can specify more than one page, separated by commas. Example: page=Image Gallery,STAFF:Group Photos

If a page or attachment file name contains a comma, you can use it in the include, exclude, or page parameters by enclosing it in single or doublequotes. Example: include="this,that.jpg",theother.png

The sort parameter allows you to control the order of the images. The options are name,comment, date, or size.

The reverse parameter is used in conjunction with the sort parameter to reverse the order of the specified sort. Valid values are true and false.

Previous versions of the Gallery macro had an additional slideshow parameter. This is no longer used in the latest version, and the slide show is always enabled. We have left the parameter here for compatibility with older versions of the macro.