From d64e1c48ae0b91b2fd47e9d939f434bc14de1c22 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Barth Date: Thu, 11 Sep 2014 21:25:37 +0000 Subject: Include new standard macros in wiki syntax detailed help pages (#17847). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13378 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/help/da/wiki_syntax_detailed.html | 36 ++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) (limited to 'public/help/da') diff --git a/public/help/da/wiki_syntax_detailed.html b/public/help/da/wiki_syntax_detailed.html index 862aac9d7..0049db314 100644 --- a/public/help/da/wiki_syntax_detailed.html +++ b/public/help/da/wiki_syntax_detailed.html @@ -253,10 +253,38 @@ To go live, all you need to add is a database and a web server.

Redmine has the following builtin macros:

-

hello_world

Sample macro.

include

Include a wiki page. Example:

- -
{{include(Foo)}}
macro_list

Displays a list of all available macros, including description if available.

- +

+

+
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
+ +
include
+

Include a wiki page. Example:

+
!{{include(Foo)}}
+

or to include a page of a specific project wiki:

+
!{{include(projectname:Foo)}}
+ +
collapse
+

Inserts of collapsed block of text. Example:

+
{{collapse(View details...)
+This is a block of text that is collapsed by default.
+It can be expanded by clicking a link.
+}}
+ +
thumbnail
+

Displays a clickable thumbnail of an attached image. Examples:

+
{{thumbnail(image.png)}}
+{{thumbnail(image.png, size=300, title=Thumbnail)}}
+
+

Code highlighting

-- cgit v1.2.3