Template:Reflist/doc

From Super-wiki
Jump to: navigation, search

Use this template to create a footnote-style reference list in an article. The advantage to doing this using the Ref tag is that the wiki will take care of numbering and managing the references list, editors will not need to renumber an entire references list just to add one footnote mid-article.


Four options for usage

Option 1 (only specific/unique references)

== Content ==

Lorem ipsum.<ref>season, episode, etc.</ref>

Lorem ipsum dolor sit amet.<ref>season, episode, etc.</ref>

== References ==

{{reflist}}

This will create an uniquely numbered footnote at the end of each sentence, which will be a working link to the references list at the end of the article. The references themselves can also be links to other pages on the wiki, or even external pages.


Option 2 (repeat references)

== Content ==

Lorum ipsum.<ref>season, episode, etc.</ref>

Lorum ipsum dolor sit amet.<ref name="five01">season, episode, etc.</ref>

Lorum ipsum.<ref name"five01" />

== References ==

{{reflist}}

This will make numbered footnotes at the end of each sentence, but the number for the second and third footnotes would be the same since they refer to the same source material. The advantage of doing this is less typing and therefore smaller page file size, especially when the reference is itself a link. Note that reference name cannot be just an integer, ie. 501, it must start with an alphabetical character.


Option 3 (only general references)

== Content ==

Lorem ipsum.

Lorem ipsum dolor sit amet.

== References ==

{{refbegin}}
* general reference 1
* general reference 2
{{refend}}

This makes a list of references at the end of the article, without any footnotes citing the references to specific text in the article.


Option 4 (both specific and general references)

== Content ==

Lorem ipsum.<ref>season, episode, etc.</ref>

Lorem ipsum dolor sit amet.<ref>season, episode, etc.</ref>

Lorem ipsum.

Lorem ipsum dolor sit amet.

== References ==

{{reflist}}

{{refbegin}}
* general reference 1
* general reference 2
{{refend}}

This combines both general references with in-article footnoted references.


Multiple columns

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.

Note: Multiple columns may not render properly in all browsers, as there are compatibility issues. Due to this please refrain from using columns, its listed here in the doc for the sake of comprehensiveness and possible future broad use.