Шаблон:Doc/doc: различия между версиями

Шаблон используемый на Wikimeat
Нет описания правки
Нет описания правки
Строка 5: Строка 5:
Поместите {{t|documentation}} на самом верху страницы с документацией.  
Поместите {{t|documentation}} на самом верху страницы с документацией.  


If the page to be documented is a subpage, use {{t|documentation|pagename of page to be documented}} at the top of the documentation page. For example, Template:Foo/bar's documentation page would use {{t|documentation|Template:Foo/bar}}.
If the page to be documented is a subpage, use {{t|documentation|pagename of page to be documented}} at the top of the documentation page. Например, документация страницы Шаблон:Foo/bar должен быть указан, как {{t|documentation|Шаблон:Foo/bar}}.


The template will attempt to auto detect and link <code><nowiki>{{#Invoke:}}</nowiki></code> calls on template documentations or the <code>require()</code>/<code>mw.loadData()</code> depedency list on module documentations. If you want to supress the auto generated dependency list, use {{t|documentation|DependencyList=no}}
The template will attempt to auto detect and link <code><nowiki>{{#Invoke:}}</nowiki></code> calls on template documentations or the <code>require()</code>/<code>mw.loadData()</code> depedency list on module documentations. If you want to supress the auto generated dependency list, use {{t|documentation|DependencyList=no}}


==Note==
==Заметка==
This template links to a /doc that may appear useless, however, it exists in order to link navboxes and userboxes to their base template's documentation.  
This template links to a /doc that may appear useless, however, it exists in order to link navboxes and userboxes to their base template's documentation.  
<includeonly></includeonly>
<includeonly></includeonly>
Строка 17: Строка 17:
{
{
"params": {},
"params": {},
"description": "The documentation template is transcluded in the template/module documentation. This template should only be used on subpages titled \"doc\"."
"description": "Шаблон документации включен в template/module документацию. Этот шаблон используется только на подстраницах с пометкой \"doc\"."
}
}
</templatedata>
</templatedata>

Версия от 08:58, 7 ноября 2020

documentation шаблон включен в template/module документацию. Этот шаблон используется только на подстраницах с пометкой "doc".

Использование

Поместите {{documentation}} на самом верху страницы с документацией.

If the page to be documented is a subpage, use {{documentation|<pagename of page to be documented>}} at the top of the documentation page. Например, документация страницы Шаблон:Foo/bar должен быть указан, как {{documentation|<Шаблон:Foo/bar>}}.

The template will attempt to auto detect and link {{#Invoke:}} calls on template documentations or the require()/mw.loadData() depedency list on module documentations. If you want to supress the auto generated dependency list, use {{documentation}}

Заметка

This template links to a /doc that may appear useless, however, it exists in order to link navboxes and userboxes to their base template's documentation.


TemplateData

Шаблон документации включен в template/module документацию. Этот шаблон используется только на подстраницах с пометкой "doc".

Параметры шаблона

ПараметрОписаниеТипСтатус
Не указано ни одного параметра
🍪 Наш веб-сайт использует файлы cookie для того, чтобы сделать ваш опыт использования сайта лучше и анализа использования сайта