CZ:List-defined references: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>John R. Brews
imported>John R. Brews
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
''See also'' [[Help:Index/Formatting/References]]
''See also'' [[Help:Index/Formatting/References]]
{{TOC|right}}
{{TOC|right}}
'''List-defined references''' (LDR) is a referencing method that moves the text of the references out of the main body of an article and into the "References" section at the bottom of the article.  
'''List-defined references''' (LDR) is a referencing method that moves the text of the references out of the main body of an article and into the ''References'' section at the bottom of the article.  


LDR is a way to make referencing of article contents with a great deal less cluttering of the article's main body text in the edit page. Reduced clutter makes reading the edit page and revising it much easier. Creating LDR is not only cleaner than previous methods such as the [[Help:Index/Formatting/References|<nowiki><ref>-</ref></nowiki> method]], it is a method that will be more easily understood by new users.  
LDR is a way to make referencing of article contents with a great deal less cluttering of the article's main body text in the edit page. Reduced clutter makes reading and revising text in the edit page much easier, and it also makes it possible to edit all the citations directly in the ''References'' section, instead of searching for them individually through the text. Creating LDR is not only cleaner than previous methods such as the [[Help:Index/Formatting/References|<nowiki><ref>-</ref></nowiki> method]], it is a method that will be more easily understood by new users.  


==Overview of how LDR works==
==Overview of how LDR works==
Line 9: Line 9:
This section explains the steps and coding to be used in the '''''edit page''''' of a Citizendium article in order to cite references as the sources for words or statements (sentences or paragraphs) in the main body of the article.
This section explains the steps and coding to be used in the '''''edit page''''' of a Citizendium article in order to cite references as the sources for words or statements (sentences or paragraphs) in the main body of the article.


The user creates a short unique <font color=green>id</font> (identifier or name) for each individual reference which is formatted like this:  
The user creates a short unique ''<font color=green>id</font>'' (identifier or name) for each individual reference which is formatted like this:  
:<font color=green><nowiki><ref name=id/></nowiki></font> &nbsp; Note the forward slash (&thinsp;<font color=green>/</font>&thinsp;) at the end of the <font color=green>id</font>.
:<font color=green><nowiki><ref name=id/></nowiki></font> &nbsp; Note the forward slash (&thinsp;<font color=green>/</font>&thinsp;) at the end of the ''<font color=green>id</font>''.


To cite a reference as the source for a word or statement in the main body of the article, the user places '''''only''''' the <font color=green>id</font> of that reference just to the right of the statement. An <font color=green>id</font> for any specific reference may be used in multiple locations in an article if the same reference is used for multiple words or statements in the article.
The ''<font color=green>id</font>'' is arbitrary, but must be one word, and cannot include punctuation marks or letters like ''à'' or ''ö'' with diacritical marks.


Then in the '''==References==''' section at the bottom of the article, the user lists each reference formatted like this:
To cite a reference in the main body of the article, the user places <font color=green><nowiki><ref name=id/></nowiki></font> for that reference immediately to the right of the statement. The same insertion may be used in multiple locations in an article however many times that reference is needed.


:<font color=green><nowiki><ref name=id>xxxx</ref></nowiki></font> &nbsp;Where xxxx is the reference's full text. Quotation marks enclosing the (<font color=green>id</font>) are '''''not''''' needed.
Then in the ''References'' section at the bottom of the article, the user lists each reference formatted like this:


Note that the forward slash (&thinsp;<font color=green>/</font>&thinsp;) is '''''not''''' included after the <font color=green>id</font> for the listed full-text references in "References" section.
:<font color=green><nowiki><ref name=id>xxxx</ref></nowiki></font> &nbsp;Where ''xxxx'' is the reference's full description. Quotation marks enclosing the ''<font color=green>id</font>'' are '''''not''''' needed.
 
Note that the forward slash (&thinsp;<font color=green>/</font>&thinsp;) is '''''not''''' included after the ''<font color=green>id</font>'' in the ''References'' section.


===Some rules===
===Some rules===


*When a comma or a period is located immediately to the right of a word or statement where the user wants to locate a reference <font color=green>id</font> (e.g., <font color=green><nowiki><ref name=id/></nowiki></font>), the <font color=green>id</font> should be located immediately to the right of the comma or the period and should be separated from the next word or next sentence by a single blank character space.
*Where the user wants to locate a reference for text that is followed by punctuation like a period or a comma, the insertion <font color=green><nowiki><ref name=id/></nowiki></font> should be located immediately to the right of that punctuation, and should be separated from the next word or next sentence by a single blank character space.


*A blank line space '''must''' be provided between each listed reference.
*In the ''References'' section, a blank line space '''must''' be provided between each listed reference.


*Note that the list in the "References" section is within a template. The list '''must''' start with <font color=green><nowiki>{{reflist|refs=</nowiki></font> and it '''must''' end with <font color=green><nowiki>}}</nowiki></font> exactly as shown in the example coding below.
*Note that the list in the ''References'' section is within a template. The list '''must''' start with <font color=green><nowiki>{{reflist|refs=</nowiki></font> and it '''must''' end with <font color=green><nowiki>}}</nowiki></font> exactly as shown in the example coding below.


===Putting it together===
===Putting it together===
To summarize, the basic templates used for bibliographic information are the same <nowiki>{{cite book ...}} and {{cite journal ...}} and {{cite web...}}</nowiki> templates used with the <nowiki><ref>-</ref></nowiki> method.{{#tag:ref|[[CZ:Citation templates]]|group="Note"}} However, these templates are placed ''not'' in the text, but at the end of the article following a ''References'' header using the format:
To summarize, the basic templates used for bibliographic information are the same {{tl|cite book}}, {{tl|cite journal}} and {{tl|cite web}} templates used with the <nowiki><ref>-</ref></nowiki> method.<ref name=template  group=Notes/> However, these templates are placed ''not'' in the text, but at the end of the article following a ''References'' header using {{tl|reflist}} and the format:


:<font color=green><nowiki>{{reflist|refs=</nowiki></font> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;(notice the vertical separator and <font color=green>refs=</font>)
:<font color=green><nowiki>{{reflist|refs=</nowiki></font> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;(notice the vertical separator and <font color=green>refs=</font>)
Line 39: Line 41:
:<font color=green><nowiki>}}</nowiki></font>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;(these are additional final braces)
:<font color=green><nowiki>}}</nowiki></font>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;(these are additional final braces)


where the names "Ref1", "Ref2" are arbitrary creations of the writer. Connection to these definitions from the text is done with an insertion, such as <font color=green><nowiki><ref name=Ref1/></nowiki></font>, but notice, with a forward slash.
where the names "Ref1", "Ref2" are arbitrary creations of the writer, but cannot include punctuation marks or letters like ''à'' or ''ö'' with diacritical marks. Connection to these definitions from the text is done with an insertion, such as <font color=green><nowiki><ref name=Ref1/></nowiki></font>, but notice, with a forward slash.


Although not necessary to its functionality, for ease in editing the list of named notes in the ''References'' section can be put in alphabetical order. That makes finding the note in this list easier in the event the note should be edited, for example to update a link or add to descriptive material.
Although not necessary to its functionality, for ease in editing, the list of named notes in the ''References'' section can be put in alphabetical order. That makes finding the note in this list easier in the event the note should be edited, for example to update a link or add to descriptive material.


==Example==
==Example==


'''''This is how to code the edit page of an article using "List-Defined References"&thinsp;:'''''  
'''''This is how to code the edit page of an article using "List-Defined References"&thinsp;:'''''  
{|cellpadding=8 align=center style="background:#FFF1C6; width:99%; border:1px solid; margin:5px;"  
:{|cellpadding=8 align=center style="background:#fffaf5; width:99%; border:1px dotted; margin:5px;"  


|The '''Sun''' is the dwarf star<font color=green><nowiki><ref name=Weissman2007p71/></nowiki></font> at the center of the Solar System. There are eight major planets and other celestial bodies orbiting it.<font color=green><nowiki><ref name=Weissman2007p3/></nowiki></font> It is extremely hot, with surface temperatures in excess of 6,000 K and a central core temperature greater than 15,700,000 K.<font color=green><nowiki><ref name=Weissman2007p72/></nowiki></font>  
|The '''Sun''' is the dwarf star<font color=green><nowiki><ref name=Weissman2007p71/></nowiki></font> at the center of the Solar System. There are eight major planets and other celestial bodies orbiting it.<font color=green><nowiki><ref name=Weissman2007p3/></nowiki></font> It is extremely hot, with surface temperatures in excess of 6,000 K and a central core temperature of about 15,700,000 K.<font color=green><nowiki><ref name=Weissman2007p72/></nowiki></font>  


Since the Sun is about 150,000,000 kilometers away,<font color=green><nowiki><ref name=Weissman2007p3/></nowiki></font> only a very small amount of its heat and light reach the Earth. By contrast, the Earth's Moon is very much smaller and very much colder.<font color=green><nowiki><ref name=Vasavada1999/></nowiki></font>
Since the Sun is about 150,000,000 kilometers away,<font color=green><nowiki><ref name=Weissman2007p72/></nowiki></font> only a very small amount of its heat and light reach the Earth. Because the Earth's Moon is very much smaller than Earth, it also is very much colder.<font color=green><nowiki><ref name=Vasavada1999/></nowiki></font>


<nowiki>==References==</nowiki>
<nowiki>==References==</nowiki>


<nowiki>{{reflist|refs=</nowiki>
<font color=green><nowiki>{{reflist|refs=</nowiki></font>
 
<font color=green><nowiki><ref name=Vasavada1999>{{</nowiki></font> cite journal | author=Ashwin R. Vasavadaa, David A. Paige and Stephen E. Wood | title= Near-Surface Temperatures on Mercury and the Moon and the Stability of Polar Ice Deposits | journal= Icarus | volume=141 | issue=2 |pages=pp. 179-193 | date= October 1999 |doi=10.1006/icar.1999.6175 <font color=green><nowiki>}}</ref></nowiki></font><br/>
 
<font color=green><nowiki><ref name=Weissman2007p3>{{</nowiki></font> cite book | author=Paul R Weissman |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA3 | title=Encyclopedia of the solar system |chapter=Chapter 1: The solar system and its place in the galaxy| edition= 2nd Edition |editor=Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= pp. 3 ''ff'' |isbn= 0120885891 <font color=green><nowiki>}}</ref></nowiki></font>  


<font color=green><nowiki><ref name=Wiessman2007p3></nowiki></font><nowiki>{{cite book | author=Paul R Weissman |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA3 | title=Encyclopedia of the solar system |chapter=Chapter 1: The solar system and its place in the galaxy| edition= 2nd Edition |editor=Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= pp. 3 ''ff'' | id=ISBN 0120885891}}</ref></nowiki>
<font color=green><nowiki><ref name=Weissman2007p71>{{</nowiki></font> cite book | author=Markus J Aschwanden |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA71 | title=Encyclopedia of the solar system |chapter=Chapter 4: The Sun | edition= 2nd Edition |editor=Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= pp. 71 ''ff'' | isbn= 0120885891 <font color=green><nowiki>}}</ref></nowiki></font>


<font color=green><nowiki><ref name=Wiessman2007p71></nowiki></font><nowiki>{{cite book | author=Markus J Aschwanden |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA71 | title=Encyclopedia of the solar system |chapter=Chapter 4: The Sun | edition= 2nd Edition |editor=Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= pp. 71 ''ff'' | id=ISBN 0120885891}}</ref></nowiki>
<font color=green><nowiki><ref name=Weissman2007p72>{{</nowiki></font> cite book | author=Markus J Aschwanden |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA72 | title=Encyclopedia of the solar system |chapter=Table 1: Basic physical properties of the sun | edition= 2nd Edition |editor=Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= p. 72 | isbn= 0120885891 <font color=green><nowiki>}}</ref></nowiki>


<font color=green><nowiki><ref name=Wiessman2007p72></nowiki></font><nowiki>{{cite book | author=Markus J Aschwanden |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA72 | title=Encyclopedia of the solar system |chapter=Table 1: Basic physical properties of the sun | edition= 2nd Edition |editor=Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= p. 72 | id=ISBN 0120885891}}</ref></nowiki>
}}</font>


<font color=green><nowiki><ref name=Vasavada1999></nowiki></font><nowiki>{{cite journal | author=Ashwin R. Vasavadaa, David A. Paige and Stephen E. Wood | title= Near-Surface Temperatures on Mercury and the Moon and the Stability of Polar Ice Deposits | journal= Icarus | volume=141 | issue=2 |pages=pp. 179-193 | date= October 1999 |doi=10.1006/icar.1999.6175}}</ref></nowiki><br/>
}}
|}
|}


Line 69: Line 73:
'''''This is what the above coding produces on the article page&thinsp;:'''''
'''''This is what the above coding produces on the article page&thinsp;:'''''


{|cellpadding=8 align=center style="background:#FFF1C6; width:99%; border:1px solid; margin:5px;"  
:{|cellpadding=8 align=center style="background:#fffaf5; width:99%; border:1px dotted; margin:5px;"  


|The '''Sun''' is the dwarf star<ref name=Weissman2007p71/> at the center of the Solar System. There are eight major planets and other celestial bodies orbiting it.<ref name=Weissman2007p3/> It is extremely hot, with surface temperatures in excess of 6,000 K and a central core temperature greater than 15,700,000 K.<ref name=Weissman2007p72/>
|The '''Sun''' is the dwarf star<ref name=Weissman2007p71/> at the center of the Solar System. There are eight major planets and other celestial bodies orbiting it.<ref name=Weissman2007p3/> It is extremely hot, with surface temperatures in excess of 6,000 K and a central core temperature of about 15,700,000 K.<ref name=Weissman2007p72/>


Since the Sun is about 150,000,000 kilometers away,<ref name=Weissman2007p3/> only a very small amount of its heat and light reach the Earth. By contrast, the Earth's Moon is very much smaller and very much colder.<ref name=Vasavada1999/>
Since the Sun is about 150,000,000 kilometers away,<ref name=Weissman2007p72/> only a very small amount of its heat and light reach the Earth. Because the Earth's Moon is very much smaller than Earth, it also is very much colder.<ref name=Vasavada1999/>


'''<big>References</big>'''
'''<big>References</big>'''
Line 79: Line 83:
{{reflist|refs=
{{reflist|refs=


<ref name=Weissman2007p3>{{cite book | author=Paul R Weissman |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA3 | title=Encyclopedia of the solar system |chapter=Chapter 1: The solar system and its place in the galaxy| edition= 2nd Edition |editor=Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= pp. 3 ''ff'' | id=ISBN 0120885891}}</ref>
<ref name=Vasavada1999>{{cite journal | author=Ashwin R. Vasavadaa, David A. Paige and Stephen E. Wood | title= Near-Surface Temperatures on Mercury and the Moon and the Stability of Polar Ice Deposits | journal= Icarus | volume=141 | issue=2 |pages=pp. 179-193 | date= October 1999 |doi=10.1006/icar.1999.6175}}</ref>


<ref name=Weissman2007p71>{{cite book | author=Markus J Aschwanden |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA71 | title=Encyclopedia of the solar system |chapter=Chapter 4: The Sun | edition= 2nd Edition |editor=Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= pp. 71 ''ff'' | id=ISBN 0120885891}}</ref>
<ref name=Weissman2007p3>{{cite book | author=Paul R Weissman |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA3 | title=Encyclopedia of the solar system |chapter=Chapter 1: The solar system and its place in the galaxy| edition= 2nd Edition |editor=Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= pp. 3 ''ff'' | isbn= 0120885891}}</ref>


<ref name=Weissman2007p72>{{cite book | author=Markus J Aschwanden |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA72 | title=Encyclopedia of the solar system |chapter=Table 1: Basic physical properties of the sun | edition= 2nd Edition |editor=Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= p. 72 | id=ISBN 0120885891}}</ref>
<ref name=Weissman2007p71>{{cite book | author=Markus J Aschwanden |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA71 | title=Encyclopedia of the solar system |chapter=Chapter 4: The Sun | edition= 2nd Edition |editor=Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= pp. 71 ''ff'' | isbn= 0120885891}}</ref>
 
<ref name=Weissman2007p72>{{cite book | author=Markus J Aschwanden |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA72 | title=Encyclopedia of the solar system |chapter=Table 1: Basic physical properties of the sun | edition= 2nd Edition |editor=Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= p. 72 | isbn= 0120885891}}</ref>


<ref name=Vasavada1999>{{cite journal | author=Ashwin R. Vasavadaa, David A. Paige and Stephen E. Wood | title= Near-Surface Temperatures on Mercury and the Moon and the Stability of Polar Ice Deposits | journal= Icarus | volume=141 | issue=2 |pages=pp. 179-193 | date= October 1999 |doi=10.1006/icar.1999.6175}}</ref>
}}
}}
|}
|}
Additional examples can be seen in [[Set (mathematics)#References]], which is formatted using the ''CZ:List-defined references'' methodology.


Additional examples can be seen in the article [[Set (mathematics)]], which is formatted using the ''CZ:List-defined references'' methodology.
===Columns and font size===
The approach using <font color=green>{{nowrap|<nowiki>{{</nowiki>reflist<nowiki>|</nowiki>refs<nowiki>=</nowiki> xxx <nowiki>}}</nowiki>}}</font> results in a single column of references, one to a line, in a smaller font size than the main text. Two other approaches are available: <font color=green>{{nowrap|<nowiki>{{reflist2|refs= xxx }}</nowiki>}}</font> results in a double column of references, also in a reduced font size. See [[Coriolis force#Notes]], for example.  Another alternative is <font color=green>{{nowrap|<nowiki>{{reflist3 test|refs= xxx }}</nowiki>}}</font>, which results in a double column of references in the same font size as the main text. See [[Reality#References]] for an example.


===A style note===
===A style note===


Note that the <nowiki>{{cite book}} and {{cite journal}}</nowiki> templates used in the above coding example are formatted with the cells in a horizontal style rather than a vertical style where the cells are in a vertical column. The horizontal style looks neater and definitely uses less space. However, the horizontal style is only a suggestion, it is not mandatory.
Note that the {{tl|cite book}} and {{tl|cite journal}} templates used in the above coding example are formatted with the cells in a horizontal style rather than a vertical style where the cells are in a vertical column. The horizontal style looks neater and definitely uses less space. However, the horizontal style is only a suggestion, it is not mandatory.
 
The information fields in the templates do not have to be filled in in any particular order (the template puts them in standard order automatically), and fields can be left blank. For readers looking for sources, the ''url'' links that the template imbeds in the titles of books and papers are helpful, and ''isbn'' or ''doi'' entries will assist readers even if the ''url'' links expire.
 
Of course, in the ''References'' section one just can type in the information ''<font color=green>xxx</font>'' in <font color=green><nowiki><ref name = MyRefName></nowiki>&ensp;''xxx''&ensp;<nowiki></ref></nowiki></font>, but an alternative is to copy and paste one of the listings below and fill it in by copying and pasting the information.
{{col-begin|width=90%}}
{{col-break|width=20%}}
{{tl|cite book}} &emsp;
<br/><font color=green>°°°°°°°°°°°°°°°°°°°°</font>
<br/><nowiki>{{</nowiki>cite book
<br/><nowiki>|</nowiki> author =
<br/><nowiki>|</nowiki> editor =
<br/><nowiki>|</nowiki> title =
<br/><nowiki>|</nowiki> chapter =
<br/><nowiki>|</nowiki> edition =
<br/><nowiki>|</nowiki> publisher =
<br/><nowiki>|</nowiki> year =
<br/><nowiki>|</nowiki> pages =
<br/><nowiki>|</nowiki> url =
<br/><nowiki>|</nowiki> isbn =
<br/>}}
{{col-break|width=20%}}
{{tl|cite journal}}
<br/><font color=green>°°°°°°°°°°°°°°°°°°°°</font>
<br/><nowiki>{{</nowiki>cite journal
<br/><nowiki>|</nowiki> author=
<br/><nowiki>|</nowiki> title =
<br/><nowiki>|</nowiki> journal =
<br/><nowiki>|</nowiki> volume =
<br/><nowiki>|</nowiki> issue =
<br/><nowiki>|</nowiki> pages =
<br/><nowiki>|</nowiki> date =
<br/><nowiki>|</nowiki> url =
<br/><nowiki>|</nowiki> doi =
<br/>}}
{{col-break|width=20%}}
{{tl|cite web}}
<br/><font color=green>°°°°°°°°°°°°°°°°°°°°</font>
<br/>{{cite web
<br/><nowiki>|</nowiki> author =
<br/><nowiki>|</nowiki> title =
<br/><nowiki>|</nowiki> work =
<br/><nowiki>|</nowiki> publisher =
<br/><nowiki>|</nowiki> date =
<br/><nowiki>|</nowiki> url =
<br/><nowiki>|</nowiki> doi =
<br/><nowiki>|</nowiki> accessdate = 
<br/>}}
{{col-end}}
 
One fills in the fields one wants to use, and leaves the rest blank. Other fields can be found in [[CZ:Citation templates]].
 
==Separating types of footnotes==
The {{tl|Reflist}} template also allows different categories of footnotes to be listed separately. For example, one can place explanatory notes separate from citations of sources. That is accomplished by introducing a group name along with the footnote name, for example: <font color=green><nowiki><ref name=MyNote group=Notes</nowiki>/<nowiki>></nowiki></font> is inserted in the text, and then at the end of the article the section for these notes is identified as <font color=green><nowiki>{{Reflist|group=Notes|refs= xxx }}</nowiki></font>, where <font color=green>xxx</font> is the list of notes in the format already described using <font color=green><nowiki><ref name=MyNote group=Notes> ... </ref></nowiki></font> with blank lines between entries. An example on this page is the note at the bottom. Articles using this feature for providing both references and notes are [[Pole splitting]] and [[AUSTAL2000]].


==Notes==
==Notes==
<references group="Note" />
{{Reflist|group=Notes|refs=
 
<ref name=template group=Notes> For details and other templates, see [[CZ:Citation templates]]</ref>
 
}}

Latest revision as of 11:36, 3 August 2011

See also Help:Index/Formatting/References

List-defined references (LDR) is a referencing method that moves the text of the references out of the main body of an article and into the References section at the bottom of the article.

LDR is a way to make referencing of article contents with a great deal less cluttering of the article's main body text in the edit page. Reduced clutter makes reading and revising text in the edit page much easier, and it also makes it possible to edit all the citations directly in the References section, instead of searching for them individually through the text. Creating LDR is not only cleaner than previous methods such as the <ref>-</ref> method, it is a method that will be more easily understood by new users.

Overview of how LDR works

This section explains the steps and coding to be used in the edit page of a Citizendium article in order to cite references as the sources for words or statements (sentences or paragraphs) in the main body of the article.

The user creates a short unique id (identifier or name) for each individual reference which is formatted like this:

<ref name=id/>   Note the forward slash ( / ) at the end of the id.

The id is arbitrary, but must be one word, and cannot include punctuation marks or letters like à or ö with diacritical marks.

To cite a reference in the main body of the article, the user places <ref name=id/> for that reference immediately to the right of the statement. The same insertion may be used in multiple locations in an article however many times that reference is needed.

Then in the References section at the bottom of the article, the user lists each reference formatted like this:

<ref name=id>xxxx</ref>  Where xxxx is the reference's full description. Quotation marks enclosing the id are not needed.

Note that the forward slash ( / ) is not included after the id in the References section.

Some rules

  • Where the user wants to locate a reference for text that is followed by punctuation like a period or a comma, the insertion <ref name=id/> should be located immediately to the right of that punctuation, and should be separated from the next word or next sentence by a single blank character space.
  • In the References section, a blank line space must be provided between each listed reference.
  • Note that the list in the References section is within a template. The list must start with {{reflist|refs= and it must end with }} exactly as shown in the example coding below.

Putting it together

To summarize, the basic templates used for bibliographic information are the same {{cite book}}, {{cite journal}} and {{cite web}} templates used with the <ref>-</ref> method.[Notes 1] However, these templates are placed not in the text, but at the end of the article following a References header using {{reflist}} and the format:

{{reflist|refs=              (notice the vertical separator and refs=)
<ref name=Ref1> {{cite book ...}} </ref>  (this is first reference)
<ref name=Ref2> {{cite book ...}} </ref>  (this is second reference, separated by a space)
}}                  (these are additional final braces)

where the names "Ref1", "Ref2" are arbitrary creations of the writer, but cannot include punctuation marks or letters like à or ö with diacritical marks. Connection to these definitions from the text is done with an insertion, such as <ref name=Ref1/>, but notice, with a forward slash.

Although not necessary to its functionality, for ease in editing, the list of named notes in the References section can be put in alphabetical order. That makes finding the note in this list easier in the event the note should be edited, for example to update a link or add to descriptive material.

Example

This is how to code the edit page of an article using "List-Defined References" :

The Sun is the dwarf star<ref name=Weissman2007p71/> at the center of the Solar System. There are eight major planets and other celestial bodies orbiting it.<ref name=Weissman2007p3/> It is extremely hot, with surface temperatures in excess of 6,000 K and a central core temperature of about 15,700,000 K.<ref name=Weissman2007p72/>

Since the Sun is about 150,000,000 kilometers away,<ref name=Weissman2007p72/> only a very small amount of its heat and light reach the Earth. Because the Earth's Moon is very much smaller than Earth, it also is very much colder.<ref name=Vasavada1999/>

==References==

{{reflist|refs=

<ref name=Vasavada1999>{{ cite journal | author=Ashwin R. Vasavadaa, David A. Paige and Stephen E. Wood | title= Near-Surface Temperatures on Mercury and the Moon and the Stability of Polar Ice Deposits | journal= Icarus | volume=141 | issue=2 |pages=pp. 179-193 | date= October 1999 |doi=10.1006/icar.1999.6175 }}</ref>

<ref name=Weissman2007p3>{{ cite book | author=Paul R Weissman |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA3 | title=Encyclopedia of the solar system |chapter=Chapter 1: The solar system and its place in the galaxy| edition= 2nd Edition |editor=Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= pp. 3 ff |isbn= 0120885891 }}</ref>

<ref name=Weissman2007p71>{{ cite book | author=Markus J Aschwanden |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA71 | title=Encyclopedia of the solar system |chapter=Chapter 4: The Sun | edition= 2nd Edition |editor=Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= pp. 71 ff | isbn= 0120885891 }}</ref>

<ref name=Weissman2007p72>{{ cite book | author=Markus J Aschwanden |url=http://books.google.com/books?id=G7UtYkLQoYoC&pg=PA72 | title=Encyclopedia of the solar system |chapter=Table 1: Basic physical properties of the sun | edition= 2nd Edition |editor=Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors | publisher=Academic Press | year=2007 | pages= p. 72 | isbn= 0120885891 }}</ref>

}}


This is what the above coding produces on the article page :

The Sun is the dwarf star[1] at the center of the Solar System. There are eight major planets and other celestial bodies orbiting it.[2] It is extremely hot, with surface temperatures in excess of 6,000 K and a central core temperature of about 15,700,000 K.[3]

Since the Sun is about 150,000,000 kilometers away,[3] only a very small amount of its heat and light reach the Earth. Because the Earth's Moon is very much smaller than Earth, it also is very much colder.[4]

References

  1. Markus J Aschwanden (2007). “Chapter 4: The Sun”, Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors: Encyclopedia of the solar system, 2nd Edition. Academic Press, pp. 71 ff. ISBN 0120885891. 
  2. Paul R Weissman (2007). “Chapter 1: The solar system and its place in the galaxy”, Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors: Encyclopedia of the solar system, 2nd Edition. Academic Press, pp. 3 ff. ISBN 0120885891. 
  3. 3.0 3.1 Markus J Aschwanden (2007). “Table 1: Basic physical properties of the sun”, Lucy-Ann McFadden, Paul Robert Weissman, Torrence V. Johnson, editors: Encyclopedia of the solar system, 2nd Edition. Academic Press, p. 72. ISBN 0120885891. 
  4. Ashwin R. Vasavadaa, David A. Paige and Stephen E. Wood (October 1999). "Near-Surface Temperatures on Mercury and the Moon and the Stability of Polar Ice Deposits". Icarus 141 (2): pp. 179-193. DOI:10.1006/icar.1999.6175. Research Blogging.

Additional examples can be seen in Set (mathematics)#References, which is formatted using the CZ:List-defined references methodology.

Columns and font size

The approach using {{reflist|refs= xxx }} results in a single column of references, one to a line, in a smaller font size than the main text. Two other approaches are available: {{reflist2|refs= xxx }} results in a double column of references, also in a reduced font size. See Coriolis force#Notes, for example. Another alternative is {{reflist3 test|refs= xxx }}, which results in a double column of references in the same font size as the main text. See Reality#References for an example.

A style note

Note that the {{cite book}} and {{cite journal}} templates used in the above coding example are formatted with the cells in a horizontal style rather than a vertical style where the cells are in a vertical column. The horizontal style looks neater and definitely uses less space. However, the horizontal style is only a suggestion, it is not mandatory.

The information fields in the templates do not have to be filled in in any particular order (the template puts them in standard order automatically), and fields can be left blank. For readers looking for sources, the url links that the template imbeds in the titles of books and papers are helpful, and isbn or doi entries will assist readers even if the url links expire.

Of course, in the References section one just can type in the information xxx in <ref name = MyRefName> xxx </ref>, but an alternative is to copy and paste one of the listings below and fill it in by copying and pasting the information.

{{cite book}}  
°°°°°°°°°°°°°°°°°°°°
{{cite book
| author =
| editor =
| title =
| chapter =
| edition =
| publisher =
| year =
| pages =
| url =
| isbn =
}}

{{cite journal}}
°°°°°°°°°°°°°°°°°°°°
{{cite journal
| author=
| title =
| journal =
| volume =
| issue =
| pages =
| date =
| url =
| doi =
}}

{{cite web}}
°°°°°°°°°°°°°°°°°°°°
{{cite web
| author =
| title =
| work =
| publisher =
| date =
| url =
| doi =
| accessdate =
}}

One fills in the fields one wants to use, and leaves the rest blank. Other fields can be found in CZ:Citation templates.

Separating types of footnotes

The {{Reflist}} template also allows different categories of footnotes to be listed separately. For example, one can place explanatory notes separate from citations of sources. That is accomplished by introducing a group name along with the footnote name, for example: <ref name=MyNote group=Notes/> is inserted in the text, and then at the end of the article the section for these notes is identified as {{Reflist|group=Notes|refs= xxx }}, where xxx is the list of notes in the format already described using <ref name=MyNote group=Notes> ... </ref> with blank lines between entries. An example on this page is the note at the bottom. Articles using this feature for providing both references and notes are Pole splitting and AUSTAL2000.

Notes

  1. For details and other templates, see CZ:Citation templates