Difference between revisions of "Template: References"

From A Wiki of Ice and Fire
Jump to: navigation, search
(New page: <div class="references-small" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; -webkit-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="...)
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="references-small" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; -webkit-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}} }};" |}}>
<includeonly><div class="references-small"
<references /></div><noinclude>{{pp-template|small=yes}}{{/doc}}</noinclude>
{{#if: {{{colwidth|}}}{{{1|}}}
| style="-webkit-column-width:{{{colwidth|200px}}};
{{#if: {{{1|}}}
  | -webkit-column-count:{{{1}}};

Latest revision as of 23:40, 6 September 2018

Template documentation[view] [edit] [history] [purge]

This template creates a formatted list of references defined by <ref> tags and the {{ref}} template, within the body of the article.


  • {{references}}: Adds a simple reference list.
  • {{references|X}}: Adds a reference list separated in X columns.
    • Note that the columns are minimum 150px wide by default. This can be overwritten with the colwidth parameter: {{references|X|colwidth=Y}}
  • {{References|X|refs=...}}: Allows you to define named references within the body of the template and link to them from the article. This can sometimes allow for an easier management of references i.e. all in one place.

Common usage

The references should be placed in the footnotes, at the bottom of the page, just before the categories. Simply copy-paste the code below there. If in doubt see any other page with the section already in place. For the common 2-column reference list, use:

==References and Notes==

See Also