个人工具

模板:Database/entranceList

出自Meshal Lite

< 模板:Database(修订版本间的差异)
跳转到: 导航, 搜索
(已保护“模板:Database/entranceList” ([edit=sysop] (无期) [move=sysop] (无期)) [联锁])
 
第1行: 第1行:
<includeonly><span class="databaseEntranceMask">[{{FULLURL:Meshal:资料库/查询列表}}&DPL_arg1={{{title|{{{2|}}}}}}&DPL_arg2={{{namespace|{{{3|}}}}}}&DPL_arg3={{{category1|{{{4|}}}}}}&DPL_arg4={{{category2|{{{5|}}}}}}&DPL_arg5={{{category3|{{{6|}}}}}}&DPL_arg6={{{category4|{{{7|}}}}}}&DPL_arg7={{{category5|{{{8|}}}}}}&DPL_arg8={{{setting|}}}&DPL_arg9={{{subpage|true}}}&DPL_arg10={{FULLPAGENAME}}&DPL_count={{{count|12}}} {{{entrance|{{{1|}}}}}}]</span></includeonly><noinclude>{{tpl_helpdoc}}</noinclude>
+
<includeonly><span class="databaseEntranceMask">[{{FULLURL:Meshal:资料库/查询列表}}&DPL_arg1={{{title|{{{2|}}}}}}&DPL_arg2={{{namespace|{{{3|}}}}}}&DPL_arg3={{{category1|{{{4|}}}}}}&DPL_arg4={{{category2|{{{5|}}}}}}&DPL_arg5={{{category3|{{{6|}}}}}}&DPL_arg6={{{category4|{{{7|}}}}}}&DPL_arg7={{{category5|{{{8|}}}}}}&DPL_arg8={{{setting|}}}&DPL_arg9={{{subpage|true}}}&DPL_arg10={{FULLPAGENAME}}&notcat1={{{notcat1|}}}&notcat2={{{notcat2|}}}&notcat3={{{notcat3|}}}&notcat4={{{notcat4|}}}&notcat5={{{notcat5|}}}&notcat6={{{notcat6|}}}&DPL_count={{{count|12}}} {{{entrance|{{{1|}}}}}}]</span></includeonly><noinclude>{{tpl_helpdoc}}</noinclude>

在2020年6月9日 (二) 15:37的最新修订版本

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

编辑帮助内容

使用
{{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