Changes

Jump to navigation Jump to search
1,601 bytes added ,  23:34, 12 December 2008
expands documentation
{{#categorytree:{{{1}}}}}
 
<noinclude>
This template is used within your article to display a Category Tree. Category Tree is an extension that provides a nice visual formatting and disply of the Categories in a clickable tree. Among other things, Category Tree dresses up the display of [[Special:Categories|Categories]] on this site.
== Documentation ==
You can display a Category Tree in your article in three ways:<ol><li>the categorytree tag<pre><categorytreemode="parents"depth="3"hideroot="on"hideprefix="categories"showcount="on"namespaces="Help Talk 0"class="sidebarTree"style="font-size:1.3em;"id="thisBox">Applications</categorytree></pre><li>the parser tag<pre>{{#categorytree:Foo|hideroot|mode=pages}}</pre><li>the 'Categorypage' template<pre>{{Categorypage|Foo}}</pre></ol> The third option is intended to be used most, because it's the easiest. This wiki is designed so that every major category (of articles) has an article introducing that category. For example, a major theme of this wiki is "Applications", so there is a category for any article which is about or relates to an Application. There is also a "First-level" article '''named''' [[Applications]] that introduces the reader to the subject. Such a high-level overview page should include links to all the articles within the subject matter. The easy way to make that happen is to use the <pre>{{Categorypage|Foo}}</pre> 'Categorypage' template Under the covers, the Categorypage template implements the CategoryTree extension. See http://www.mediawiki.org/wiki/Extension:CategoryTreefor full details of the extension.
== Usage ==
This template is setup to make it even easier to put a CategoryTree on your article. You just use the template syntax, and give it the argument of the Category you want to show:e.g. <nowiki>{{Categorypage|Free Software}}</nowiki>
</noinclude>
 
[[Category:{{PAGENAMEE}}]]
[[Category:PAGENAMEE]]
4,558

edits

Navigation menu