Шаблон:Transclude

Материал из Structorica Wiki
Версия от 06:52, 16 января 2026; Ivan (обсуждение | вклад) (Новая страница: «<includeonly>{{ #switch: {{NAMESPACE: {{{1}}} }} | #default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> | {{ns:0}} = {{ #ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }} | Template:{{{1}}} <!-- no leading colon, eg "Foo" --> | {{PAGENAME: {{{1}}} }} <!-- leading colon, eg ":Foo", so we want the article --> }} }}</includeonly><noinclude> === Documentation === This template resolves page names as they would be handled b...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигации Перейти к поиску

Documentation

This template resolves page names as they would be handled by MediaWiki's template-transclusion process. It thereby removes ambiguity when doing other things with template pagenames, e.g. linking.

Usage

  • {{transclude| Template:Foo }}Шаблон:Foo
  • {{transclude| Category:Foo }}Категория:Foo
  • {{transclude| Foo }}Template:Foo
  • {{transclude| :Foo }}Foo
  • {{transclude| :File:Foo }}Файл:Foo

See also