Template:Namespace has subpages
yes
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
edit- {{namespace has subpages}} → yes
- {{namespace has subpages|Template}} → yes
- {{namespace has subpages|Category}} → yes
- {{namespace has subpages|}} (main space) → yes
- {{namespace has subpages|{{ns:0}}}} (main space) → yes
- {{namespace has subpages|:}} (main space) → yes
- {{namespace has subpages|{{ns:Talk}}}} → yes
See also
edit- {{namespace detect}}