Template:Transclude:修订间差异
删除的内容 添加的内容
fix: #ifeq 改为 #ifexist,修复模板名被误判为主空间页面的 bug 标签:已被回退 |
还原为 zhwiki 原版 标签:已被回退 |
||
第1行:
{{#switch: {{NAMESPACE: {{{1}}} }}
|#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" -->
|{{ns:0}} =
{{#
| Template:{{{1}}} <!-- no leading colon, eg "Foo" -->
| {{PAGENAME: {{{1}}} }} <!-- leading colon, eg ":Foo", so we want the article -->
}}
}}<noinclude>
| |||