Template:Reflist: Difference between revisions

From EvaWiki
Jump to navigation Jump to search
No edit summary
 
(Wrote how to use, added category)
 
(2 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}}} }};" |}}>
<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><noinclude>
<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 &lt;ref&gt; &lt;/ref&gt; tag is used in the article.
 
Example:
<pre>
This is a line that is referenced by some book.&lt;ref&gt;Name of book, Author&lt;/ref&gt;
 
{{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]

  1. Name of book, Author