Template:Ns has subpages
Jump to navigation
Jump to search
Script error: No such module "Ns has subpages".
This template is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
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}}
→ Script error: No such module "Ns has subpages".{{ns has subpages|Template}}
→ Script error: No such module "Ns has subpages".{{ns has subpages|Category}}
→ Script error: No such module "Ns has subpages".{{ns has subpages|}}
(main space) → Script error: No such module "Ns has subpages".{{ns has subpages|{{ns:0}}}}
(main space) → Script error: No such module "Ns has subpages".{{ns has subpages|:}}
(main space) → Script error: No such module "Ns has subpages".{{ns has subpages|{{ns:Talk}}}}
→ Script error: No such module "Ns has subpages".{{ns has subpages|Category talk}}
→ Script error: No such module "Ns has subpages".{{ns has subpages|File:Foo}}
→ Script error: No such module "Ns has subpages".{{ns has subpages|Foo}}
→ Script error: No such module "Ns has subpages".{{ns has subpages|:Template}}
→ Script error: No such module "Ns has subpages".
See also
{{namespace detect}}
This template is based (in parts) on the Template:Ns has subpages from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.