<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.kevinlee.io/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>https://www.kevinlee.io/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AReflist%2Fdoc</id>
		<title>Template:Reflist/doc - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.kevinlee.io/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AReflist%2Fdoc"/>
		<link rel="alternate" type="text/html" href="https://www.kevinlee.io/w/index.php?title=Template:Reflist/doc&amp;action=history"/>
		<updated>2026-05-06T08:33:17Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>https://www.kevinlee.io/w/index.php?title=Template:Reflist/doc&amp;diff=335&amp;oldid=prev</id>
		<title>Kevin: Created page with &quot;{{documentation subpage}} &lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&gt; &lt;includeonly&gt;{{high-risk| 1,450,000+ }}&lt;/includeonly&gt; This template encapsulates the {{tag|referenc...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.kevinlee.io/w/index.php?title=Template:Reflist/doc&amp;diff=335&amp;oldid=prev"/>
				<updated>2010-08-02T13:13:25Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation subpage}} &amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt; &amp;lt;includeonly&amp;gt;{{high-risk| 1,450,000+ }}&amp;lt;/includeonly&amp;gt; This template encapsulates the {{tag|referenc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{high-risk| 1,450,000+ }}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
This template encapsulates the {{tag|references |single}} tag to show the list of references defined by {{tag|ref}} tags,  with some formatting. It reduces the font size and has options for columns and groups. References can be defined within the body of the article or within the reference list.&lt;br /&gt;
&lt;br /&gt;
The {{tag|ref}} and {{tag|references |single}} tags are part of the [[mw:Extension:Cite/Cite.php|Cite.php]] MediaWiki extension.&lt;br /&gt;
&lt;br /&gt;
{{tl|Reflist}} may be used with {{tl|Refbegin}} and {{tl|Refend}} to format different styles of references.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
;Using only footnote-style references&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
== Content ==&lt;br /&gt;
Lorem ipsum.&amp;lt;ref&amp;gt;Source name, access date, etc.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lorem ipsum dolor sit amet.&amp;lt;ref&amp;gt;Source name, access date, etc.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Using only bibliographical style references&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
== Content ==&lt;br /&gt;
Lorem ipsum.&lt;br /&gt;
&lt;br /&gt;
Lorem ipsum dolor sit amet.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{refbegin}}&lt;br /&gt;
* reference 1&lt;br /&gt;
* reference 2&lt;br /&gt;
{{refend}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Using both footnote-style and bibliography-style references&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
== Content ==&lt;br /&gt;
Lorem ipsum.&amp;lt;ref&amp;gt;Source name, access date, etc.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lorem ipsum dolor sit amet.&amp;lt;ref&amp;gt;Source name, access date, etc.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lorem ipsum.&lt;br /&gt;
&lt;br /&gt;
Lorem ipsum dolor sit amet.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
{{Refbegin}}&lt;br /&gt;
* reference 1&lt;br /&gt;
* reference 2&lt;br /&gt;
{{Refend}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Font size ==&lt;br /&gt;
The font size should reduce to 90% for most browsers, but may appear to show at 100% for Internet Explorer and possibly other browsers.&amp;lt;ref name=fontsize/&amp;gt; Note that there is no consensus that a small font size should always be used for references; when normal-sized font is more appropriate on an article, use {{tag|references |single}} instead.&lt;br /&gt;
&lt;br /&gt;
== Columns ==&lt;br /&gt;
Columns are currently supported only by [[Gecko (layout engine)|Gecko]]-based browsers (such as [[Mozilla Firefox]]). See [[#Browser support for columns|below]] for more information.&lt;br /&gt;
&lt;br /&gt;
Using {{tlx|Reflist|2}} will create a two-column reference list, and {{tlx|Reflist|3}} will create a three-column list.  Three-column lists are inaccessible to users with smaller/laptop monitors and should be avoided.&lt;br /&gt;
&lt;br /&gt;
Using {{tlx|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.&lt;br /&gt;
&lt;br /&gt;
== Multiple uses ==&lt;br /&gt;
&lt;br /&gt;
If {{tl|Reflist}} is used multiple times without a parameter, each instance will include all of the previously defined references. To force the parser to close previous references, each use of {{tl|Reflist}} must be forced as a new instance by the use of any parameter. Even a undefined parameter such as {{tlx|Reflist|close&amp;amp;#61;1}} will force the references to close.&lt;br /&gt;
&lt;br /&gt;
== Grouped references ==&lt;br /&gt;
As of June 2008, the footnotes system supports the separation of references into groups. This allows groups for explanatory notes, table references and the like. See [[Wikipedia:Footnotes#Separating reference lists and explanatory notes]].&lt;br /&gt;
&lt;br /&gt;
The general format for the reference tag would be:&lt;br /&gt;
&lt;br /&gt;
:{{tag|ref group&amp;amp;#61;''&amp;quot;groupname&amp;quot;''|open}}&lt;br /&gt;
&lt;br /&gt;
And for the reflist:&lt;br /&gt;
:{{tlx|Reflist|group&amp;amp;#61;''&amp;quot;groupname&amp;quot;''}}&lt;br /&gt;
&lt;br /&gt;
:Where ''groupname'' would be a group identifier such as &amp;quot;note&amp;quot;, &amp;quot;nb&amp;quot; or &amp;quot;label&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== List-defined references ==&lt;br /&gt;
{{see|WP:LDR}}&lt;br /&gt;
As of September 2009, references may be defined within {{tl|Reflist}} using {{para|refs}} and invoked within the content. There are new error messages associated with this update, documented at [[Help:Cite errors]]. As usual, groups can be used. Defined references must be used within the body; unused references will show an error message.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
This is reference 1.&amp;lt;ref name=&amp;quot;refname1&amp;quot; group=&amp;quot;groupname&amp;quot;/&amp;gt;&lt;br /&gt;
This is reference 2.&amp;lt;ref name=&amp;quot;refname2&amp;quot; group=&amp;quot;groupname&amp;quot;/&amp;gt;&lt;br /&gt;
This is reference 3.&amp;lt;ref name=&amp;quot;refname3&amp;quot; group=&amp;quot;groupname&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Reflist|group=&amp;quot;groupname&amp;quot;|refs=&lt;br /&gt;
&amp;lt;ref name=&amp;quot;refname1&amp;quot; group=&amp;quot;groupname&amp;quot;&amp;gt;content1&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;refname2&amp;quot; group=&amp;quot;groupname&amp;quot;&amp;gt;content2&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;refname3&amp;quot; group=&amp;quot;groupname&amp;quot;&amp;gt;content3&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Result ===&lt;br /&gt;
&lt;br /&gt;
This is reference 1.&amp;lt;ref name=&amp;quot;refname1&amp;quot; group=&amp;quot;groupname&amp;quot;/&amp;gt;&lt;br /&gt;
This is reference 2.&amp;lt;ref name=&amp;quot;refname2&amp;quot; group=&amp;quot;groupname&amp;quot;/&amp;gt;&lt;br /&gt;
This is reference 3.&amp;lt;ref name=&amp;quot;refname3&amp;quot; group=&amp;quot;groupname&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Reflist|group=&amp;quot;groupname&amp;quot;|refs=&lt;br /&gt;
&amp;lt;ref name=&amp;quot;refname1&amp;quot;&amp;gt;content1&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;refname2&amp;quot;&amp;gt;content2&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;refname3&amp;quot;&amp;gt;content3&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Technical details ==&lt;br /&gt;
&lt;br /&gt;
==== Browser support for columns ====&lt;br /&gt;
Multiple columns are generated by using [[Cascading Style Sheets|CSS3]], which is still in development; thus only browsers that properly support the multi-column property will show multiple columns.&amp;lt;ref name=stuffandnonsense /&amp;gt;&amp;lt;ref name=w3org1/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Mozilla Firefox]] and other [[Gecko (layout engine)|Gecko]]-based browsers support multiple columns with two caveats:&lt;br /&gt;
**may create [[Widows and orphans|widows]]&lt;br /&gt;
**may mangle long URLs in the printable version; see [[:Image:Wikipediareflistoverlap.gif]] for an example&lt;br /&gt;
* [[Internet Explorer]] through version 8 does not support the column property&amp;lt;ref name=msdn /&amp;gt;&lt;br /&gt;
* [[Safari (web browser)|Safari]] through 4.03, [[Google Chrome]] and probably 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 [[Template:Reflist/Safari testcase]] for details and information on enabling WebKit columns per editor.&lt;br /&gt;
::This issue has been resolved in Safari 5 and Chrome 5. WebKit support will be returned once the usage reports indication a preponderance of adoption.&amp;lt;ref&amp;gt;{{cite web |title=Wikimedia Visitor Log Analysis Report - Browsers e.a |url=http://stats.wikimedia.org/wikimedia/squids/SquidReportClients.htm |date=June 1, 2010}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* [[Opera (web browser)|Opera]] does not support multiple columns.&lt;br /&gt;
&lt;br /&gt;
=== Supporting CSS ===&lt;br /&gt;
{{tl|Reflist}} uses a CSS rule in [[MediaWiki:Common.css]] to set the font size:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;.references-small { font-size: 90%;}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These classes are used directly in the template for the columns:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;.references-column-count&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;.references-column-width&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These properties are used in the template:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;column-count&amp;lt;/code&amp;gt; CSS3 standard&lt;br /&gt;
* &amp;lt;code&amp;gt;column-width:auto&amp;lt;/code&amp;gt; CSS3 standard&lt;br /&gt;
* &amp;lt;code&amp;gt;-moz-column-count&amp;lt;/code&amp;gt; Mozilla CSS extension&lt;br /&gt;
* &amp;lt;code&amp;gt;-moz-column-width&amp;lt;/code&amp;gt; Mozilla CSS extension&lt;br /&gt;
* &amp;lt;code&amp;gt;-webkit-column-count&amp;lt;/code&amp;gt; Webkit CSS extension (disabled)&lt;br /&gt;
* &amp;lt;code&amp;gt;-webkit-column-width&amp;lt;/code&amp;gt; Webkit CSS extension (disabled)&lt;br /&gt;
&lt;br /&gt;
=== Customizing the view ===&lt;br /&gt;
By editing your CSS, the personal appearance of the reference list can be customized. From [[Special:Preferences|Preferences]], select the Appearance tab, then on the selected skin select Custom CSS. After editing and saving, follow the instructions at the top of the page to purge. See [[Wikipedia:Skin#Customisation (advanced users)]] for more help.&lt;br /&gt;
&lt;br /&gt;
;Font size&lt;br /&gt;
The font size defaults to 90% of the standard size. To change it, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;css&amp;quot;&amp;gt;.references-small { font-size: 90%;}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change 90% to the desired size.&lt;br /&gt;
&lt;br /&gt;
;Columns&lt;br /&gt;
To disable columns, add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
.references-column-count, .references-column-width {&lt;br /&gt;
    column-count:1 !important;&lt;br /&gt;
    column-width:auto !important;&lt;br /&gt;
    -moz-column-count:1 !important;&lt;br /&gt;
    -moz-column-width:auto !important;&lt;br /&gt;
    -webkit-column-count:1 !important;&lt;br /&gt;
    -webkit-column-width:auto !important;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, to force all reference lists to a number of columns, change the number.&lt;br /&gt;
&lt;br /&gt;
=== Collapsing and scrolling ===&lt;br /&gt;
There have been a number of requests to add functionality for a collapsible or scrolling reference list. These requests have not been fulfilled to due to issues with readability, accessibility, and printing. The applicable guidelines are at [[MOS:SCROLL]].&lt;br /&gt;
&lt;br /&gt;
The links between the inline cite and the reference list do not work when the reference list is enclosed in a collapsed box.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Wikipedia:Citing sources]]—style guide for the citation of sources&lt;br /&gt;
* [[Wikipedia:Footnotes]]—style guide for footnotes and inline citations&lt;br /&gt;
* [[Wikipedia:Citation templates]]—templates for use with references&lt;br /&gt;
* {{tl|Template reference list}}—version of reflist for use in templates&lt;br /&gt;
* {{tl|Refbegin}} and {{tl|refend}}—format reference lists&lt;br /&gt;
* {{tl|Reflist-talk}}—for use on talk pages&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{Reflist|refs=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=fontsize&amp;gt;See [[User:Edokter/fonttest]] for a comparison of font sizes for various browsers; see [http://en.wikipedia.org/w/index.php?title=Special%3ASearch&amp;amp;redirs=1&amp;amp;search=fonttest+prefix%3AMediaWiki+talk%3ACommon.css%2F&amp;amp;fulltext=Search&amp;amp;ns0=1 previous discussions] on changing the font size to resolve the IE issue.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=stuffandnonsense&amp;gt;{{cite web |accessdate=November 24, 2006 |date=December 30, 2005 |title=CSS3 Multi-Column Thriller |url=http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=w3org1&amp;gt;{{cite web |url=http://www.w3.org/TR/css3-multicol/ |title=CSS3 module: Multi-column layout |publisher=[[World Wide Web Consortium|W3C]] |date=December 15, 2005 |accessdate=November 24, 2006}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=msdn&amp;gt;{{cite web |url=http://msdn.microsoft.com/en-us/library/cc351024(VS.85).aspx#multicolumn |title=CSS Compatibility and Internet Explorer: Multi-column Layout |work=Microsoft Developer Network |publisher=Microsoft |accessdate=September 15, 2008}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- ADD CATEGORIES BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[Category:Citation templates|{{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ADD INTERWIKIS BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[ar:قالب:ثبت المراجع]]&lt;br /&gt;
[[be-x-old:Шаблён:Зноскі]]&lt;br /&gt;
[[br:Patrom:Daveoù]]&lt;br /&gt;
[[ca:Plantilla:Referències]]&lt;br /&gt;
[[cy:Nodyn:Cyfeiriadau]]&lt;br /&gt;
[[eo:Ŝablono:Referencoj]]&lt;br /&gt;
[[es:Plantilla:Listaref]]&lt;br /&gt;
[[eu:Txantiloi:Erreferentzia zerrenda]]&lt;br /&gt;
[[fa:الگو:پانویس]]&lt;br /&gt;
[[fr:Modèle:Références]]&lt;br /&gt;
[[hi:Template:टिप्पणीसूची]]&lt;br /&gt;
[[hr:Predložak:Izvori]]&lt;br /&gt;
[[hsb:Předłoha:Referency]]&lt;br /&gt;
[[hu:Reflist]]&lt;br /&gt;
[[ia:Patrono:Reflist]]&lt;br /&gt;
[[it:Template:References]]&lt;br /&gt;
[[ja:Template:Reflist]]&lt;br /&gt;
[[ka:თარგი:სქოლიოს სია]]&lt;br /&gt;
[[ko:틀:주석]]&lt;br /&gt;
[[lv:Veidne:Reflist]]&lt;br /&gt;
[[ml:ഫലകം:Reflist]]&lt;br /&gt;
[[ms:Templat:Reflist]]&lt;br /&gt;
[[no:Mal:Reflist]]&lt;br /&gt;
[[pl:Szablon:Przypisy]]&lt;br /&gt;
[[pt:Predefinição:Referências]]&lt;br /&gt;
[[ro:Format:Listănote]]&lt;br /&gt;
[[ru:Шаблон:Примечания]]&lt;br /&gt;
[[sr:Шаблон:Напомене]]&lt;br /&gt;
[[fi:Malline:Viitteet]]&lt;br /&gt;
[[th:แม่แบบ:รายการอ้างอิง]]&lt;br /&gt;
[[uk:Шаблон:Reflist]]&lt;br /&gt;
[[vi:Bản mẫu:Tham khảo]]&lt;br /&gt;
[[zh:Template:Reflist]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kevin</name></author>	</entry>

	</feed>