The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<noinclude>{{Documentation subpage}}</noinclude> |
<noinclude>{{Documentation subpage}}</noinclude> |
||
== Description == |
== Description == |
||
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 /></nowiki></code> instead.<ref>I am a reference</ref> |
|||
Creates a list of References from <nowiki><ref></ref></nowiki> used in the article content. |
|||
* <code>1</code> — Number of columns; Default 1. |
|||
* <code>colwidth</code> — Width of columns. |
|||
* <code>refs</code> — List of references. |
|||
* <code>group</code> — Name of group. |
|||
* <code>fontsize</code> — Font size. |
|||
* <code>note</code> — Set to '''1''' to use "Note" group and custom formatting. |
|||
* <code>ol</code> — Set to '''1''' to use "•" group and custom formatting. |
|||
== |
== Dependencies == |
||
⚫ | |||
<pre> |
|||
<syntaxhighlight lang="css"> |
|||
* reference 1<ref>reference 1</ref> |
|||
.references-small { |
|||
* note 1<ref group="Note">note 1</ref> |
|||
font-size: 90%; |
|||
* reference 2<ref>reference 2</ref> |
|||
} |
|||
</syntaxhighlight> |
|||
== Syntax == |
|||
Type {{T|Reflist|...}} where you would normally type <code><nowiki><references/></nowiki></code>. If used with no parameters, it will produce a reference list with a single column. |
|||
{{Reflist|note=1}} |
|||
=== |
=== Multiple columns === |
||
Using {{T|Reflist|2}} will create a two-column reference list, and {{T|Reflist|3}} will create a three-column list. Three-column lists are inaccessible to users with smaller/laptop monitors and should be avoided. |
|||
⚫ | |||
</pre> |
|||
Using {{T|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. |
|||
* reference 1<ref>reference 1</ref> |
|||
* note 1<ref group="Note">note 1</ref> |
|||
* reference 2<ref>reference 2</ref> |
|||
Note: multiple columns currently render properly only in Mozilla Firefox and other Gecko-based browsers and Safari 3, though the feature is included in CSS3 so it should work for a larger number of browsers in the future. |
|||
⚫ | |||
{{Reflist|note=1}} |
|||
== Sample output == |
|||
⚫ | |||
=== References === |
|||
{{Reflist}} |
{{Reflist}} |
||
---- |
|||
<pre> |
|||
* Long Note 1<ref group="Note">Sint incididunt quis exercitation enim. Nisi eiusmod consequat nostrud magna eiusmod ullamco occaecat deserunt culpa nostrud in. Qui excepteur exercitation amet magna exercitation irure ipsum deserunt pariatur pariatur deserunt.</ref> |
|||
* Long Note 2<ref group="Note">Dolor nulla anim occaecat ullamco ipsum Lorem eu deserunt ex amet dolor laboris aliqua. Cillum consectetur aute pariatur Lorem deserunt occaecat do non occaecat velit pariatur. Consectetur velit magna non proident excepteur adipisicing fugiat. Ea reprehenderit non non duis dolor labore deserunt qui consectetur. Sunt et minim nisi culpa laborum.</ref> |
|||
=== Notes === |
|||
{{Reflist|note=1}} |
|||
</pre> |
|||
* Long Note 1<ref group="Note">Sint incididunt quis exercitation enim. Nisi eiusmod consequat nostrud magna eiusmod ullamco occaecat deserunt culpa nostrud in. Qui excepteur exercitation amet magna exercitation irure ipsum deserunt pariatur pariatur deserunt.</ref> |
|||
* Long Note 2<ref group="Note">Dolor nulla anim occaecat ullamco ipsum Lorem eu deserunt ex amet dolor laboris aliqua. Cillum consectetur aute pariatur Lorem deserunt occaecat do non occaecat velit pariatur. Consectetur velit magna non proident excepteur adipisicing fugiat. Ea reprehenderit non non duis dolor labore deserunt qui consectetur. Sunt et minim nisi culpa laborum.</ref> |
|||
=== Notes === |
|||
{{Reflist|note=1}} |
|||
---- |
|||
<pre> |
|||
* smaller reference<ref>smaller reference</ref> |
|||
=== References === |
|||
{{Reflist|fontsize=larger}} |
|||
</pre> |
|||
* larger reference<ref>larger reference</ref> |
|||
=== References === |
|||
{{Reflist|fontsize=larger}} |
|||
---- |
|||
<pre> |
|||
* AAAA<ref group="upper-alpha">AAAA</ref> |
|||
* BBBB<ref group="upper-alpha">BBBB</ref> |
|||
=== References === |
|||
{{Reflist|group=upper-alpha}} |
|||
</pre> |
|||
* AAAA<ref group="upper-alpha">AAAA</ref> |
|||
* BBBB<ref group="upper-alpha">BBBB</ref> |
|||
=== References === |
|||
{{Reflist|group=upper-alpha}} |
|||
---- |
|||
<pre> |
|||
Many References<ref>Ullamco id ut voluptate velit magna ipsum enim qui reprehenderit ad fugiat elit cupidatat.</ref><ref>Labore elit amet deserunt sunt culpa incididunt velit eu.</ref><ref>Voluptate ad est tempor irure voluptate aliquip aliquip aute consectetur aliqua cupidatat exercitation.</ref><ref>Cillum ea ipsum consequat nisi.</ref><ref>Consequat et anim dolor aliquip laborum.</ref><ref>Excepteur aute cillum veniam Lorem commodo ipsum.</ref> |
|||
=== References === |
|||
{{Reflist|3}} |
|||
</pre> |
|||
Many References<ref>Ullamco id ut voluptate velit magna ipsum enim qui reprehenderit ad fugiat elit cupidatat.</ref><ref>Labore elit amet deserunt sunt culpa incididunt velit eu.</ref><ref>Voluptate ad est tempor irure voluptate aliquip aliquip aute consectetur aliqua cupidatat exercitation.</ref><ref>Cillum ea ipsum consequat nisi.</ref><ref>Consequat et anim dolor aliquip laborum.</ref><ref>Excepteur aute cillum veniam Lorem commodo ipsum.</ref> |
|||
=== References === |
|||
{{Reflist|3}} |
|||
== See also == |
|||
* [[ |
* [[wikipedia:Template:Reflist|Template:Reflist]] on Wikipedia |
||
<includeonly>[[Category:General wiki templates]]</includeonly> |
<includeonly>[[Category:General wiki templates]]</includeonly> |