Template:Ns has subpages
Appearance
yes
Uses Lua: |
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
- {{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|Category talk}} ā yes
- {{ns has subpages|File:Foo}} ā
- {{ns has subpages|Foo}} ā
- {{ns has subpages|:Template}} ā yes