Материал из Энциклопедия StarCraft
Перейти к навигацииПерейти к поиску{| class="navbox1global" style="width:100%;"
!colspan=3 class="navbox1title"|Template Documentation (Edit)
|-
|colspan=3 class="infobox1rowdata"|
This template adds documentation to another template from another page. Moving the documentation to another page improves performance.
<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>
|}
Template Documentation (Edit)
|
This template adds documentation to another template from another page. Moving the documentation to another page improves performance.
<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>
|