Template:Reflist/doc: Difference between revisions

no edit summary
m (→‎CSS used: makes it pretty)
No edit summary
 
Line 12:
Using <code><nowiki>{{reflist|colwidth=30em}}</nowiki></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's appropriate for the average width of the references on the page.
 
Multiple columns only work on [[w:en:Internet Explorer|Internet Explorer]] 10+, [[w:en:Microsoft Edge|Microsoft Edge]], [[w:en:Firefox|Mozilla Firefox]] 2+, [[w:en:Google Chrome|Google Chrome]] 4+, [[w:en:Safari (web browser)|Safari]] 3.1+, [[w:en:Opera (web browser)|Opera]] 11.1+, and any browsers based on them. Older web browsers may not display multiple columns correctly.
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.
 
==Sample output==
Line 26:
==See also==
*[[wikipedia:Template:Reflist|Template:Reflist]] on Wikipedia.
*[[mh:k6ka:Template:Reflist|Template:Reflist]] on K6ka's Wiki, from which this template's code was taken from.
 
<includeonly>[[Category:Citation templates|{{PAGENAME}}]][[Category:General wiki templates]]</includeonly>