You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allpages gapfrom="Sandbox" />
  </query-continue>
  <query>
    <pages>
      <page pageid="23" ns="0" title="Reflist">
        <revisions>
          <rev xml:space="preserve">{{documentation subpage}}
&lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&gt;
&lt;includeonly&gt;{{high-risk|1,700,000+}}&lt;/includeonly&gt;
{{ombox | type=notice | text = Columns are currently supported only by newer versions of [[Gecko (layout engine)|Gecko]]-based browsers (such as [[Mozilla Firefox]]) and [[WebKit]]-based browsers (such as [[Google Chrome]] and [[Safari (web browser)|Safari]]).   '''All versions of [[Internet Explorer]] through to version 9 and [[Opera (web browser)|Opera]] through to version 11 do not support columns.'''  See [[#Browser support for columns|below]] for more information.}}

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.

The {{tag|ref}} and {{tag|references |single}} tags are part of the [[mw:Extension:Cite/Cite.php|Cite.php]] MediaWiki extension.

== Usage ==

;Using only footnote-style references
&lt;pre&gt;
== Content ==
Lorem ipsum.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;

Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;

== References ==
{{Reflist}}
&lt;/pre&gt;

;Using only bibliographical style references
&lt;pre&gt;
== Content ==
Lorem ipsum.

Lorem ipsum dolor sit amet.

== References ==
{{Refbegin}}
* reference 1
* reference 2
{{Refend}}
&lt;/pre&gt;

;Using both footnote-style and bibliography-style references
&lt;pre&gt;

== Content ==

Lorem ipsum.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;

Lorem ipsum dolor sit amet.&lt;ref&gt;Source name, access date, etc.&lt;/ref&gt;

Lorem ipsum.

Lorem ipsum dolor sit amet.

== References ==

{{Reflist}}

{{Refbegin}}
* reference 1
* reference 2
{{Refend}}
&lt;/pre&gt;

== 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.&lt;ref name=fontsize/&gt; As of December 21, 2010, the standard {{tag|references|single}} tag has the same font styling. The smaller font may be disabled through [[Special:Preferences]] → Gadgets → Disable smaller font sizes of elements such as Infoboxes, Navboxes and References lists.

== Columns ==

Using {{tlx|Reflist|2}} will create a two-column reference list, and {{tlx|Reflist|3}} will create a three-column list, and so on. Choose the number of columns that is appropriate for the average width of the references on the page.

Using {{tlx|Reflist|30em}} will create columns with a minimum width of 30em, allowing 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.

Columns are currently supported only by [[Gecko (layout engine)|Gecko]]-based browsers (such as [[Mozilla Firefox]]) and [[WebKit]]-based bowsers (such as [[Google Chrome]] and [[Safari (browser)|Safari]]). See [[#Browser support for columns|below]] for more information.

== Multiple uses ==

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 an undefined parameter such as {{tlx|Reflist|close&amp;#61;1}} will force the references to close.

== Grouped references ==

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 [[WP:REFGROUP]].

The general format for the reference tag would be:

:{{tag|ref group&amp;#61;''&quot;groupname&quot;''|open}}

And for the reflist:
:{{tlx|Reflist|group&amp;#61;''&quot;groupname&quot;''}}

:Where ''groupname'' would be a group identifier such as &quot;note&quot;, &quot;nb&quot; or &quot;label&quot;.

== List-defined references ==

{{see|WP:LDR}}
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.

=== Example ===

&lt;pre&gt;
This is reference 1.&lt;ref name=&quot;refname1&quot; group=&quot;groupname&quot; /&gt;
This is reference 2.&lt;ref name=&quot;refname2&quot; group=&quot;groupname&quot; /&gt;
This is reference 3.&lt;ref name=&quot;refname3&quot; group=&quot;groupname&quot; /&gt;

{{Reflist|group=&quot;groupname&quot;|refs=
&lt;ref name=&quot;refname1&quot; group=&quot;groupname&quot;&gt;content1&lt;/ref&gt;
&lt;ref name=&quot;refname2&quot; group=&quot;groupname&quot;&gt;content2&lt;/ref&gt;
&lt;ref name=&quot;refname3&quot; group=&quot;groupname&quot;&gt;content3&lt;/ref&gt;
}}
&lt;/pre&gt;

=== Result ===

This is reference 1.&lt;ref name=&quot;refname1&quot; group=&quot;groupname&quot;/&gt;
This is reference 2.&lt;ref name=&quot;refname2&quot; group=&quot;groupname&quot;/&gt;
This is reference 3.&lt;ref name=&quot;refname3&quot; group=&quot;groupname&quot;/&gt;

{{Reflist|group=&quot;groupname&quot;|refs=
&lt;ref name=&quot;refname1&quot;&gt;content1&lt;/ref&gt;
&lt;ref name=&quot;refname2&quot;&gt;content2&lt;/ref&gt;
&lt;ref name=&quot;refname3&quot;&gt;content3&lt;/ref&gt;
}}

== Technical details ==

=== Browser support for columns ===

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 with {{tl|Reflist}}.&lt;ref name=&quot;stuffandnonsense&quot; /&gt;&lt;ref name=&quot;w3org1&quot; /&gt;

These browsers '''support''' CSS3 columns:
* [[Gecko (layout engine)|Gecko]]-based browsers such as [[Mozilla Firefox]]; earlier versions had a bug that created broken links in multiple columns (see [[:File:Wikipediareflistoverlap.gif]])
* [[WebKit]]-based browsers such as [[Safari (web browser)|Safari]] and [[Google Chrome]]; Webkit versions earlier than 533 have a [[Template:Reflist/Safari testcase|link positioning bug]]; Safari 5.x (7533.17) and Chrome 5.0 or higher resolve this issue

These browsers do '''not support''' CSS3 columns:
* Microsoft [[Trident (layout engine)|Trident]]-based browsers including [[Internet Explorer]] through version 9 Beta&lt;ref name=msdn /&gt;
* [[Opera (web browser)|Opera]] through version 11

=== Supporting CSS ===

{{tl|Reflist}} uses a CSS rule in [[MediaWiki:Common.css]] to set the font size:

* &lt;code&gt;div.references { font-size: 90%; }&lt;/code&gt;

One of the following classes is assigned by the template when either column count or column width is set:

* &lt;code&gt;.references-column-count&lt;/code&gt; and &lt;code&gt;.references-column-count-''n''&lt;/code&gt; (where &lt;code&gt;''n''&lt;/code&gt; is the numer of columns)
* &lt;code&gt;.references-column-width&lt;/code&gt;

The following CSS properties are utilized using the {{tl|column-count}} and {{tl|column-width}} templates:

* &lt;code&gt;column-count&lt;/code&gt; CSS3 standard
* &lt;code&gt;column-width&lt;/code&gt; CSS3 standard
* &lt;code&gt;-moz-column-count&lt;/code&gt; Mozilla CSS extension
* &lt;code&gt;-moz-column-width&lt;/code&gt; Mozilla CSS extension
* &lt;code&gt;-webkit-column-count&lt;/code&gt; Webkit CSS extension
* &lt;code&gt;-webkit-column-width&lt;/code&gt; Webkit CSS extension

=== Customizing the view ===

{{see|Help:Reference display customization}}
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.

;Font size
The font size defaults to 90% of the standard size. To change it, add:

&lt;source lang=&quot;css&quot;&gt;div.references { font-size: 90%; }&lt;/source&gt;

Change 90% to the desired size.

;Columns
To disable columns, add:

&lt;source lang=&quot;css&quot;&gt;
.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;
}
&lt;/source&gt;

Similarly, to force all reference lists to a number of columns, change the number.

;Column dividers
To add dividers (rules) between columns, add:

&lt;source lang=&quot;css&quot;&gt;
.references-column-count, .references-column-width {
    column-rule: 1px solid #aaa;
    -moz-column-rule: 1px solid #aaa;
    -webkit-column-rule: 1px solid #aaa;
}
&lt;/source&gt;

You can alter the appearance of the dividers by changing the values.

== Perennial suggestions ==

;Collapsing and scrolling
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]]. Links between the inline cite and the reference list do not work when the reference list is enclosed in a collapsed box.

;Including the section title
There have been suggestions to include section header markup such as &lt;code&gt;==References==&lt;/code&gt;. This is inadvisable because:
* There is no standard section name; see [[WP:FNNR]]
* When transcluded, the article will have an edit link that will confusingly open the template for editing

== See also ==

* [[Wikipedia:Citing sources]]&amp;nbsp;– style guide for the citation of sources
* [[Wikipedia:Footnotes]]&amp;nbsp;– style guide for footnotes and inline citations
* [[Wikipedia:Citation templates]]&amp;nbsp;– templates for use with references
* {{tl|Template reference list}}&amp;nbsp;– version of reflist for use in templates
* {{tl|Refbegin}} and {{tl|Refend}}&amp;nbsp;– format reference lists
* {{tl|Reflist-talk}}&amp;nbsp;– for use on talk pages

== References ==

{{Reflist|refs=

&lt;ref name=fontsize&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;redirs=1&amp;search=fonttest+prefix%3AMediaWiki+talk%3ACommon.css%2F&amp;fulltext=Search&amp;ns0=1 previous discussions] on changing the font size to resolve the IE issue.&lt;/ref&gt;

&lt;ref name=stuffandnonsense&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}}&lt;/ref&gt;

&lt;ref name=w3org1&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}}&lt;/ref&gt;

&lt;ref name=msdn&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}}&lt;/ref&gt;

}}

&lt;includeonly&gt;
&lt;!-- ADD CATEGORIES BELOW THIS LINE --&gt;
[[Category:Citation templates|{{PAGENAME}}]]

&lt;!-- ADD INTERWIKIS BELOW THIS LINE --&gt;
[[ar:قالب:ثبت المراجع]]
[[be-x-old:Шаблён:Зноскі]]
[[bs:Šablon:Refspisak]]
[[br:Patrom:Daveoù]]
[[ca:Plantilla:Referències]]
[[cy:Nodyn:Cyfeiriadau]]
[[et:Mall:Viited]]
[[eo:Ŝablono:Referencoj]]
[[es:Plantilla:Listaref]]
[[eu:Txantiloi:Erreferentzia zerrenda]]
[[fa:الگو:پانویس]]
[[fr:Modèle:Références]]
[[hi:Template:टिप्पणीसूची]]
[[hr:Predložak:Izvori]]
[[hsb:Předłoha:Referency]]
[[hu:Reflist]]
[[ia:Patrono:Reflist]]
[[it:Template:References]]
[[ja:Template:Reflist]]
[[ka:თარგი:სქოლიოს სია]]
[[ko:틀:주석]]
[[lv:Veidne:Reflist]]
[[ml:ഫലകം:Reflist]]
[[ms:Templat:Reflist]]
[[no:Mal:Reflist]]
[[pl:Szablon:Przypisy]]
[[pt:Predefinição:Referências]]
[[ro:Format:Listănote]]
[[ru:Шаблон:Примечания]]
[[sr:Шаблон:Напомене]]
[[fi:Malline:Viitteet]]
[[th:แม่แบบ:รายการอ้างอิง]]
[[uk:Шаблон:Reflist]]
[[vi:Bản mẫu:Tham khảo]]
[[zh:Template:Reflist]]
&lt;/includeonly&gt;</rev>
        </revisions>
      </page>
      <page pageid="461" ns="0" title="SOFTMAX回归">
        <revisions>
          <rev xml:space="preserve" />
        </revisions>
      </page>
    </pages>
  </query>
</api>