Template:Is article
概要
Returns true if on an article page. It can be useful in de-obfuscating wiki markup. It was created to facilitate adding tracking categories.
參數及使用方法
{{#if:{{is article}}|Wikipedia article}}
→
{{#if:{{is article}}| |not a Wikipedia article}}
→ not a Wikipedia article
These results reflect the fact that this page is in the template name space.4
參見
上述文档嵌入自Template:Is article/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |