个人工具

模板:Timeline

出自Meshal Lite

跳转到: 导航, 搜索
(\)
 
第1行: 第1行:
<includeonly><div style="display: none;">{{#vardefine: prefix|{{FULLPAGENAME}}/{{{2|{{{prefix|}}}}}}}}{{#vardefine:titlematch|{{PAGENAME}}}}
+
<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>
</div>{{BASEPAGENAME}}\/{{SUBPAGENAME}}<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
第13行: 第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 = /{{BASEPAGENAME}}\/{{SUBPAGENAME}}\//,
+
|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="databaseWordList"
+
|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="databaseWordList sortable litetable"><tr><th>'''日期'''</th><th>'''事件'''</th></tr>,<tr><td>[[%PAGE%¦%TITLE%]]</td><td>²{:%PAGE%}²</td><td></tr>,,</table>
+
|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>

在2019年12月28日 (六) 08:09的最新修订版本