个人工具

模板:Categorytree

出自Meshal Lite

跳转到: 导航, 搜索
第1行: 第1行:
<includeonly>{{#categorytree:{{{name|{{{1|Meshal Lite}}}}}}|mode=pages|hideprefix={{{hideprefix|{{{3|always}}}}}}|showcount={{{count|{{{2|off}}}}}} }}</includeonly><noinclude>[[category:模板]][[category:编辑]]
+
<includeonly>{{#categorytree:{{{name|{{{1|Meshal Lite}}}}}}|mode=pages|hideprefix=never|showcount={{{count|{{{2|off}}}}}} }}</includeonly><noinclude>[[category:模板]][[category:编辑]]
  
 
== 模板说明 ==
 
== 模板说明 ==
第7行: 第7行:
 
*1或name: 要显示的根分类, 填写的分类名称就会被视作这个树状结构的根节点. 默认为Meshal Lite.
 
*1或name: 要显示的根分类, 填写的分类名称就会被视作这个树状结构的根节点. 默认为Meshal Lite.
 
*2或count: 是否在每个分类后面标注分类下的内容数量, 可以填写on或off. 默认为off
 
*2或count: 是否在每个分类后面标注分类下的内容数量, 可以填写on或off. 默认为off
*3或hideprefix:是否隐藏内容的名字前缀。可选参数:never、always(默认)、auto、categories
 
  
 
=== 使用 ===
 
=== 使用 ===

在2018年1月9日 (二) 06:21所做的修订版本