CZ:List-defined references: Difference between revisions
imported>Milton Beychok m (Oops! "above" changed to "below") |
imported>John R. Brews (link to help page; some downplay of "easier method";executive summary) |
||
Line 2: | Line 2: | ||
'''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 | 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. | ||
==Overview of how LDR works== | ==Overview of how LDR works== | ||
Line 26: | Line 26: | ||
*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=== | |||
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. However, these templates are placed ''not'' in the text, but at the end of the article following a ''References'' header using the format: | |||
:<nowiki>{{reflist|refs=</nowiki>              (notice the vertical separator and refs=) | |||
:<nowiki><ref name=Ref1> {{cite book ...}} </ref></nowiki>  (this is first reference) | |||
:<nowiki><ref name=Ref2>{{cite book ...}} </ref></nowiki>  (this is second reference, <u>separated by a space</u>) | |||
:<nowiki>}}</nowiki>                   (these are additional final braces) | |||
where the names "Ref1", "Ref2" are arbitrary creations of the editor. Connection to these definitions from the text is done with an insertion, such as <nowiki><ref name=Ref1/></nowiki>, but notice, with a forward slash. | |||
==Example== | ==Example== |
Revision as of 10:33, 13 May 2011
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 <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. 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 editor. 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 a dwarf star<ref name=Jones2005p35/> in our solar system which has 8 planets and other celestial bodies revolving around 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 from the Earth,<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 a large dwarf star[1] in our solar system which has 8 planets and other celestial bodies revolving around 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 from the Earth,[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==
|
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.