.

Template:Reflist/doc

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search

Template:Template doc page viewed directly

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).

If used with no parameters, it will simply produce a reference list in a small font.

Multiple columns

Using {{reflist|2}} will create a two-column reference list, and {{reflist|3}} will create a three-column list.

Using {{reflist|colwidth=30em}} will allow the browser to automatically choose the number of columns based on the width of the web browser. Choose a column width that's appropriate for the average width of the references on the page.

Note: multiple columns currently render properly only in Mozilla Firefox,<ref>Template:Citation/core{{#if:|}}</ref> though the feature is included in CSS3, so it should work for a larger number of browsers in the future.<ref>Template:Citation/core{{#if:|}}</ref>

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}}

See also

References

1 }}
     | references-column-width 
     | references-column-count references-column-count-{{{1}}} }}
   | {{#if: 
     | references-column-width }} }}" style="{{#if: 
   | {{#iferror: {{#ifexpr: 1 > 1 }}
     | column-width: {{{1}}}; -moz-column-width: {{{1}}}; -webkit-column-width: {{{1}}};
     | column-count: {{{1}}}; -moz-column-count: {{{1}}}; -webkit-column-count: {{{1}}}; }}
   | {{#if: 
     | column-width: {{{colwidth}}}; -moz-column-width: {{{colwidth}}}; -webkit-column-width: {{{colwidth}}}; }} }}">
<references group=""></references>