Predložak:Ns has subpages/doc
Jump to navigation
Jump to search
![]() | Ovo je dokumentacija podstranice Predložak:Ns has subpages. Sadrži informacije o uporabi, kategorijama i ostalom sadržaju koji nije dio izvorne stranice ili predloška. |
![]() | This template is used on 965.000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing any changes on the talk page before implementing them. |
![]() | 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.
Usage[uredi]
- {{ns has subpages}} → yes
- {{ns has subpages|Template}} → yes
- {{ns has subpages|Category}} →
- {{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|Razgovor o kategoriji}} → yes
- {{ns has subpages|Datoteka:Foo}} →
- {{ns has subpages|Foo}} →
- {{ns has subpages|:Template}} → yes
See also[uredi]
- {{namespace detect}}
- {{NAMESPACEID}}