个人工具

模板:Database detail

出自Meshal Lite

(修订版本间的差异)
跳转到: 导航, 搜索
第1行: 第1行:
 
<includeonly>{{#vardefine:pages|{{#dpl:debug=0|namespace={{ucfirst:{{{namespace|{{{1|}}}}}}}}|category={{{category|{{{2|}}}}}}|mode=userformat|resultsheader=%PAGES%}}}}
 
<includeonly>{{#vardefine:pages|{{#dpl:debug=0|namespace={{ucfirst:{{{namespace|{{{1|}}}}}}}}|category={{{category|{{{2|}}}}}}|mode=userformat|resultsheader=%PAGES%}}}}
{{tab|collapse=y|expand=n|style=y}}
+
{{tab|collapse=y|expand=y|style=y}}
 
!colspan={{{col|{{{3|1}}}}}} style="font-weight: bold; border-style: none none dotted none; background: #eee; caption-side:left; text-align: left;"|{{{category|{{{2|}}}}}} ({{#ifeq:{{#var:pages}}||0|{{#var:pages}}}})
 
!colspan={{{col|{{{3|1}}}}}} style="font-weight: bold; border-style: none none dotted none; background: #eee; caption-side:left; text-align: left;"|{{{category|{{{2|}}}}}} ({{#ifeq:{{#var:pages}}||0|{{#var:pages}}}})
 
|-
 
|-

在2011年11月28日 (一) 11:10所做的修订版本


模板说明

这个模板被用在分类中, 用来罗列在该分类下条目预览(直接罗列显示所有符合条件的条目内容).

参数

  • 1或namespace:要查询的名字空间, 可以是Ability, Buff, Item. 需要注意, 这是大小写敏感的, 并且会自动将第一个字符变成大写.
  • 2或category: 要查询的分类名称.
  • 3或col: 要分成几列并排显示, 默认为1.

使用

{{database_detail|名字空间|分类}}