Template:Reflist: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Karam.Anthony.K
m minor change
meta>Karam.Anthony.K
added support for css3 column width, if no |1, |2, |3, etc is specified
Line 1: Line 1:
<div class="references-small" {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}};" |}}>
<div class="references-small" {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}};" | style="-moz-column-width:30em"}}>
<references/>
<references/>
</div><noinclude>
</div><noinclude>

Revision as of 17:20, 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. Currently, multiple columns only render properly in Mozilla/Firefox. [1]

See also