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

Материал из SS220 SS14 WIKI
Нет описания правки
Нет описания правки
 
(не показаны 2 промежуточные версии этого же участника)
Строка 1: Строка 1:
The '''documentation''' template is transcluded in the template/module documentation. This template should only be used on subpages titled "doc".
<includeonly>{{#invoke:Documentation|doc}}__NOEDITSECTION__{{#seo:
 
|type = website
==Usage==
|description = {{FULLPAGENAME}} это страница-шаблон, используемая в SS220 SS14 WIKI. Страницы-шаблоны, которые встраиваются (переводятся) в другие страницы для повторения информации.
Place {{t|documentation}} at the top of the documentation page.
|site_name = SS220 SS14 WIKI
 
|locale = {{PAGELANGUAGE}}
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}}.
}}</includeonly><noinclude>{{/doc}}</noinclude>
 
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.
<includeonly></includeonly>
 
==TemplateData==
<templatedata>
{
"params": {},
"description": "The documentation template is transcluded in the template/module documentation. This template should only be used on subpages titled \"doc\"."
}
</templatedata>

Текущая версия от 12:17, 12 мая 2024

Message_documentation_title[view][edit][history][purge]
message_transclude_desc

The documentation template is transcluded in the template/module documentation. This template should only be used on subpages titled "doc".

Usage

Place {{documentation}} at the top of the documentation page.

If the page to be documented is a subpage, use {{documentation|<pagename of page to be documented>}} at the top of the documentation page. For example, Template:Foo/bar's documentation page would use {{documentation|<Template: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}}

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.


TemplateData

The documentation template is transcluded in the template/module documentation. This template should only be used on subpages titled "doc".

Параметры шаблона[Править данные шаблона]

ПараметрОписаниеТипСтатус
Не указано ни одного параметра