Template:Ref
From Wikibooks, the open-content textbooks collection
Usage:
In the text of the module, after some statement or quote you want to add a reference to, use this {{ref}} template like this:
''"The scientific study of the distribution and abundance of organisms and the interactions that determine distribution and abundance"''{{ref|Begon2006}}.
Later, in the references section, use the associated {{note}} template, something like this:
== References == # {{note|Begon2006}} Begon, M., C. R. Townsend and J. L. Harper. 2006. ''Ecology: From Individuals to Ecosystems.'' Blackwell Publishing, Malden, MA. p. xi
Alas, this template creates non-clickable links when the 1st parameter includes spaces. So rather than "Begon, 2006" or "Begon 2006" as the in-line reference, we are forced to remove spaces and use "Begon2006" as the in-line reference.
Also, note that some people[2] prefer using the <ref></ref> style references -- the "ref" tag rather than the "ref" template.
What happens when we have 2 references to the same book?