Difference between revisions of "DPL Example 010"

From FollowTheScore
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
{{Example|Tree of relations and template usage}}
+
{{Example|Tree of relations, templates and categories for a given page}}
  
 
We show references to other pages and the use of templates.
 
We show references to other pages and the use of templates.
  
 
<pre><nowiki>
 
<pre><nowiki>
{{#tree:
+
{{#tree:root=[[DPL Example 010 page 1]] ..|
{{DPL Example 010 sub|DPL Example 010 page 1|}}
+
{{DPL Example 010 sub|DPL Example 010 page 1|*}}
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 14: Line 14:
 
----
 
----
  
{{#tree:
+
{{#tree:root=[[DPL Example 010 page 1]] ..|
 
{{DPL Example 010 sub|DPL Example 010 page 1|*}}
 
{{DPL Example 010 sub|DPL Example 010 page 1|*}}
 
}}
 
}}

Latest revision as of 10:32, 11 March 2009

back to list of examples

Tree of relations, templates and categories for a given page

We show references to other pages and the use of templates.

{{#tree:root=[[DPL Example 010 page 1]] ..|
{{DPL Example 010 sub|DPL Example 010 page 1|*}}
}}

The above DPL command produces the following output:


{{#tree:root=DPL Example 010 page 1 ..|

  • links to ..
  • uses template ..
  • belongs to ..

{{#replace:* DPL Example 010 cat

  • contains image ..

}}