Template:Ns has subpages/doc

Description
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

 * (''main space) →
 * (main space) →
 * (main space) →
 * (''main space) →
 * (main space) →
 * (main space) →

Technical details
This template uses Lua. It invokes Module:Ns has subpages.

Credits
This template's code was taken from Template:Ns has subpages on the English Wikipedia. This template documentation contains content from Template:Ns has subpages/doc.