Predložak:Ns has subpages: razlika između inačica
Prijeđi na navigaciju
Prijeđi na pretraživanje
Bot: Automatski unos stranica |
m Zamjena teksta - '{{documentation}}' u '{{dokumentacija}}' |
||
| Redak 1: | Redak 1: | ||
<!--'''Predložak:Ns has subpages'''-->{{<includeonly>safesubst:</includeonly>#invoke:Ns has subpages|main}}<noinclude> | <!--'''Predložak:Ns has subpages'''-->{{<includeonly>safesubst:</includeonly>#invoke:Ns has subpages|main}}<noinclude> | ||
{{ | {{dokumentacija}} | ||
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> | <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Inačica od 24. svibanj 2025. u 22:47
Script error: No such module "Ns has subpages".
Dokumentacija
Ovaj se predložak koristi na velikom broju stranica.
| Koristi Lua modul: |
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|function}}→ Script error: No such module "Ns has subpages".{{ns has subpages|Template}}→ Script error: No such module "Ns has subpages".{{ns has subpages|Category}}→ Script error: No such module "Ns has subpages".{{ns has subpages|}}(main space) → Script error: No such module "Ns has subpages".{{ns has subpages|{{ns:0}}}}(main space) → Script error: No such module "Ns has subpages".{{ns has subpages|:}}(main space) → Script error: No such module "Ns has subpages".{{ns has subpages|{{ns:Talk}}}}→ Script error: No such module "Ns has subpages".{{ns has subpages|Razgovor o kategoriji}}→ Script error: No such module "Ns has subpages".{{ns has subpages|Datoteka:Foo}}→ Script error: No such module "Ns has subpages".{{ns has subpages|Foo}}→ Script error: No such module "Ns has subpages".{{ns has subpages|:Template}}→ Script error: No such module "Ns has subpages".
See also
{{namespace detect|function}}{{NAMESPACEID|function}}