Шаблон:SUBPAGENAME/doc
Перейти до навігації
Перейти до пошуку
Usage[ред.]
The builtin template {{SUBPAGENAME}}
does not work on this wiki for all namespaces (and notably not in the "Template:" namespace where it is needed to manage "/doc" and "/sandbox" subpages).
This is a workaround that you can call using {{Template:SUBPAGENAME}}
instead.
Also, unlike the builtin template, it will de-HTML-ize its return value (e.g. apostrophes and a few other ASCII punctuations accepted in page titles).
On this page, it currently returns "{{#explode:SUBPAGENAME/doc|/|-1}}".
It works using MediaWiki Extension:StringFunctions which is enabled on this wiki.
See also[ред.]