Template:Reflist: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Abates (talk | contribs)
m Protected "Template:Reflist" [edit=autoconfirmed:move=autoconfirmed]
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
You can see the 2-column footnote layout at the bottom of this article!
You can see the 2-column footnote layout at the bottom of this article!


:This template and the exerpted documentation below are <strike>lifted from</strike> based on the Wikimedia template [[Wikipedia:Template:Reflist|<nowiki>{{reflist}}</nowiki>]].  Both have 1:1 correlation with the originating Wikimedia template as of the July 9 2007 revision.  ''Don't expect that to last, even at maturity the originating template is receiving ~1 minor tweak per month.  However it is unlikely to see fundamental revision (and require re-porting) until [[Wikipedia:Cascading Style Sheets|CSS3]] reaches a [[Wikipedia:Tipping point|tipping point]].
:This template and the exerpted documentation below are <strike>lifted from</strike> based on the Wikimedia template {{w|Template:Reflist|<nowiki>{{reflist}}</nowiki>}}.  Both have 1:1 correlation with the originating Wikimedia template as of the July 9 2007 revision.  ''Don't expect that to last, even at maturity the originating template is receiving ~1 minor tweak per month.  However, it is unlikely to see fundamental revision (and require re-porting) until {{w|Cascading Style Sheets|CSS3}} reaches a {{w|tipping point}}.


== Usage ==
== Usage ==
Line 17: Line 17:
Using <tt><nowiki>{{reflist|colwidth=30em}}</nowiki></tt> 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.
Using <tt><nowiki>{{reflist|colwidth=30em}}</nowiki></tt> 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.


Note: multiple columns currently render properly only in [[Wikipedia:Mozilla Firefox|Mozilla Firefox]] and other [[Wikipedia:Gecko (layout engine)|Gecko]]-based browsers,<ref>[http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html CSS3 Multi-Column Thriller]</ref> though the feature is included in [[Wikipedia:Cascading Style Sheets|CSS3]], so it should work for a larger number of browsers in the future.<ref>[http://www.w3.org/TR/css3-multicol CSS3 module: Multi-column layout]</ref>
Note: multiple columns currently render properly only in {{w|Mozilla Firefox}} and other {{w|Gecko (layout engine)|Gecko}}-based browsers,<ref>[http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html CSS3 Multi-Column Thriller]</ref> though the feature is included in {{w|Cascading Style Sheets|CSS3}}, so it should work for a larger number of browsers in the future.<ref>[http://www.w3.org/TR/css3-multicol CSS3 module: Multi-column layout]</ref>


===References===
===References===

Latest revision as of 20:04, 10 September 2018

Use {{reflist}} instead of <references/> to create multi-column footnote lists for heavily cited articles.
You can see the 2-column footnote layout at the bottom of this article!

This template and the exerpted documentation below are lifted from based on the Wikimedia template {{reflist}}. Both have 1:1 correlation with the originating Wikimedia template as of the July 9 2007 revision. Don't expect that to last, even at maturity the originating template is receiving ~1 minor tweak per month. However, it is unlikely to see fundamental revision (and require re-porting) until CSS3 reaches a tipping point.

Usage

Use this template to create a reference list in an article with a small font. Note that there is no consensus that small font size should always for all references; when normal-sized font is more appropriate on an article, use <references /> instead.

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

Multiple columns

Using {{reflist|2}} will create a two-column reference list, and {{reflist|3}} will create a three-column list.

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

Note: multiple columns currently render properly only in Mozilla Firefox and other Gecko-based browsers,[1] though the feature is included in CSS3, so it should work for a larger number of browsers in the future.[2]

References