Wiktenauer logo.png

Template:Template reference list

From Wiktenauer
Jump to navigation Jump to search

References

[edit] [history] [purge] Documentation icon Template documentation

This template is used to show the references used in a template on the template page.

Overview

{{Template reference list}} provides an explanatory list of references that are entered into the template in which Template reference list is inserted. The references appear in the article where the template is used if either {{Reflist}} or the <references/> tag is used in the article. By showing the references on the template page, the Cite error message is defeated, and 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.

See also

ja:Template:Template reference list

simple:Template:Template reference list