模板: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|namespace={{ucfirst:{{{namespace|{{{1|}}}}}}}}|category={{{category|{{{2|}}}}}}|shownamespace=false|format=,²{:%PAGE%}²,,|columns=1|count={%DPL_count:{{{count|{{{5| | + | |{{#dpl:debug=0|namespace={{ucfirst:{{{namespace|{{{1|}}}}}}}}|category={{{category|{{{2|}}}}}}|shownamespace=false|format=,²{:%PAGE%}²,,|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:模板]] | ||
第16行: | 第16行: | ||
*3或width: 显示用的表格宽度, 默认为480px | *3或width: 显示用的表格宽度, 默认为480px | ||
*4或name: 条目框体的显示名称, 默认和category一样 | *4或name: 条目框体的显示名称, 默认和category一样 | ||
− | *5或count: 每次罗列出的条目数量(结果过多即会形成翻页列表), | + | *5或count: 每次罗列出的条目数量(结果过多即会形成翻页列表), 默认为50. |
|} | |} | ||