Teamplaid:ns has subpages
Coltas
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|Teamplaid}} → 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:Deasbaireachd}}}} → yes
- {{ns has subpages|Deasbaireachd na roinn-seòrsa}} → yes
- {{ns has subpages|Faidhle:Foo}} →
- {{ns has subpages|Foo}} →
- {{ns has subpages|:Teamplaid}} → yes
Faic cuideachd - Also see
- {{Namespace detect}}
- {{NAMESPACEID}}
The above documentation is transcluded from Teamplaid:ns has subpages/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. |