模板:Timeline
出自Meshal Lite
(\) |
|||
第12行: | 第12行: | ||
|order = {{#ifeq:{{{3|{{{order|}}}}}}|desc|descending|ascending}} | |order = {{#ifeq:{{{3|{{{order|}}}}}}|desc|descending|ascending}} | ||
|titlematch = {{#var:titlematch}}/{{{2|{{{prefix|}}}}}}% | |titlematch = {{#var:titlematch}}/{{{2|{{{prefix|}}}}}}% | ||
− | |replaceintitle = /{{#var:titlereplace}}\/{{{prefix|}}}/, | + | |replaceintitle = /({{#var:titlereplace}}\/{{{2|{{{prefix|}}}}}}0+(?!$)¦{{#var:titlereplace}}\/{{{2|{{{prefix|}}}}}})/,{{{2|{{{prefix|}}}}}} |
|count = {%DPL_count:{{{4|{{{count|64}}}}}}%} | |count = {%DPL_count:{{{4|{{{count|64}}}}}}%} | ||
− | |rowcolformat=class=" | + | |rowcolformat=class="databaseChronoList" |
|resultsheader =²{Extension_DPL/pager¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page=沙盒}²\n | |resultsheader =²{Extension_DPL/pager¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page=沙盒}²\n | ||
|resultsfooter = ²{Extension_DPL/pager¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page=沙盒}²\n | |resultsfooter = ²{Extension_DPL/pager¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page=沙盒}²\n | ||
|scroll = yes | |scroll = yes | ||
− | |format=<table class=" | + | |format=<table class="databaseChronoList sortable litetable"><tr><th width="{{{widthdate|15%}}}">'''日期'''</th><th width="{{{widthevent|}}}">'''事件'''</th></tr>,<tr><td>[[%PAGE%¦%TITLE%]]</td><td>²{:%PAGE%}²</td><td></tr>,,</table> |
}} | }} | ||
</div></div> | </div></div> | ||
</includeonly><noinclude>{{tpl_helpdoc}}</noinclude> | </includeonly><noinclude>{{tpl_helpdoc}}</noinclude> |