Template:Reflist

Template page
<references />

This page has been transcluded from Template:Reflist/Documentation.


Use this template to create a reference list in an article. If used with no parameters, it will simply produce a reference list in a small font. For more information see StrategyWiki:Guide/References.

Usage[edit source]

==Content==

Lorem ipsum.<ref>Source name, access date, etc.</ref><ref>Source name, access date, etc.</ref>

Lorem ipsum dolor sit amet.<ref>Source name, access date, etc.</ref><ref>Source name, access date, etc.</ref>

==References==

{{reflist}}

Reusing references[edit source]

You can specify a reference to use with multiple <ref> tags by using the name parameter. Put the text of the reference into the first reference to use the name, and then in any further instances of the reference, you can use just the name without the text and they will share the note in the reflist.<ref name="example">example of a named reference</ref><ref name="example">example of a named reference</ref>

Now that a reference is named, it can be used again by sharing the name parameter. Use a self-closing <ref> tag by including a space and a forward slash at the end of the tag. You will be able to see that both this ref tag and the previous one share the same number.<ref name="example" /><ref name="example" />

Multiple columns[edit source]

Note: Multiple columns currently render properly only in Mozilla Firefox, in other browsers the reflist will be treated as a single column.

Using {{reflist|2}} will create a two-column reference list, and {{reflist|3}} will create a three-column list.

Using {{reflist|colwidth=30em}} will allow the browser to automatically choose the number of columns based on the width of the web browser. Choose a column width that's appropriate for the average width of the references on the page.

References[edit source]

This is a list of references from this page using the {{reflist}} template:

<references />