Difference between revisions of "Template:Reflist"
(Wrote how to use, added category) |
|||
(One intermediate revision by one other user 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}}} }};" |}}> | <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}}} }};" |}}> | ||
− | <references /></div> | + | <references /> |
+ | </div> | ||
+ | |||
+ | <noinclude> | ||
+ | == How to use == | ||
+ | Use this template to create a list of '''References''' in an article. References are automatically collected every time a <ref> </ref> tag is used in the article. | ||
+ | |||
+ | Example: | ||
+ | <pre> | ||
+ | This is a line that is referenced by some book.<ref>Name of book, Author</ref> | ||
+ | |||
+ | {{reflist}} | ||
+ | </pre> | ||
+ | |||
+ | Will look like this: | ||
+ | |||
+ | This is a line that is references by some book.<ref>Name of book, Author</ref> | ||
+ | |||
+ | {{reflist}} | ||
+ | |||
+ | |||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Latest revision as of 01:06, 4 March 2011
How to use
Use this template to create a list of References in an article. References are automatically collected every time a <ref> </ref> tag is used in the article.
Example:
This is a line that is referenced by some book.<ref>Name of book, Author</ref> {{reflist}}
Will look like this:
This is a line that is references by some book.[1]
- ↑ Name of book, Author