Template:Categorytree
| View projects, howtos and other pages about Categorytree |
| If you cannot make the category tree expand, just click on [[:Category:{{{1}}}]] to view the page directly. (This can happen if your browser has javascript turned off.)
|
| |
This page is under construction - please check back later.
Optional comment: 19:30, 16 November 2011 (PST). Need to get the optional parameters working. See examples below for current status. |
[edit] Usage
For use on topic articles. Perhaps in or above the "See also" section?
| View projects, howtos and other pages about Categorytree |
| If you cannot make the category tree expand, just click on Category:Solar to view the page directly. (This can happen if your browser has javascript turned off.)
|
gives:
{{categorytree|Solar}}
Or choosing colors, for the greywater page:
{{categorytree
|Greywater
|LightGrey
|DarkSlateGray}}
gives:
| View projects, howtos and other pages about Categorytree |
| If you cannot make the category tree expand, just click on [[:Category:Greywater
]] to view the page directly. (This can happen if your browser has javascript turned off.)
|
[edit] Simpler versions
Note: We have a choice of the parser function version, which can be used in templates in this form:
- {{#categorytree:{{{1}}}|mode=pages}}
as well as the standard form, which cannot take an argument in a template (and maybe can't be used at allTemplate:Verify):
- <categorytree>water<categorytree>
...so there now seems less need for a template to simplify adding a standard categorytree. This template is used to provide an explanation along with a standard presentation.