Template:Reflist: Difference between revisions
(added support for css3 column width, if no |1, |2, |3, etc is specified) |
(changes to documentation of parameters) |
||
Line 20: | Line 20: | ||
== Parameters == | == 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. | 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. Using simply <tt><nowiki>{{reflist|2}}</nowiki></tt> will create a reference list which uses CSS3 to automatically choose the number of columns based on the width of the web browser and the size of the text. Currently, multiple columns only render properly in Mozilla/Firefox. [http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html] | ||
== See also == | == See also == |
Revision as of 12:30, 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 ipsum.<ref>Source name, access date, etc.</ref> Lorem ipsum dolor sit amet.<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. Using simply {{reflist|2}} will create a reference list which uses CSS3 to automatically choose the number of columns based on the width of the web browser and the size of the text. Currently, multiple columns only render properly in Mozilla/Firefox. [1]