Teamplaid:Is subpage namespace
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.
Ùsaid - Usage
deasaich- {{ns has subpages}} → yes
- {{ns has subpages|Template}} → yes
- {{ns has subpages|Roinn-seòrsa}} →
- {{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|Deasbaireachd na roinn-seòrsa}} → yes
- {{ns has subpages|Faidhle:Foo}} →
- {{ns has subpages|Foo}} →
- {{ns has subpages|:Template}} → yes
Faic cuideachd - Also see
- {{Namespace detect}}
- {{NAMESPACEID}}
The above documentation is transcluded from Teamplaid:Is subpage namespace/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |