Template:Namespace has subpages
Jump to navigation
Jump to search
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}}
The above documentation is transcluded from Template:Namespace has subpages/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |