Citakan:Ns has subpages
Pidangan
yes
This template is used on 780,000+ pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
Detects whether the current or the given namespace has subpages enabled. Returns "yes" if it does, and an empty string otherwise.
This template can be substituted.
Usage
[édit sumber]- {{ns has subpages}} → yes
- {{ns has subpages|Template}} → yes
- {{ns has subpages|Category}} →
- {{ns has subpages|}} (main space) →
- {{ns has subpages|{{ns:0}}}} (main space) →
- {{ns has subpages|:}} (main space) →
- {{ns has subpages|{{ns:Talk}}}} → yes
- {{ns has subpages|Obrolan kategori}} → yes
- {{ns has subpages|Gambar:Foo}} →
- {{ns has subpages|Foo}} →
- {{ns has subpages|:Template}} → yes
See also
[édit sumber]- {{namespace detect}}
- {{NAMESPACEID}}