“模板:快速分类”的版本间的差异
模板:快速分类
跳到导航
跳到搜索
第3行: | 第3行: | ||
{{快速分类}} | {{快速分类}} | ||
</pre> | </pre> | ||
− | </noinclude>{{DISPLAYTITLE:{{SUBPAGENAME}} }}{{#set: 设定标题={{PAGENAME}} }}{{#regex: {{PAGENAME}} | /^(?:(W{{!}}X)\/([^:]+)(:)?)?.*/ |}}{{#vardefine: wtype| {{PagePrefix/Category|name={{PAGENAME}} }} }}{{#vardefine: wname | {{PagePrefix/Domain|name={{PAGENAME}} }} }}{{#vardefine: isnotindex | {{PagePrefix/IsPrefix|name={{PAGENAME}} }} }}{{#if: {{#var: wname}}| | + | </noinclude>{{DISPLAYTITLE:{{SUBPAGENAME}} {{#if: {{PagePrefix|IsPrefix}} | <span class="ifw-basepagename">{{BASEPAGENAME}}</span> }} }}{{#set: 设定标题={{PAGENAME}} }}{{#regex: {{PAGENAME}} | /^(?:(W{{!}}X)\/([^:]+)(:)?)?.*/ |}}{{#vardefine: wtype| {{PagePrefix/Category|name={{PAGENAME}} }} }}{{#vardefine: wname | {{PagePrefix/Domain|name={{PAGENAME}} }} }}{{#vardefine: isnotindex | {{PagePrefix/IsPrefix|name={{PAGENAME}} }} }}{{#if: {{#var: wname}}| |
{{#switch: {{#var: wtype}} | {{#switch: {{#var: wtype}} | ||
|W={{#if: {{#var: isnotindex}} | |W={{#if: {{#var: isnotindex}} |