Difference between revisions of "Template:DocList"

From Wikispooks
Jump to navigation Jump to search
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{DocList
 
{{DocList
|listtitle=
+
|ListTitle=
|category=
+
|Category=
|namespace=
+
|Namespace=
|Shownamespace=
+
|ShowNamespace=
 
}}
 
}}
 
</pre>
 
</pre>
Line 14: Line 14:
 
<includeonly>
 
<includeonly>
 
=={{{ListTitle}}}==
 
=={{{ListTitle}}}==
<DynamicPageList>  
+
{{#tag:DynamicPageList>  
category  = {{{category}}}  
+
category  = {{{Category}}}  
namespace = {{{namespace}}}  
+
namespace = {{{Namespace}}}  
shownamespace = {{{shownamespace}}}
+
shownamespace = {{{ShowNamespace}}}
</DynamicPageList>
+
}}
 
</includeonly>
 
</includeonly>

Revision as of 11:31, 27 August 2011

Template to insert a list of pages into another page based on a combination of Category and Namespace

Template useage:

{{DocList
|ListTitle=
|Category=
|Namespace=
|ShowNamespace=
}}