Difference between revisions of "Template:Reflist"
From Self-sufficiency
m (rmv cite web) |
(add a first parameter for setting the number of columns) |
||
Line 1: | Line 1: | ||
− | <div class="references-small"> | + | <div class="references-small" {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}};" |}}> |
<references/> | <references/> | ||
</div><noinclude> | </div><noinclude> | ||
Line 18: | Line 18: | ||
</pre> | </pre> | ||
+ | |||
+ | == Parameters == | ||
+ | Using <tt><nowiki>{{reflist|2}}</nowiki></tt> will create a two-column reference list, and <tt><nowiki>{{reflist|3}}</nowiki></tt> will create a three-column list. | ||
== See also == | == See also == |
Revision as of 00:44, 3 November 2006
Usage
Use this template to create a reference list in an article (unlike Template:Reference, Reflist doesn't include the References heading, thereby making the syntax easier to read). For Example:
== Content == Lorem.<ref>Source name, access date, etc.</ref> Lorem ipsum.<ref>Source name, access date, etc.</ref> == References == {{reflist}}
Parameters
Using {{reflist|2}} will create a two-column reference list, and {{reflist|3}} will create a three-column list.