Difference between revisions of "Template:Show category tree"
From TDWG Terms Wiki
(Created page with "<includeonly><div class="floatright">{{#categorytree:{{{1|{{PAGENAME}}}}}|mode=parents|depth=5}}</div></includeonly><noinclude> === Usage === This templates lists a category t...") |
m (+docu) |
||
Line 1: | Line 1: | ||
− | <includeonly><div class="floatright">{{#categorytree:{{{1|{{PAGENAME}}}}}|mode=parents|depth=5}}</div></includeonly><noinclude> | + | <includeonly><!-- |
+ | --><div class="floatright" style="<!-- border:1px solid #AAAAAA; -->padding:1ex;"><!-- | ||
+ | -->'''Category tree of:''' <hr><!-- | ||
+ | -->{{#categorytree:{{{1|{{PAGENAME}}}}} |mode=parents|depth=5}}<!-- | ||
+ | --></div><!-- | ||
+ | --></includeonly><!-- | ||
+ | --><noinclude> | ||
=== Usage === | === Usage === | ||
This templates lists a category tree (max. 5 levels). As default it assumes to be placed on a category tree and queries that category. However, it can be placed elsewhere specifying a category: | This templates lists a category tree (max. 5 levels). As default it assumes to be placed on a category tree and queries that category. However, it can be placed elsewhere specifying a category: | ||
− | <nowiki>{{Show category tree|Vocabulary}}</nowiki> | + | <nowiki>{{Show category tree}}</nowiki> → placed on a category page |
+ | <nowiki>{{Show category tree|Vocabulary}}</nowiki> → elsewhere (not placed on a category page) | ||
Right floating default layout may be adapted later if needed. | Right floating default layout may be adapted later if needed. | ||
+ | [[Category: Help]] | ||
+ | [[Category: Navigation]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:26, 28 August 2012
Usage
This templates lists a category tree (max. 5 levels). As default it assumes to be placed on a category tree and queries that category. However, it can be placed elsewhere specifying a category:
{{Show category tree}} → placed on a category page {{Show category tree|Vocabulary}} → elsewhere (not placed on a category page)
Right floating default layout may be adapted later if needed.