Template:Reflist/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 7:
 
=== Multiple columns ===
<nowiki>Using {{t|reflist|32}}</nowiki> </code>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.
Using <code>
<nowiki>{{reflist|2}}</nowiki> </code> will create a two-column reference list, and <code>
<nowiki>{{reflist|3}}</nowiki> </code> will create a three-column list. Three-column lists are inaccessible to users with smaller/laptop monitors and should be avoided.
 
<nowiki>Using {{t|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.
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.
 
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==
{{t|reflist}} gives:
<code>
<nowiki>{{reflist}}</nowiki> </code> gives...
 
{{reflist}}