Changes

no edit summary
Line 1: Line 1: −
#REDIRECT [[WikiTeam/Wikiguide/Citations]]
+
<noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}</noinclude>
 +
It is straightforward to include citations to references in articles contained in this wiki.  We have added the "Cite" extension for this. <-- OR MAYBE NOT YET, BUT WE SHOULD -->  Here is how it works:
 +
 
 +
== Basic Idea ==
 +
Wherever you want to cite a source, use the <nowiki><ref> ... </ref></nowiki> tags to enclose a reference to that source, as in this example:
 +
  <nowiki><ref>Steven Weinberg, ''Towards the Final Laws of Physics'', (1987, Cambridge Unversity Press)</ref></nowiki> 
 +
This will insert a numbered reference link at this point, and save the reference text for the list of references.
 +
 
 +
Then to display the accumulated list of references at the bottom of the article (or wherever you want it), simlply insert the tag
 +
  <nowiki><references/></nowiki>   
 +
 
 +
 
 +
== Multiple citations of the same source ==
 +
 
 +
You can easily cite the same source several times by giving the reference a "name".  When you enter the reference material include a "name=..." parameter, like so:
 +
  <nowiki> <ref name="Feynman">Richard P. Feynman, ''The Reason for Antiparticles'' (1987, Cambridge University Press)</ref> </nowiki>
 +
Then later if you wish to cite this source again, simply say
 +
  <nowiki><ref name="Feynman"/></nowiki>
 +
to insert a numbered link to the previously entered reference of that name.  (Don't forget that trailing slash in the tag.)
 +
 
 +
== See Also ==
 +
* http://www.mediawiki.org/wiki/Extension:Cite/Cite.php
 +
* http://www.mediawiki.org/wiki/Extension:Cite/Cite.php#Multiple_uses_of_the_same_footnote