قالب:Category tree all
ليعرض كل انقر على "+":
لا يوجد تصنيف باسم Category tree all
|
Usage
This template displays a configurable showable list of subcategories, pages, images, or parent categories.
Syntax
{{category tree all}}
– basic form, uses the name of the category page it is placed on{{category tree all|
– usestitle
}}title
as the category page name{{category tree all|mode=categories or pages or all or parents|depth=0, 1 or more|hideroot=on or off|showcount=on or off|header=user-defined header}}
– uses more of the categorytree tag parameters (see http://www.mediawiki.org/wiki/Extension:CategoryTree for details):- mode=pages displays only the pages in the category; mode=all displays subcategories, pages and images; mode=parents displays only the parent categories; mode is categories by default.
- depth=1 displays one level of the tree; depth=2 displays two levels of the tree, and so forth; depth is 0 by default.
- hideroot=on hides the root category; hideroot is off by default.
- showcount=off disables the (category, page, file) count after each category in the tree; showcount is on by default.
- header=a user-defined header to override the default, for example "click + to show pages"
Examples
{{category tree all|
will create this box:Astronomy education
}}
ليعرض كل انقر على "+":
لا يوجد تصنيف باسم Astronomy education
|
{{category tree all|
will create a box without numbers:Astronomy education
|showcount=off}}
ليعرض كل انقر على "+":
لا يوجد تصنيف باسم Astronomy education
|
{{category tree all|
will create a box initially showing the tree to a depth of one:Astronomy education
|depth=1}}
ليعرض كل انقر على "+":
لا يوجد تصنيف باسم Astronomy education
|
{{category tree all|
will create a box initially showing the tree to a depth of two:Astronomy education
|depth=2}}
ليعرض كل انقر على "+":
لا يوجد تصنيف باسم Astronomy education
|
{{category tree all|
will create this box:Astronomy education
|mode=parents|depth=1|hideroot=on}}
ليعرض كل parents انقر على "+":
لا يوجد تصنيف باسم Astronomy education
|
{{category tree all|
will create this box:Astronomy education
|mode=parents|depth=1|header=This is a user-defined header, click + to show parent categories:}}
This is a user-defined header, click + to show parent categories:
لا يوجد تصنيف باسم Astronomy education
|
{{category tree all|
will create this box:Astronomy education
|depth=2|header=This is another user-defined header, click something}}
This is another user-defined header, click something
لا يوجد تصنيف باسم Astronomy education
|
See also
- {{category tree}}
- {{category tree navbox}}
- mw:Extension:CategoryTree
- commons:Template:Category tree all - {{category tree all}} ported to Wikimedia Commons
- commons:Template:Category tree
The above documentation is transcluded from قالب:Category tree all/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |