Template:Reflist: Difference between revisions

    From Nonbinary Wiki
    m>Karam.Anthony.K
    (changes to documentation of parameters)
    m>Karam.Anthony.K
    m (→‎Parameters: minor)
    Line 20: Line 20:


    == Parameters ==
    == Parameters ==
    Using <tt><nowiki>{{reflist|2}}</nowiki></tt> will create a two-column reference list, and <tt><nowiki>{{reflist|3}}</nowiki></tt> will create a three-column list. Using simply <tt><nowiki>{{reflist|2}}</nowiki></tt> will create a reference list which uses CSS3 to automatically choose the number of columns based on the width of the web browser and the size of the text. Currently, multiple columns only render properly in Mozilla/Firefox. [http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html]
    Using <tt><nowiki>{{reflist|2}}</nowiki></tt> will create a two-column reference list, and <tt><nowiki>{{reflist|3}}</nowiki></tt> will create a three-column list. Using simply <tt><nowiki>{{reflist}}</nowiki></tt> will create a reference list which incorporates CSS3 to automatically choose the number of columns based on the width of the web browser and the size of the text. Currently, multiple columns only render properly in Mozilla/Firefox. [http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html]


    == See also ==
    == See also ==

    Revision as of 17:31, 3 November 2006

    Usage

    Use this template to create a reference list in an article (unlike Template:Reference, Reflist doesn't include the References heading, thereby making the syntax easier to read). For Example:

    == Content ==
    
    Lorem ipsum.<ref>Source name, access date, etc.</ref>
    
    Lorem ipsum dolor sit amet.<ref>Source name, access date, etc.</ref>
    
    == References ==
    
    {{reflist}}
    
    

    Parameters

    Using {{reflist|2}} will create a two-column reference list, and {{reflist|3}} will create a three-column list. Using simply {{reflist}} will create a reference list which incorporates CSS3 to automatically choose the number of columns based on the width of the web browser and the size of the text. Currently, multiple columns only render properly in Mozilla/Firefox. [1]

    See also