An diofar eadar na mùthaidhean a rinneadh air "Teamplaid:Reflist/doc"

Content deleted Content added
b Interlink renamings
b Bot: Replace deprecated <source> tag and "enclose" parameter [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]; cosmetic changes
 
Loidhne 2:
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
== Usage ==
Use this template to create a reference list in small font for an article. 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 <code><nowiki><references&nbsp;/></nowiki></code> 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:
 
Loidhne 14:
Editors may over-ride this settings by placing entries in their personal CSS.
 
=== Multiple columns ===
Using <code>{{tlx|Reflist|2}}</code> will create a two-column reference list, and <code>{{tlx|Reflist|3}}</code> will create a three-column list. Three-column lists are inaccessible to users with smaller/laptop monitors and should be avoided.
 
Using <code>{{tlx|Reflist|colwidth{{=}}30em}}</code> 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 [[Cascading Style Sheets|CSS3]], which is still in development; thus only browsers that properly support the multi-column selector will show multiple columns.<ref>{{cite web|accessdate=2006-11-24|date=[[2005-12-30]]|title=CSS3 Multi-Column Thriller|url=http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html}}</ref><ref>{{cite web|url=http://www.w3.org/TR/css3-multicol/|title=CSS3 module: Multi-column layout|publisher=[[World Wide Web Consortium|W3C]]|date=[[2005-12-15]]|accessdate=2006-11-24}}</ref>
 
Loidhne 30:
 
==== Disabling multiple columns for your account ====
If you cannot abide multiple columns, you may add the following to your personal CSS file (after [[SpecialSònraichte:UserLogin/signup|creating an account]] if you have not already done so) to force single-column display while logged in to your account:
<sourcesyntaxhighlight lang="css">
.references-column-count, .references-column-width {
column-count:1 !important;
Loidhne 40:
-webkit-column-width:auto !important;
}
</syntaxhighlight>
</source>
This will normally have to be added to your [[SpecialSònraichte:MyPage/monobook.css|monobook.css]]; if you are using a different skin, look in the "Personal CSS" column of the table [[WikipediaUicipeid:Skin#Customisation (advanced users)|here]] to find the right file.
 
=== Three options for usage ===
==== Option 1 (footnote-style references)&nbsp;— Example: ====
<pre>
==Content==
Loidhne 55:
</pre>
 
==== Option 2 (bibliographical style)&nbsp;— Example: ====
<pre>
==Content==
Loidhne 69:
</pre>
 
==== Option 3 (both footnote-style and bibiography-style references)&nbsp;— Example: ====
<pre>
==Content==
Loidhne 89:
</pre>
 
==== Continuing the references ====
In order to add references manually, use the "#" sign and enclose the additional references in the <code>"references-small"</code> div style, as in this example:
 
Loidhne 102:
The <code><nowiki><li value="2"></nowiki></code> 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 <nowiki><ref></nowiki> tag now supports named groups so that separate lists may be created— see [[WikipediaUicipeid:Footnotes#Separating reference lists and explanatory notes]].
 
The general format for the reference tag would be:
Loidhne 126:
While any number of groups can be created and listed, they should be kept to a minimum.
 
== Caveats ==
 
This template (or <code><nowiki><references/></nowiki></code> by any means, for that matter) should not be used multiple times in the same page with the same value for the <code><nowiki>group</nowiki></code> 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 <code><nowiki>{{Reflist|dummy=1}}</nowiki></code> instead of simply <code><nowiki>{{Reflist}}</nowiki></code>.
 
== See also ==
* [[WikipediaUicipeid:Citing sources]]; style guide for the citation of sources, and layout options
* [[WikipediaUicipeid:Footnotes]]; style guide for footnotes and inline citations
* Template for adding an HTML comment that explains references
** {{tl|Footnotes}}
; Templates for formatting individual reference citations
* [[WikipediaUicipeid:Citation templates]]
; Templates for formatting lists of references and bibliographies
* {{tl|Refbegin}}&nbsp;— {{tl|Refend}}; open and close tags to apply 'references-small' font-size style to a listing
Loidhne 143:
*{{tl|Reflist-talk}}; reflist for Talk pages.
 
== References ==
{{Reflist}}
 
Loidhne 151:
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[ar:قالب:ثبت المراجع]]
[[be-x-old:Шаблён:Зноскі]]
[[ca:Plantilla:Referències]]
[[eo:Ŝablono:Referencoj]]
[[es:Plantilla:Listaref]]
[[fr:Modèle:Références]]
[[hi:Template:टिप्पणीसूची]]
[[hr:Predložak:Izvori]]
[[hsb:Předłoha:Referency]]
[[ia:Patrono:Reflist]]
[[ja:Template:Reflist]]
[[ka:თარგი:სქოლიოს სია]]
[[ko:틀:주석]]
[[lv:Veidne:Reflist]]
[[ml:ഫലകം:Reflist]]
[[ms:Templat:Reflist]]
[[no:Mal:Reflist]]
[[pl:Szablon:Przypisy]]
[[pt:Predefinição:Reflist]]
[[ro:Format:Listănote]]
[[ru:Шаблон:Примечания]]
[[sr:Шаблон:Напомене]]
[[fi:Malline:Viitteet]]
[[th:แม่แบบ:รายการอ้างอิง]]
[[zh:Template:Reflist]]
</includeonly>