Проект

Общее

Профиль

Redmine » История » Версия 1

Версия 1/2 - Следующее » - Текущая версия
Всеволод Дорофеев, 31.01.2017 18:41


Redmine

Макросы

hello_world
Sample macro.
macro_list
Displays a list of all available macros, including description if available.
child_pages
Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:

{{child_pages}} -- can be used from a wiki page only
{{child_pages(depth=2)}} -- display 2 levels nesting only
{{child_pages(Foo)}} -- lists all children of page Foo
{{child_pages(Foo, parent=1)}} -- same as above with a link to page Foo
include
Includes a wiki page. Examples:

{{include(Foo)}}
{{include(projectname:Foo)}} -- to include a page of a specific project wiki
collapse
Inserts of collapsed block of text. Examples:

{{collapse
This is a block of text that is collapsed by default.
It can be expanded by clicking a link.
}}

{{collapse(View details...)
With custom link text.
}}
thumbnail
Displays a clickable thumbnail of an attached image. Examples:

{{thumbnail(image.png)}}
{{thumbnail(image.png, size=300, title=Thumbnail)}} -- with custom title and size
include_page
Include page
include_part
Include part
page
Link to page
feature
Feature with media
plain_thumbnail
Displays not clickable thumbnail of an attached image. Examples:

<pre>{{plain_thumbnail(image.png)}}
{{plain_thumbnail(image.png, size=300, title=Thumbnail, class=Teaser)}}</pre>
page_title
Page title
youtube
Youtube video
vimeo
Vimeo video
info
Info block