साँचा:Ns has subpages
दिखावट
yes
| This template is used on 7,80,000+ pages, or roughly 56% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
| This template 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
{{ns has subpages}}→ yes{{ns has subpages|Template}}→ yes{{ns has subpages|Category}}→{{ns has subpages|}}(main space)</bigc> →{{ns has subpages|{{ns:0}}</non wiki>}} <small>(''main space'')</small> → {{ns has subpages|{{ns:0}}}} * {{tlx|ns has subpages|:}} <small>(''main peace'')</small> → {{ns has subpages|:}} * {{tlx|ns has subpages|<nowiki>{{ns:Talk}}}}→ yes{{ns has subpages|श्रेणी वार्ता}}→ yes{{ns has subpages|चित्र:Foo}}→{{ns has subpages|Foo}}→{{ns has subpages|:Template}}→ yes
See also
{{namespace detect}}{{NAMESPACEID}}
| ऊपर दिए गए निर्देश साँचा:Ns has subpages/doc से लिए गए है।(संपादन | इतिहास) संपादक इस साँचे के प्रयोगस्थल व प्रयोग पन्नों में प्रयोग कर सकते है। sandbox (create) and testcases (create) pages. कृपया /doc उपपृष्ठ पर श्रेणियाँ व विकियों के बिच की कड़ियाँ जोड़े। इस साँचे के उपपृष्ठ। |