模板:Database detail
出自Meshal Lite
第3行: | 第3行: | ||
!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}}}}) | ||
|- | |- | ||
− | |{{#dpl:debug=0|includesubpages={{{subpage|{{{6|false}}}}}}|namespace={{ucfirst:{{{namespace|{{{1|}}}}}}}}|category={{{category|{{{2|}}}}}}|shownamespace=false|format=,²{:%PAGE%¦call= | + | |{{#dpl:debug=0|includesubpages={{{subpage|{{{6|false}}}}}}|namespace={{ucfirst:{{{namespace|{{{1|}}}}}}}}|category={{{category|{{{2|}}}}}}|shownamespace=false|format=,²{:%PAGE%¦call={{{call|{{{7|1}}}}}}}²,,|columns=1|count={%DPL_count:{{{count|{{{5|50}}}}}}%}|scroll=yes|resultsheader = ²{database_nav¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page=²{FULLPAGENAME}²}²\n|resultsfooter = ²{database_nav¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page=²{FULLPAGENAME}²}²\n}} |
|}</includeonly><noinclude>[[category:编辑]][[category:模板]] | |}</includeonly><noinclude>[[category:编辑]][[category:模板]] | ||
第18行: | 第18行: | ||
*5或count: 每次罗列出的条目数量(结果过多即会形成翻页列表), 默认为50. | *5或count: 每次罗列出的条目数量(结果过多即会形成翻页列表), 默认为50. | ||
*6或subpage: 是否包含子页面, 可以是"true"或"false", 默认为false. | *6或subpage: 是否包含子页面, 可以是"true"或"false", 默认为false. | ||
+ | *7或call: 是否在罗列的条目内显示其他页面调用(只适用于已经使用<nowiki>{{#ifeq:{{{call|1}}}|1||}}</nowiki>的条目. | ||
|} | |} | ||