个人工具

模板:Database/entranceList

出自Meshal Lite

跳转到: 导航, 搜索

编辑简介内容 这个模板用来搭载在资料库页面中,生成一个文字样式的资料查询入口。它会传递必要的参数给资料查询页。

编辑帮助内容

使用
{{database/entranceList|
  |[1] entrance=
  |[2] title=
  |[3] namespace=<feature | ability | item | creature | ...>
  |[4] category1=
  |[5] category2=
  |[6] category3=
  |[7] category4=
  |[8] category5=
  |notcat1=
  |notcat2=
  |notcat3=
  |notcat4=
  |notcat5=
  |notcat6=
  |setting=
  |subpage=<true | false>
  |count=12
}}
1 entrance

这个入口的文字。

2 title

查询页的标题名称。

3 namespace

限定查询条目所属的名字空间(NAMESPACE)。

4 category1、5 category2、6 category3、7 category4、8 category5

限定查询条目所属的分类,这些参数是“与(AND)”关系。

notcat1、notcat2、notcat3、notcat4、notcat5、notcat6

限定查询条件排除的分类,这些参数是“或(OR)”关系。

setting

限定查询条目所属的世界设定,如果留空,则查询所有世界设定。通常写作如:世界设定-经典

subpage

是否查询子页面。设为true将在查询结果中包含子页面;设为false将不包含。

  • 默认为false
count

每页显示的条目数量。

  • 默认为12