Шаблон:Documentation/doc

Материал из Энциклопедия StarCraft
Перейти к навигацииПерейти к поиску

Overview[править]

This template adds documentation to another template from another page. Moving the documentation to another page improves performance.

Usage[править]

<noinclude>{{documentation}}</noinclude>

On the Template page[править]

Template code<includeonly>Any categories to be inserted into articles by the template</includeonly><noinclude>{{documentation}}</noinclude>

Note that, depending on the template, you may need to add a clear or complete a table/div just before {{documentation}} is inserted (within the noinclude tags).

The line break is also useful as it helps prevent the documentation template "running into" previous code.

On the Template/doc page[править]

Documentation followed by <noinclude>[[Category:Template documentation]]</noinclude>