diff options
Diffstat (limited to 'public/help/sk/wiki_syntax_detailed.html')
-rw-r--r-- | public/help/sk/wiki_syntax_detailed.html | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/public/help/sk/wiki_syntax_detailed.html b/public/help/sk/wiki_syntax_detailed.html index 862aac9d7..0049db314 100644 --- a/public/help/sk/wiki_syntax_detailed.html +++ b/public/help/sk/wiki_syntax_detailed.html @@ -253,10 +253,38 @@ To go live, all you need to add is a database and a web server. <p>Redmine has the following builtin macros:</p> - <p><dl><dt><code>hello_world</code></dt><dd><p>Sample macro.</p></dd><dt><code>include</code></dt><dd><p>Include a wiki page. Example:</p> - - <pre><code>{{include(Foo)}}</code></pre></dd><dt><code>macro_list</code></dt><dd><p>Displays a list of all available macros, including description if available.</p></dd></dl></p> - + <p> + <dl> + <dt><code>hello_world</code></dt> + <dd><p>Sample macro.</p></dd> + + <dt><code>macro_list</code></dt> + <dd><p>Displays a list of all available macros, including description if available.</p></dd> + + <dt><code>child_pages</code></dt> + <dd><p>Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:</p> + <pre><code>!{{child_pages}} -- can be used from a wiki page only +!{{child_pages(depth=2)}} -- display 2 levels nesting only</code></pre></dd> + + <dt><code>include</code></dt> + <dd><p>Include a wiki page. Example:</p> + <pre><code>!{{include(Foo)}}</code></pre> + <p>or to include a page of a specific project wiki:</p> + <pre><code>!{{include(projectname:Foo)}}</code></pre></dd> + + <dt><code>collapse</code></dt> + <dd><p>Inserts of collapsed block of text. Example:</p> + <pre><code>{{collapse(View details...) +This is a block of text that is collapsed by default. +It can be expanded by clicking a link. +}}</code></pre></dd> + + <dt><code>thumbnail</code></dt> + <dd><p>Displays a clickable thumbnail of an attached image. Examples:</p> + <pre>{{thumbnail(image.png)}} +{{thumbnail(image.png, size=300, title=Thumbnail)}}</pre></dd> + </dl> + </p> <h2><a name="13" class="wiki-page"></a>Code highlighting</h2> |