模板:Timeline
出自Meshal Lite
(以内容“<includeonly><div class="block" style="background-color: rgb(247, 246, 245); border-color: rgb(235, 230, 221); width: calc(100% - 0em); margin-left: 0em;"><div class="b...”创建新页面) |
(\) |
||
第1行: | 第1行: | ||
− | <includeonly><div class="block" style="background-color: rgb(247, 246, 245); border-color: rgb(235, 230, 221); width: calc(100% - 0em); margin-left: 0em;"><div class="blockTitle" style="background-color: rgb(235, 230, 221); color: initial;">{{{1|{{{title|历史}}}}}}<span style="float:right; font-size:smaller;"><inputbox> | + | <includeonly><div style="display: none;">{{#vardefine: prefix|{{FULLPAGENAME}}/{{{2|{{{prefix|}}}}}}}}{{#vardefine:titlematch|{{PAGENAME}}}}{{#vardefine:titlereplace|{{#replaceset:{{PAGENAME}}|/\//=\\/}}}}</div><div class="block" style="background-color: rgb(247, 246, 245); border-color: rgb(235, 230, 221); width: calc(100% - 0em); margin-left: 0em;"><div class="blockTitle" style="background-color: rgb(235, 230, 221); color: initial;">{{{1|{{{title|历史}}}}}}<span style="float:right; font-size:smaller;"><inputbox> |
type=create | type=create | ||
width=20 | width=20 | ||
break=no | break=no | ||
− | prefix={{ | + | prefix={{#var:prefix}} |
preload=template:createEvent | preload=template:createEvent | ||
buttonlabel=新增事件 | buttonlabel=新增事件 | ||
第11行: | 第11行: | ||
|noresultsheader=暂无结果 | |noresultsheader=暂无结果 | ||
|order = {{#ifeq:{{{3|{{{order|}}}}}}|desc|descending|ascending}} | |order = {{#ifeq:{{{3|{{{order|}}}}}}|desc|descending|ascending}} | ||
− | |titlematch = {{ | + | |titlematch = {{#var:titlematch}}/{{{2|{{{prefix|}}}}}}% |
− | |replaceintitle = /{{ | + | |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> |