模板:Database detail
出自Meshal Lite
(修订版本间的差异)
(以内容“<includeonly>{{#vardefine:pages|{{#dpl:debug=0|namespace={{ucfirst:{{{namespace|{{{1|}}}}}}}}|category={{{category|{{{2|}}}}}}|mode=userformat|resultsheader=%PAGES%}}}}...”创建新页面) |
|||
第3行: | 第3行: | ||
!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}}}}) | !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}}}}) | ||
|- | |- | ||
− | |{{#dpl:debug=0|namespace={{ucfirst:{{{namespace|{{{1|}}}}}}}}|category={{{category|{{{2|}}}}}}|shownamespace=false|format=,²{:%PAGE%}²,,}} | + | |{{#dpl:debug=0|namespace={{ucfirst:{{{namespace|{{{1|}}}}}}}}|category={{{category|{{{2|}}}}}}|shownamespace=false|columns={{{col|{{{3|1}}}}}}|rowcolformat=width=100%}}|format=,²{:%PAGE%}²,,}} |
|}</includeonly><noinclude>[[category:编辑]][[category:模板]] | |}</includeonly><noinclude>[[category:编辑]][[category:模板]] | ||
第14行: | 第14行: | ||
*1或namespace:要查询的名字空间, 可以是Ability, Buff, Item. '''需要注意, 这是大小写敏感的, 并且会自动将第一个字符变成大写.''' | *1或namespace:要查询的名字空间, 可以是Ability, Buff, Item. '''需要注意, 这是大小写敏感的, 并且会自动将第一个字符变成大写.''' | ||
*2或category: 要查询的分类名称. | *2或category: 要查询的分类名称. | ||
+ | *3或col: 要分成几列并排显示, 默认为1. | ||
|} | |} | ||
在2011年11月28日 (一) 10:35所做的修订版本
模板说明
这个模板被用在分类中, 用来罗列在该分类下条目预览(直接罗列显示所有符合条件的条目内容). 参数
使用
|