模板: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子頁面中添加分類。本模板的子頁面。 |