Adds an example

pull/3487/head
Jonas Heinrich 9 years ago
parent 0f4ae5b056
commit f019c795a1
  1. 7
      app/views/help/wiki_syntax_detailed.html.erb

@ -261,7 +261,12 @@ tooltip of "WHO"
</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.</p>
<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(Foo)}} -- lists all children of page Foo
{{child_pages(Foo, parent=1)}} -- same as above with a link to page Foo
</code></pre>
</dd>
<dt><code>macro_list</code></dt>
<dd>

Loading…
Cancel
Save