更多操作
(创建页面,内容为“{{#if: {{{indent|}}}|:}}{{#categorytree:{{{category|医学心理学本科题库}}}|{{#if: {{{hideroot|}}}|hideroot}}|{{{hideprefix|always}}}|mode={{{mode|pages}}}}} <noinclude> <templatedata> { "params": { "indent": { "aliases": [ "缩进" ], "description": "默认开启,填写任意值即可关闭", "example": "true", "type": "boolean", "default": "空", "autovalue": "空" }, "category": { "aliases": [ "分类名" ]…”) |
无编辑摘要 |
||
(未显示同一用户的4个中间版本) | |||
第1行: | 第1行: | ||
{{#if: {{{indent|}}}|:}}{{#categorytree:{{{category|医学心理学本科题库}}}|{{#if: {{{hideroot|}}}|hideroot}}|{{{hideprefix|always}}}|mode={{{mode|pages}}}}} | <templatestyles src="模板:本分类所有页面/styles.css" /> | ||
{{#if: {{{indent|}}}|:}}<div class="{{#if: {{{indent|}}}|allPagesInCatrgoryAddDot}}">{{#categorytree:{{{category|医学心理学本科题库}}}|{{#if: {{{hideroot|}}}|hideroot}}|hideprefix={{{hideprefix|always}}}|mode={{{mode|pages}}}}}</div><noinclude> | |||
{{本分类所有页面|category=医学心理学本科题库|indent=true|hideroot=true}} | |||
</noinclude> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> |
2023年5月24日 (三) 06:38的最新版本
找不到分类“医学心理学本科题库”
- 找不到分类“医学心理学本科题库”
本模板使用了categories tree 的功能,可以列举相应分类下的所有页面
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
indent | indent 缩进 | 默认开启,填写任意值即可关闭
| 布尔 | 可选 |
category | category 分类名 | 需要显示的分类的名称
| 未知 | 必需 |
hideroot | hideroot 是否显示根名称 | 默认开启,填写任意值即可关闭
| 未知 | 可选 |
hideprefix | hideprefix 是否隐藏名字空间前缀,如“题库:” | 是否隐藏名字空间前缀,如“题库:”
| 未知 | 可选 |
mode | mode 列举模式 | 无描述
| 未知 | 必需 |