Somepage: различия между версиями

Материал из Справочник переводчики
Нет описания правки
мНет описания правки
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
asdasdasd
asdasdasd
{{Special:PrefixIndex/{{FULLPAGENAME}}/}}
{{Special:PrefixIndex/{{FULLPAGENAME}}/}}
{{Special:PrefixIndex/{{PAGENAME}}/}} Magic words Full page title (including all subpage levels) without the namespace.
{{Special:PrefixIndex/{{BASEPAGENAME}}/}} Magic words Page title of the page in the immediately superior subpage level without the namespace. Would return Title/Foo on page Help:Title/Foo/Bar.
≥ 1.7
{{Special:PrefixIndex/{{ROOTPAGENAME}}/}} Magic words Name of the root of the current page. Would return Title on page Help:Title/Foo/Bar.
≥ 1.22
{{Special:PrefixIndex/{{SUBPAGENAME}}/}} Magic words The subpage title. Would return Bar on page Help:Title/Foo/Bar.
If no subpage exists the value of {{PAGENAME}} is returned.
For more complex splitting, use {{#titleparts:}} from the ParserFunctions extension.
≥ 1.6
{{Special:PrefixIndex/{{SUBJECTPAGENAME}}/}}
{{Special:PrefixIndex/{{ARTICLEPAGENAME}}/}} Help:Magic words
Help:Magic words Full page name of the associated subject (e.g. article or file). Useful on talk pages.
≥ 1.7
{{Special:PrefixIndex/{{TALKPAGENAME}}/}} Help talk:Magic words Full page name of the associated talk page.

Текущая версия от 08:04, 20 января 2023

asdasdasd

Magic words Full page title (including all subpage levels) without the namespace.


Magic words Page title of the page in the immediately superior subpage level without the namespace. Would return Title/Foo on page Help:Title/Foo/Bar.

≥ 1.7


Magic words Name of the root of the current page. Would return Title on page Help:Title/Foo/Bar.

≥ 1.22


Magic words The subpage title. Would return Bar on page Help:Title/Foo/Bar.

If no subpage exists the value of Somepage is returned.

For more complex splitting, use from the ParserFunctions extension.

≥ 1.6


Help:Magic words

Help:Magic words Full page name of the associated subject (e.g. article or file). Useful on talk pages. ≥ 1.7


Help talk:Magic words Full page name of the associated talk page.