Difference between revisions of "Example 4"

From FollowTheScore
Jump to: navigation, search
 
Line 7: Line 7:
 
<pre><nowiki>
 
<pre><nowiki>
 
  {{#tree:{{Links 2|from|Wgraph}}}}
 
  {{#tree:{{Links 2|from|Wgraph}}}}
</nowiki></pre>
+
</nowiki></pre>  
 
{{#tree:{{Links 2|from|Wgraph}}}}
 
{{#tree:{{Links 2|from|Wgraph}}}}

Latest revision as of 05:35, 25 June 2009

With one line of code you can generate a menu tree which shows all links starting from a given article

 {{#tree:{{Links 1|from|Wgraph}}}}

{{#tree:


}} A depth of two levels is also possible:

 {{#tree:{{Links 2|from|Wgraph}}}}

{{#tree:


}}