查看“模板:Subpagelist”的源代码
←
模板:Subpagelist
跳转至:
导航
,
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于这些用户组的用户使用:
用户
,
管理员
,Editor
您没有权限编辑
模板
名字空间内的页面。
您可以查看与复制此页面的源代码。
<includeonly>{{#ifeq:{{{stripprefix|}}}|yes|{{#ifeq:{{{hideredirects|}}}|yes|{{Special:PrefixIndex/{{{page|{{FULLPAGENAME}}}}}/|stripprefix=yes|hideredirects=yes}}|{{Special:PrefixIndex/{{{page|{{FULLPAGENAME}}}}}/|stripprefix=yes}}}}|{{#ifeq:{{{hideredirects|}}}|yes|{{Special:PrefixIndex/{{{page|{{FULLPAGENAME}}}}}/|hideredirects=yes}}|{{Special:PrefixIndex/{{{page|{{FULLPAGENAME}}}}}/}}}}}}{{#if:{{{sort|}}}|{{#Widget:SortSubpageList}}}}{{#ifeq:{{{BlueBorder|}}}|yes|{{#Widget:PrefixindexListTable}}|}}</includeonly><noinclude> 本模板用來顯示置頂页面的子页面 ==使用方法== <pre>{{Subpagelist|stripprefix=|hideredirects=|page=|sort=|BlueBorder=}}</pre> 可以直接使用以显示当前页面的子页面 ==参数== 本模板有5个参数: *'''stripprefix''' 以移去页面的名字空間的參數。参数默认值为'''yes'''。可选参数。 *'''hideredirects''' 以隐藏重定向页面的參數。默认值为'''yes'''。可选参数。 *'''page''' 显示的目標页面的页面名稱。默认值为'''引用本模板的页面'''。可选参数。 *'''sort''' 可采用自定义排序方式进行排序的參數。默认值为'''Mediawiki的默认值'''。可选参数。 *'''BlueBorder''' 使'''当前页面所有'''Subpagelist的每一个单元格都获得一个蓝色边框的參數。默认值为'''yes'''。可选参数。 == 舉個栗子 == <nowiki>{{Subpagelist|page=User:星臣}}</nowiki> {{Subpagelist|page=User:星臣}} <nowiki>{{Subpagelist|page=User:星臣|stripprefix=yes}}</nowiki> {{Subpagelist|page=User:星臣|stripprefix=yes}} <nowiki>{{Subpagelist|page=User:星臣|hideredirects=yes}}</nowiki> {{Subpagelist|page=User:星臣|hideredirects=yes}} <nowiki>{{Subpagelist|page=User:星臣|stripprefix=yes|hideredirects=yes}}</nowiki> {{Subpagelist|page=User:星臣|stripprefix=yes|hideredirects=yes}} *sort参数,添加并不为空时将会采用自定义排序方式进行排序。目前支持的排序方式有 **chinesenum 将中文数字替换为阿拉伯字母后进行排序。 *:例:<nowiki>{{Subpagelist|page=反原罪新编第四小队|stripprefix=yes|sort=chinesenum}}</nowiki> {{Subpagelist|page=反原罪新编第四小队|stripprefix=yes|sort=chinesenum}} [[分类:表格模板]]</noinclude>
该页面使用的模板:
模板:Subpagelist
(
查看源代码
)
返回至
模板:Subpagelist
。
导航菜单
个人工具
创建账户
登录
命名空间
模板
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
讨论版
提问求助区
帮助
帮助
沙盒
编辑教程
创建新条目
工具
链入页面
相关更改
特殊页面
页面信息
返回顶部
评论预览
×