Template:Ns has subpages/doc
Jump to navigation
Jump to search
Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory
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}}
→ Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory{{ns has subpages|Template}}
→ Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory{{ns has subpages|Category}}
→ Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory{{ns has subpages|}}
(main space) → Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory{{ns has subpages|{{ns:0}}}}
(main space) → Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory{{ns has subpages|:}}
(main space) → Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory{{ns has subpages|{{ns:Talk}}}}
→ Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory{{ns has subpages|Category talk}}
→ Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory{{ns has subpages|File:Foo}}
→ Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory{{ns has subpages|Foo}}
→ Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory{{ns has subpages|:Template}}
→ Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory
See also
{{namespace detect}}
{{NAMESPACEID}}