|
|
第6行: |
第6行: |
| |} | | |} |
| | | |
− | {{#vardefine:count|10}}{{#vardefine:thispage|{{{thispage|{{{9|}}}}}}}}
| |
| {{#dpl: | | {{#dpl: |
− | |namespace={{ucfirst:{{{namespace|{{{1|}}}}}}}}
| + | | namespace={{{namespace|{{{1|}}}}}} |
− | |category={{{category|{{{2|}}}}}}
| + | | category={{{category|{{{2|}}}}}} |
− | |shownamespace=false
| + | | count={%DPL_count:{{{count|{{{5|50}}}}}}%} |
− | |includesubpages={{{subpage|{{{6|false}}}}}}
| + | | shownamespace=false |
− | |format=,²{:%PAGE%¦call={{{call|{{{7|1}}}}}}}²,,
| + | | format=,²{:%PAGE%¦call={{{call|{{{7|1}}}}}}}²,, |
− | |count={{#var:count}}
| + | | resultsheader = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n |
− | |offset={{{offset|0}}}
| + | | resultsfooter = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}² %DPLTIME%\n |
− | |resultsfooter=
| + | | scroll = yes |
− | ²{#ifexpr:%TOTALPAGES% > {{#var:count}}¦
| + | | columns = 1 |
− | \n-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br/> | + | }} |
− | {{#ifexpr:{{{offset|0}}} > 0|
| + | </includeonly><noinclude>[[category:编辑]][[category:模板]] |
− | [[Special:Call/{{#var:thispage}},offset={{#expr:{{{offset}}} - {{#var:count}}}}¦{{#expr:{{{offset}}} - {{#var:count}} + 1}}..{{{offset}}}]]
| + | |
− | }}
| + | |
− | '''{{#expr:{{{offset|0}}} + 1}}..{{#expr:{{{offset|0}}} + {{#var:count}}}}'''
| + | |
− | ²{#ifexpr:%TOTALPAGES% - {{#var:count}} > {{{offset|0}}}¦
| + | |
− | ²{#ifexpr:%TOTALPAGES% - 2 * {{#var:count}} <= {{{offset|0}}}¦
| + | |
− | [[Special:Call/{{#var:thispage}},offset={{#expr:{{{offset|0}}} + {{#var:count}}}}|{{#expr:{{{offset|0}}} + {{#var:count}} + 1}}..%TOTALPAGES%]]¦
| + | |
− | [[Special:Call/{{#var:thispage}},offset={{#expr:{{{offset|0}}} + {{#var:count}}}}|{{#expr:{{{offset|0}}} + {{#var:count}} + 1}}..{{#expr:{{{offset|0}}} + 2 * {{#var:count}}}}]]
| + | |
− | }²
| + | |
− | }²
| + | |
− | [[{{#var:thispage}}|回到第1页]] (total %TOTALPAGES%)
| + | |
− | }²
| + | |
− | |noresultsfooter=no more results<br/>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br/>
| + | |
− | ²{#ifexpr:{{{offset|0}}} > 0¦
| + | |
− | [[Special:Call/{{#var:thispage}},offset={{#expr:{{{offset}}} - {{#var:count}}}}¦{{#expr:{{{offset}}} - {{#var:count}} + 1}}..%TOTALPAGES%]] }²
| + | |
− | [[{{#var:thispage}}|''回到第1页'']]
| + | |
− | }}</includeonly><noinclude>[[category:编辑]][[category:模板]]
| + | |
| | | |
| == 模板说明 == | | == 模板说明 == |