reflist

Use this template to create a reference list in small font for an article.

Documentation icon Sgrìobhainnean teamplaid]

Usage

Note that there is no consensus that small font size should always be used for all references; when normal-sized font is more appropriate on an article, use instead.

If used with no parameters, it will produce a reference list with a single column.

Font size

The font size should reduce to 90% for most browsers, but may appear to show at 100% for Internet Explorer and possibly other browsers. Reflist uses one CSS entry in MediaWiki:Common.css to set the font size:

  • .references-small { font-size: 90%;}

Editors may over-ride this settings by placing entries in their personal CSS.

Multiple columns

Using {{reflist|2}} will create a two-column reference list, and {{reflist|3}} will create a three-column list. Three-column lists are inaccessible to users with smaller/laptop monitors and should be avoided.

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 is appropriate for the average width of the references on the page.

Browser support

Multiple columns are generated by using CSS3, which is still in development; thus only browsers that properly support the multi-column selector will show multiple columns.

  • Mozilla Firefox and other Gecko-based browsers support multiple columns with two caveats:
    • may create widows
    • may mangle long URLs in the printable version; see Faidhle:Wikipediareflistoverlap.gif for an example
  • Internet Explorer does not currently support the column selector; version 8 is not scheduled to support it.
  • Safari through 3.2.2 and 4 beta, Google Chrome and possibly other WebKit based browsers have a bug that breaks links in multiple columns; the column feature has been removed for these browsers until the bug is resolved; see Teamplaid:Reflist/Safari testcase for details.
  • Opera does not support multiple columns.

Disabling multiple columns for your account

If you cannot abide multiple columns, you may add the following to your personal CSS file (after creating an account if you have not already done so) to force single-column display while logged in to your account:

.references-column-count, .references-column-width {     column-count:1 !important;     column-width:auto !important;     -moz-column-count:1 !important;     -moz-column-width:auto !important;     -webkit-column-count:1 !important;     -webkit-column-width:auto !important; } 

This will normally have to be added to your monobook.css; if you are using a different skin, look in the "Personal CSS" column of the table here to find the right file.

Three options for usage

Option 1 (footnote-style references) — Example:

==Content== Lorem ipsum.Source name, access date, etc.  Lorem ipsum dolor sit amet.Source name, access date, etc.  ==References== {{Reflist}} 

Option 2 (bibliographical style) — Example:

==Content== Lorem ipsum.  Lorem ipsum dolor sit amet.  ==References== {{Refbegin}} * reference 1 * reference 2 {{Refend}} 

Option 3 (both footnote-style and bibiography-style references) — Example:

==Content== Lorem ipsum.Source name, access date, etc.  Lorem ipsum dolor sit amet.Source name, access date, etc.  Lorem ipsum.  Lorem ipsum dolor sit amet.  ==References== {{Reflist}}  {{Refbegin}} * reference 1 * reference 2 {{Refend}} 

Continuing the references

In order to add references manually, use the "#" sign and enclose the additional references in the "references-small" div style, as in this example:

Teamplaid:Pre2

The

  • tag is used to ensure the new references start at the correct number. In the example, there was just one reference. Had there been 10, we would have started the additional references at "11".

    Groups extension

    The tag now supports named groups so that separate lists may be created— see Uicipeid:Footnotes#Separating reference lists and explanatory notes.

    The general format for the reference tag would be:

    And for the reflist:

    {{Reflist|group=name}}
      Where name would be a group identifier such as "note", "nb" or "label".

    For example, to create a separate format notes list, the references would be formatted as:

    To create the formatted list:

    ==Name== {{Reflist|group=note}}

    While any number of groups can be created and listed, they should be kept to a minimum.

    Caveats

    This template (or by any means, for that matter) should not be used multiple times in the same page with the same value for the group parameter. But if this is for some reason required, at least one parameter must be passed to every invocation of the template for correct output. For example, use {{Reflist|dummy=1}} instead of simply {{Reflist}}.

    See also

    • Uicipeid:Citing sources; style guide for the citation of sources, and layout options
    • Uicipeid:Footnotes; style guide for footnotes and inline citations
    • Template for adding an HTML comment that explains references
      • {{Footnotes}}
      Templates for formatting individual reference citations
    • Uicipeid:Citation templates
      Templates for formatting lists of references and bibliographies
    • {{Refbegin}} — {{Refend}}; open and close tags to apply 'references-small' font-size style to a listing
      • {{Ref indent}} — {{Ref indent-end}}; open and close tags to apply a hanging indent style to a listing
      • {{Colbegin}} Template creates 2 columns.
    • {{Reflist-talk}}; reflist for Talk pages.

    References

  • Tags:

    🔥 Trending searches on Wiki Gàidhlig:

    Inbhir ÀirFloridaNa h-Eileanan SiarArthur BalfourLeatromLàrach-lìnBreatannaisSNACPunnd SasannachFeallsanaicheEòin BaistidhMuncaidhSankt Peterburg1818Amy WinehouseDlighe CharlesBall-coiseMuir1974Na h-AimearaganWiki CommonsPenn-ar-Bed1868ViennaAnailis mhatamataigeachRèabhlaideach17 an DùbhlachdBuain na mònaAn ÈipheitComhairle Siorrachd Lannraig a DeasAonadh RugbaidhConaltradhCoimpiutaireachdAn Cogadh MòrPublius Vergilius MaroSgrailPop1864DuthaichBraisil1996An OstairNaomh Bhionsant agus Eileanan Greanadach2004CairoAn Caisteal NuadhCrìonag7 an t-SamhainBIBSYSDeòrsa I Bhreatainn is ÈireannPlastaig1991FryslânIosraelTobias Michel Karel Asser2009VolapükPicsealNa h-Eileanan a-staighCarraig FhearghaisCo-mhaoineasPeppa PigTurcaisDreuchdanIerusalemRugbaidh lìog31 am Màrt13 an GibleanVirtual International Authority FileAlbaNa h-Eileanan FàroCuan Sèimh🡆 More