Personal tools
 
Views

Template:Reflist/doc

From Debatepedia

Jump to: navigation, search

{{

 #ifeq: reflist/doc | doc
 | 

{{

   #ifeq: show | show
|
This is a documentation subpage for Template:Reflist/doc (see that page for the {{ #if: Template | template | article }} itself).
It contains usage information, categories and other content that is not part of the original {{ #if: Template |template page|article}}.
 }}Template:DEFAULTSORT:Reflist/doc{{
   #if: 
   | 
   | [[Category:{{
     #if: Template
     | Template
     | Article
   }} documentation]]
 }}

| }}

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 be used 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. Three-column lists are inaccessible to users with smaller/laptop monitors and should be avoided.

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,<ref>{{

  1. if: {{#if: http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html | {{#if: CSS3 Multi-Column Thriller |1}}}}
 ||You must specify  title =  and url =  when using {{cite web}}.

{{#if: Template||}} }}{{

  1. if:
 | {{#if: {{#if: | {{#if:  |1}}}}
   ||You must specify archiveurl =  and archivedate =  when using {{cite web}}.

{{#if: Template||}} }} }}{{#if:

 | {{#if: 
   | [[{{{authorlink}}}|{{#if: 
     | {{{last}}}{{#if:  | , {{{first}}} }}
     | {{{author}}}
   }}]]
   | {{#if: 
     | {{{last}}}{{#if:  | , {{{first}}} }}
     | {{{author}}}
   }}
 }}

}}{{#if:

 | {{#if: | ; {{{coauthors}}} }}

}}{{#if: |

   {{#if: 2005-12-30
   |  ({{#ifeq:{{#time:Y-m-d|2005-12-30}}|2005-12-30|[[2005-12-30]]|2005-12-30}})
   | {{#if: 
     | {{#if: 
       |  ({{{month}}} {{{year}}})
       |  ({{{year}}})
     }}
   }}
 |}}

}}{{#if:

 | . }}{{
 #if: 
 |  {{{editor}}}: 

}}{{#if:

   | {{#if:  | {{#if: CSS3 Multi-Column Thriller | [{{{archiveurl}}} CSS3 Multi-Column Thriller] }}}}
   | {{#if: http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html | {{#if: CSS3 Multi-Column Thriller | CSS3 Multi-Column Thriller }}}}

}}{{#if: | () }}{{#if: | ({{{language}}}) }}{{#if:

 | . {{{work}}}

}}{{#if:

 |  {{{pages}}}

}}{{#if:

 | . {{{publisher}}}{{#if: 
   | 
   | {{#if: 2005-12-30 || }}
 }}

}}{{#if:

 ||{{#if: 2005-12-30
   |  ({{#ifeq:{{#time:Y-m-d|2005-12-30}}|2005-12-30|[[2005-12-30]]|{{#ifeq:{{#time:Y-m-d|2005-12-30}}|1970-01-01|[[2005-12-30]]|2005-12-30}}}})
   | {{#if: 
     | {{#if: 
       |  ({{{month}}} {{{year}}})
       |  ({{{year}}})
     }}
   }}
 }}

}}.{{#if:

 |  Archived from the original on [[{{{archivedate}}}]].

}}{{#if:

 |  DOI:{{{doi}}}.

}}{{#if: 2006-11-24

 |  Retrieved on 2006-11-24{{#if:  | , [[{{{accessyear}}}]] }}.

}}{{#if:

 |  Retrieved on {{{accessmonthday}}}{{#if:  | , [[{{{accessyear}}}]] }}.

}}{{#if:

 |  Retrieved on {{{accessdaymonth}}}{{#if:  | , [[{{{accessyear}}}]] }}.

}}{{#if:

 |  “{{{quote}}}”

}}</ref> and Safari 3<ref>{{

  1. if: {{#if: http://www.css3.info/preview/multi-column-layout.html | {{#if: Multi-column layout in Safari 3 and Firefox |1}}}}
 ||You must specify  title =  and url =  when using {{cite web}}.

{{#if: Template||}} }}{{

  1. if:
 | {{#if: {{#if: | {{#if:  |1}}}}
   ||You must specify archiveurl =  and archivedate =  when using {{cite web}}.

{{#if: Template||}} }} }}{{#if:

 | {{#if: 
   | [[{{{authorlink}}}|{{#if: 
     | {{{last}}}{{#if:  | , {{{first}}} }}
     | {{{author}}}
   }}]]
   | {{#if: 
     | {{{last}}}{{#if:  | , {{{first}}} }}
     | {{{author}}}
   }}
 }}

}}{{#if:

 | {{#if: | ; {{{coauthors}}} }}

}}{{#if: |

   {{#if: 
   |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{date}}}}})
   | {{#if: 
     | {{#if: 
       |  ({{{month}}} {{{year}}})
       |  ({{{year}}})
     }}
   }}
 |}}

}}{{#if:

 | . }}{{
 #if: 
 |  {{{editor}}}: 

}}{{#if:

   | {{#if:  | {{#if: Multi-column layout in Safari 3 and Firefox | [{{{archiveurl}}} Multi-column layout in Safari 3 and Firefox] }}}}
   | {{#if: http://www.css3.info/preview/multi-column-layout.html | {{#if: Multi-column layout in Safari 3 and Firefox | Multi-column layout in Safari 3 and Firefox }}}}

}}{{#if: | () }}{{#if: | ({{{language}}}) }}{{#if:

 | . {{{work}}}

}}{{#if:

 |  {{{pages}}}

}}{{#if:

 | . {{{publisher}}}{{#if: 
   | 
   | {{#if:  || }}
 }}

}}{{#if:

 ||{{#if: 
   |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{#ifeq:{{#time:Y-m-d|{{{date}}}}}|1970-01-01|[[{{{date}}}]]|{{{date}}}}}}})
   | {{#if: 
     | {{#if: 
       |  ({{{month}}} {{{year}}})
       |  ({{{year}}})
     }}
   }}
 }}

}}.{{#if:

 |  Archived from the original on [[{{{archivedate}}}]].

}}{{#if:

 |  DOI:{{{doi}}}.

}}{{#if: 2007-07-25

 |  Retrieved on 2007-07-25{{#if:  | , [[{{{accessyear}}}]] }}.

}}{{#if:

 |  Retrieved on {{{accessmonthday}}}{{#if:  | , [[{{{accessyear}}}]] }}.

}}{{#if:

 |  Retrieved on {{{accessdaymonth}}}{{#if:  | , [[{{{accessyear}}}]] }}.

}}{{#if:

 |  “{{{quote}}}”

}}</ref> though the feature is included in CSS3, so it should work for a larger number of browsers in the future.<ref>{{

  1. if: {{#if: http://www.w3.org/TR/css3-multicol/ | {{#if: CSS3 module: Multi-column layout |1}}}}
 ||You must specify  title =  and url =  when using {{cite web}}.

{{#if: Template||}} }}{{

  1. if:
 | {{#if: {{#if: | {{#if:  |1}}}}
   ||You must specify archiveurl =  and archivedate =  when using {{cite web}}.

{{#if: Template||}} }} }}{{#if:

 | {{#if: 
   | [[{{{authorlink}}}|{{#if: 
     | {{{last}}}{{#if:  | , {{{first}}} }}
     | {{{author}}}
   }}]]
   | {{#if: 
     | {{{last}}}{{#if:  | , {{{first}}} }}
     | {{{author}}}
   }}
 }}

}}{{#if:

 | {{#if: | ; {{{coauthors}}} }}

}}{{#if: |

   {{#if: 2005-12-15
   |  ({{#ifeq:{{#time:Y-m-d|2005-12-15}}|2005-12-15|[[2005-12-15]]|2005-12-15}})
   | {{#if: 
     | {{#if: 
       |  ({{{month}}} {{{year}}})
       |  ({{{year}}})
     }}
   }}
 |}}

}}{{#if:

 | . }}{{
 #if: 
 |  {{{editor}}}: 

}}{{#if:

   | {{#if:  | {{#if: CSS3 module: Multi-column layout | [{{{archiveurl}}} CSS3 module: Multi-column layout] }}}}
   | {{#if: http://www.w3.org/TR/css3-multicol/ | {{#if: CSS3 module: Multi-column layout | CSS3 module: Multi-column layout }}}}

}}{{#if: | () }}{{#if: | ({{{language}}}) }}{{#if:

 | . {{{work}}}

}}{{#if:

 |  {{{pages}}}

}}{{#if: W3C

 | . W3C{{#if: 
   | 
   | {{#if: 2005-12-15 || }}
 }}

}}{{#if:

 ||{{#if: 2005-12-15
   |  ({{#ifeq:{{#time:Y-m-d|2005-12-15}}|2005-12-15|[[2005-12-15]]|{{#ifeq:{{#time:Y-m-d|2005-12-15}}|1970-01-01|[[2005-12-15]]|2005-12-15}}}})
   | {{#if: 
     | {{#if: 
       |  ({{{month}}} {{{year}}})
       |  ({{{year}}})
     }}
   }}
 }}

}}.{{#if:

 |  Archived from the original on [[{{{archivedate}}}]].

}}{{#if:

 |  DOI:{{{doi}}}.

}}{{#if: 2006-11-24

 |  Retrieved on 2006-11-24{{#if:  | , [[{{{accessyear}}}]] }}.

}}{{#if:

 |  Retrieved on {{{accessmonthday}}}{{#if:  | , [[{{{accessyear}}}]] }}.

}}{{#if:

 |  Retrieved on {{{accessdaymonth}}}{{#if:  | , [[{{{accessyear}}}]] }}.

}}{{#if:

 |  “{{{quote}}}”

}}</ref>

Three options for usage

Option 1 (only specific references) — Example: The Rule

==Content==
Lorem ipsum.<ref>Source name, access date, etc.</ref>

Lorem ipsum dolor sit amet.<ref>Source name, access date, etc.</ref>

== References ==
{{reflist}}

Option 2 (only general references) — Example: National Publications

==Content==
Lorem ipsum.

Lorem ipsum dolor sit amet.

==References==
{{refbegin}}
* general reference 1
* general reference 2
{{refend}}

Option 3 (both specific and general references) — Example: Elephant

==Content==
Lorem ipsum.<ref>Source name, access date, etc.</ref>

Lorem ipsum dolor sit amet.<ref>Source name, access date, etc.</ref>

Lorem ipsum.

Lorem ipsum dolor sit amet.

==References==
{{reflist}}

{{refbegin}}
* general reference 1
* general reference 2
{{refend}}

Continuing the references

In order to add references manually, use the "#" sign and enclose the additional references in the "references-small" div style, as in this example:

<div class="references-small">
#<li value="2"> [http://saturn.jpl.nasa.gov/news/features/feature20070719.cfm ''Cassini-Huygens: NEWS - Features - Saturn Turns 60'']
# [http://www.scitech.ac.uk/PMC/PRel/STFC/frank.aspx ''A new moon for Saturn a family affair'']
# [http://ciclops.org/view.php?id=3353 ''From Dark Obscurity… A Tiny New Saturnian Moon Comes To Light'']
</div>

The <li value="2"> tag is used to ensure the new references start at the correct number. In the example, there was just one reference. Had there been 10, we would have started the additional references at "11".

See also

References

<references />


Problem with the site? 

Tweet a bug on bugtwits
.