Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13378 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/2.6.0
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -253,10 +253,38 @@ Vše, co je potřeba, je databázový a webový server. | |||
<p>Redmine obsahuje následující vestavěná makra:</p> | |||
<p><dl><dt><code>hello_world</code></dt><dd><p>Jednoduché makro.</p></dd><dt><code>include</code></dt><dd><p>Vloží Wiki stránku. Např.:</p> | |||
<pre><code>{{include(Foo)}}</code></pre></dd><dt><code>macro_list</code></dt><dd><p>Zobrazí seznam všech dostupných maker, včetně jejich popisu, existuje-li.</p></dd></dl></p> | |||
<p> | |||
<dl> | |||
<dt><code>hello_world</code></dt> | |||
<dd><p>Jednoduché makro.</p></dd> | |||
<dt><code>macro_list</code></dt> | |||
<dd><p>Zobrazí seznam všech dostupných maker, včetně jejich popisu, existuje-li.</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>Vloží Wiki stránku. Např.:</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>Zvýrazňování kódu</h2> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -253,10 +253,38 @@ Pour commencer à l'utiliser, il ne vous faut qu'un serveur web et une base de d | |||
<p>Redmine possède les macros suivantes:</p> | |||
<p><dl><dt><code>hello_world</code></dt><dd><p>Macro d'exemple.</p></dd><dt><code>include</code></dt><dd><p>Inclue une page Wiki. Exemple:</p> | |||
<pre><code>{{include(Foo)}}</code></pre></dd><dt><code>macro_list</code></dt><dd><p>Affiche une liste de toute les macros disponilbes, les descriptions sont inclues si celles-ci sont disponibles.</p></dd></dl></p> | |||
<p> | |||
<dl> | |||
<dt><code>hello_world</code></dt> | |||
<dd><p>Macro d'exemple.</p></dd> | |||
<dt><code>macro_list</code></dt> | |||
<dd><p>Affiche une liste de toutes les macros disponibles, les descriptions sont incluses si celles-ci sont disponibles.</p></dd> | |||
<dt><code>child_pages</code></dt> | |||
<dd><p>Affiche une liste des sous-pages. Sans argument, cela affiche les sous-pages de la page courante. Exemples :</p> | |||
<pre><code>!{{child_pages}} -- peut être utilisé depuis une page wiki uniquement | |||
!{{child_pages(depth=2)}} -- affiche deux niveaux d'arborescence seulement</code></pre></dd> | |||
<dt><code>include</code></dt> | |||
<dd><p>Inclut une page Wiki. Exemple :</p> | |||
<pre><code>!{{include(Foo)}}</code></pre> | |||
<p>ou pour inclure une page d'un wiki de projet spécifique :</p> | |||
<pre><code>!{{include(projectname:Foo)}}</code></pre></dd> | |||
<dt><code>collapse</code></dt> | |||
<dd><p>Insère un bloc de texte enroulé. Exemple :</p> | |||
<pre><code>{{collapse(Voir les détails...) | |||
Ceci est un bloc de texte qui est caché par défaut. | |||
Il peut être déroulé en cliquant sur le lien. | |||
}}</code></pre></dd> | |||
<dt><code>thumbnail</code></dt> | |||
<dd><p>Affiche une miniature cliquable d'une image jointe. Exemples :</p> | |||
<pre>{{thumbnail(image.png)}} | |||
{{thumbnail(image.png, size=300, title=Miniature)}}</pre></dd> | |||
</dl> | |||
</p> | |||
<h2><a name="13" class="wiki-page"></a>Coloration syntaxique</h2> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -253,10 +253,38 @@ To go live, all you need to add is a database and a web server. | |||
<p>Redmineには以下の組み込みマクロが用意されています:</p> | |||
<p><dl><dt><code>hello_world</code></dt><dd><p>サンプルのマクロです。</p></dd><dt><code>include</code></dt><dd><p>別のWikiページの内容を挿入します。 以下は使用例です:</p> | |||
<pre><code>{{include(Foo)}}</code></pre></dd><dt><code>macro_list</code></dt><dd><p>上記のマクロを含め、利用可能なマクロの一覧を表示します。</p></dd></dl></p> | |||
<p> | |||
<dl> | |||
<dt><code>hello_world</code></dt> | |||
<dd><p>サンプルのマクロです。</p></dd> | |||
<dt><code>macro_list</code></dt> | |||
<dd><p>上記のマクロを含め、利用可能なマクロの一覧を表示します。</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>別のWikiページの内容を挿入します。 以下は使用例です:</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>コードハイライト</h2> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -285,20 +285,38 @@ bq. Rails - это полноценный, многоуровневый фрей | |||
<p>В Redmine существуют следующие встроенные макросы:</p> | |||
<p> | |||
<dl> | |||
<dt><code>hello_world</code></dt> | |||
<dd><p>Некоторый макрос.</p></dd> | |||
<dt><code>include</code></dt> | |||
<dd><p>Вставить wiki страницу. Пример:</p> | |||
<pre><code>{{include(Foo)}}</code></pre> | |||
</dd> | |||
<dt><code>macro_list</code></dt> | |||
<dd><p>Выводит список доступных макросов с описаниями, если они имеются.</p></dd> | |||
</dl> | |||
</p> | |||
<p> | |||
<dl> | |||
<dt><code>hello_world</code></dt> | |||
<dd><p>Некоторый макрос.</p></dd> | |||
<dt><code>macro_list</code></dt> | |||
<dd><p>Выводит список доступных макросов с описаниями, если они имеются.</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>Вставить wiki страницу. Пример:</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>Подсветка кода</h2> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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> | |||
@@ -253,10 +253,38 @@ To go live, all you need to add is a database and a web server. | |||
<p>Redmine 內建下列巨集:</p> | |||
<p><dl><dt><code>hello_world</code></dt><dd><p>範例巨集。</p></dd><dt><code>include</code></dt><dd><p>引入一個 wiki 頁面。例子:</p> | |||
<pre><code>{{include(Foo)}}</code></pre></dd><dt><code>macro_list</code></dt><dd><p>顯示所有可用巨集的清單,若巨集有提供說明也會一併顯示。</p></dd></dl></p> | |||
<p> | |||
<dl> | |||
<dt><code>hello_world</code></dt> | |||
<dd><p>範例巨集。</p></dd> | |||
<dt><code>macro_list</code></dt> | |||
<dd><p>顯示所有可用巨集的清單,若巨集有提供說明也會一併顯示。</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>引入一個 wiki 頁面。例子:</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>程式碼醒目提示</h2> | |||
@@ -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> | |||