模板:Database/entranceList
出自Meshal Lite
编辑简介内容 这个模板用来搭载在资料库页面中,生成一个文字样式的资料查询入口。它会传递必要的参数给资料查询页。
- 这个模板的指向目标是
Meshal:资料库/查询列表
使用
{{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=<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
。