跳转到内容

模板:Template reference list/doc

维基百科,自由的百科全书

此模板用于在模板页中显示模板的引用资料。

使用此模板时请注意将其置入<noinclude></noinclude>之中。

Overview

[编辑]

{{Template reference list}} provides an explanatory list of references within the template that does not show in the article where the template is used. By showing the template references, it allows the template editor to verify those references.

Usage

[编辑]

If the template includes a documentation page, simply add a regular references section there.

If the template does not include a documentation page, add <noinclude>{{Template reference list}}</noinclude>, near the end of the template as in any article.

Important note The article where the template is used must include a <references /> tag or the {{Reflist}} template.

Technical

[编辑]

This templates uses <h2><span class="mw-headline">References</span></h2> instead of == to create the section header. The standard wikimarkup creates an edit link that when transcludeds links back to the original template. Thus, an editor who clicked on the edit link on the References section would confusingly open this template for editing.

重定向

[编辑]

参见

[编辑]