模板:Database detail
出自Meshal Lite
小 (已保护“模板:Database detail” ([edit=sysop] (无期) [move=sysop] (无期))) |
|||
第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|includesubpages={{{subpage|{{{6|false}}}}}}|resultsheader=%PAGES%}}}} |
{{tab|collapse=y|expand=y|style=y|width={{{width|{{{3|480px}}}}}}}} | {{tab|collapse=y|expand=y|style=y|width={{{width|{{{3|480px}}}}}}}} | ||
!style="font-weight: bold; border-style: none none dotted none; background: #eee; caption-side:left; text-align: left;"|{{{name|{{{4|{{{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;"|{{{name|{{{4|{{{category|{{{2|}}}}}}}}}}}} ({{#ifeq:{{#var:pages}}||0|{{#var:pages}}}}) | ||
第17行: | 第17行: | ||
*4或name: 条目框体的显示名称, 默认和category一样 | *4或name: 条目框体的显示名称, 默认和category一样 | ||
*5或count: 每次罗列出的条目数量(结果过多即会形成翻页列表), 默认为50. | *5或count: 每次罗列出的条目数量(结果过多即会形成翻页列表), 默认为50. | ||
+ | *6或subpage: 是否包含子页面, 可以是"true"或"false", 默认为false. | ||
|} | |} | ||