CZ:List-defined references: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Ro Thorpe
m (→‎Example: OK, then here too)
imported>John R. Brews
(parallel construction with two gerunds)
Line 3: Line 3:
'''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 of the edit page and making revisions 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 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.  


==Overview of how LDR works==
==Overview of how LDR works==

Revision as of 05:23, 14 May 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 the edit page and revising it much easier. 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.

To cite a reference as the source for a word or statement in the main body of the article, the user places only the id of that reference just to the right of the statement. An id 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.

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 text. Quotation marks enclosing the (id) are not needed.

Note that the forward slash ( / ) is not included after the id for the listed full-text references in "References" section.

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 id (e.g., <ref name=id/>), the id 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.
  • 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 ...}} and {{cite journal ...}} and {{cite web...}} templates used with the <ref>-</ref> method.[Note 1] However, these templates are placed not in the text, but at the end of the article following a References header using 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. Connection to these definitions from the text is done with an insertion, such as <ref name=Ref1/>, but notice, with a forward slash.

Example

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

The Sun is the dwarf star<ref name=Jones2005p35/> at the center of the Solar System. There are eight planets and other celestial bodies orbiting it.<ref name=Jones2005p23/> It is extremely hot, with surface temperatures in excess of 5,000 °C and a central core temperature greater than 10,000,000 °C.<ref name=Jones2005p23/>

Since the Sun is about 150,000,000 kilometers away,<ref name=Jones2005p35/> 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=Kelly2001/>

==References==

{{reflist|refs=

<ref name=Jones2005p23>{{cite book | author=Edward Jones, William Smith and George Jackson | title=The Solar System's Sun | edition= 4th Edition | publisher=Thompson Publishing Co. | date=September 1998 | pages=pp. 23-28 | id=ISBN 4-3782-5673-1}}</ref>

<ref name=Jones2005p35>{{cite book | author=Edward Jones, William Smith and George Jackson | title=The Solar System's Sun | edition= 4th Edition | publisher=Thompson Publishing Co. | date=September 1998 | pages=pp. 35-45 | id=ISBN 4-3782-5673-1}}</ref>

<ref name=Kelly2001>{{cite journal | author=Thomas Page, William Wood and John Isher | title= Lunar Surface Temperatures and the Stability of Polar Ice Deposits | journal= Solar System Astronomy | volume=32 | issue=4 |pages=pp. 179-195 | date= February 2001}}</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 planets and other celestial bodies orbiting it.[2] It is extremely hot, with surface temperatures in excess of 5,000 °C and a central core temperature greater than 10,000,000 °C.[2]

Since the Sun is about 150,000,000 kilometers away,[1] 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.[3]

References

  1. 1.0 1.1 Edward Jones, William Smith and George Jackson (September 1998). The Solar System's Sun, 4th Edition. Thompson Publishing Co., pp. 35-45. ISBN 4-3782-5673-1. 
  2. 2.0 2.1 Edward Jones, William Smith and George Jackson (September 1998). The Solar System's Sun, 4th Edition. Thompson Publishing Co., pp. 23-28. ISBN 4-3782-5673-1. 
  3. Thomas Page, William Wood and John Isher (February 2001). "Lunar Surface Temperatures and the Stability of Polar Ice Deposits". Solar System Astronomy 32 (4): pp. 179-195.

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.

Notes