模板:Categorydetails
出自Meshal Lite
第1行: | 第1行: | ||
− | <includeonly> | + | <includeonly>{|width=100% class="databaseCategoryDetails" |
− | + | |style="padding-left:1em;"|{{#dpl:mode=userformat|notnamespace=分类|category={{{1|{{{category|{{PAGENAME}}}}}}}}|resultsheader='''本分类下共有 %TOTALPAGES% 个页面'''|noresultsheader='''本分类下目前没有任何页面'''}} | |
− | { | + | |style="padding-left:1em;"|'''子分类''' |
− | + | |- | |
− | {{#dpl:mode=userformat|notnamespace=分类|category={{{1|{{{category|{{PAGENAME}}}}}}}}|resultsheader= | + | | |
{{#dpl: | {{#dpl: | ||
|notnamespace = 分类 | |notnamespace = 分类 | ||
− | |noresultsheader= | + | |noresultsheader=<nowiki></nowiki> |
|category = {{{1|{{{category|{{PAGENAME}}}}}}}} | |category = {{{1|{{{category|{{PAGENAME}}}}}}}} | ||
|count = {%DPL_count:{{{2|{{{pages|64}}}}}}%} | |count = {%DPL_count:{{{2|{{{pages|64}}}}}}%} | ||
+ | |addcategories=true | ||
|rowcolformat=class="databaseList" | |rowcolformat=class="databaseList" | ||
|resultsheader =²{Extension_DPL/pager¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n | |resultsheader =²{Extension_DPL/pager¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n | ||
第14行: | 第15行: | ||
|scroll = yes | |scroll = yes | ||
|columns = {{{3|{{{columns|4}}}}}} | |columns = {{{3|{{{columns|4}}}}}} | ||
− | |format=,\n*[[%PAGE%|%TITLE%]]<span class="databaseListParentPageTitle">%NAMESPACE%<span>,, | + | |format=,\n*[[%PAGE%|%TITLE%]]<span class="databaseListParentPageTitle">[%NAMESPACE%] ²{#dplreplace:²{#dplreplace:%CATNAMES%¦/(世界设定-[^\s]*)/¦}²¦/(V8[^\s]*)/¦}²<span>,, |
}} | }} | ||
− | </includeonly><noinclude>{{tpl_helpdoc}}</noinclude> | + | |style="padding-left:1em; width:25%; font-size:.8em;"|{{#categorytree:{{PAGENAME}}|mode=categories|hideprefix=never|showcount=off}} |
+ | |}</includeonly><noinclude>{{tpl_helpdoc}}</noinclude> |