User:John R. Brews/Sample2

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 references that do not clutter the edit page version of the main text. It is a method more easily understood by new users.

How LDR works
The basic templates used for bibliographic information are the same cite book, cite journal and cite web  templates used with the method. 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:


 * &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, but notice, with a forward slash.

Example
The References section for an article might appear as follows:


 * ==References==

Using these references, this is how they appear on an edit page of an article using "List-Defined References"&thinsp;:
 * {|cellpadding=8 align=center style="background:#fffaf5; width:99%; border:1px dotted; margin:5px;"

This is what the above coding produces on the article page&thinsp;:
 * List-defined references are easy to set up. They do not clutter the main text,  making editing easier.
 * }


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

 References 
 * List-defined references are easy to set up. They do not clutter the main text, making editing easier.


 * }

Real-world examples can be seen in the article Set (mathematics), which is formatted using the CZ:List-defined references methodology. The article Coriolis force also is formatted using the CZ:List-defined references method, but using the template reflist2, which works in exactly the same way, but results in a two-column format for the reference listing.