Шаблон:Documentation/doc

Материал из Eco - Русская Wiki
Версия от 16:10, 2 июля 2025; StalEF (обсуждение | вклад) (Новая страница: «==Описание== This template is used to insert descriptions on template pages. ==Разметка== Add <code><nowiki><noinclude>{{Documentation}}</noinclude></nowiki></code> at the end of the template page. ==Использование== ===On the Template page=== This is the normal format when used: <syntaxhighlight lang="mediawiki"> TEMPLATE CODE <includeonly>Any categories to be inserted into articles by the template</includeonly> <noinclude>{{...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к:навигация, поиск

Описание

This template is used to insert descriptions on template pages.

Разметка

Add <noinclude>{{Documentation}}</noinclude> at the end of the template page.

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

On the Template page

This is the normal format when used:

TEMPLATE CODE
<includeonly>Any categories to be inserted into articles by the template</includeonly>
<noinclude>{{Documentation}}</noinclude>

On the documentation page

The documentation page is located on the /doc subpage for a template.

== Описание==
This template is used to do something.

== Разметка==
Type <code>{{templatename}}</code> somewhere.

== Примеры==
<code><nowiki>{{templatename|input}}</nowiki></code>

results in...

{{templatename|input}}

<includeonly>Any categories for the template itself</includeonly>
<noinclude>[[Category:Template Docs]]</noinclude>