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

Материал из Космическая Станция 14 Вики
Нет описания правки
Нет описания правки
Строка 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}} is a template page used on the Star Citizen Wiki. Templates are pages that are embedded (transcluded) into other pages to allow for the repetition of information.
Place {{t|documentation}} at the top of the documentation page.
|site_name = Star Citizen 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>

Версия от 10:43, 6 марта 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".

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

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