Difference between revisions of "Template:Cite/doc"

From blackwiki
Jump to navigation Jump to search
(grammar)
Line 17: Line 17:
 
Result:  
 
Result:  
 
:{{cite|author=Fred Bloggs|title=A book|publisher=A Publisher|date=2004-07-31}}<br>
 
:{{cite|author=Fred Bloggs|title=A book|publisher=A Publisher|date=2004-07-31}}<br>
'''Note''': Since "the date" is a single parameter in the code, the [[ISO 8601|ISO 8601 date format]] (YYYY-MM-DD) should be used; using something like <code>date=July 31, 2004</code> doesn't work correctly.  
+
'''Note''': Since "the date" is a single parameter in the code, the [[ISO 8601|ISO 8601 date format]] (YYYY-MM-DD) should be used; something like <code>date=July 31, 2004</code> doesn't work correctly.  
  
 
==Useful links==
 
==Useful links==

Revision as of 22:38, 2 January 2009

This template is for citing sources.

For a list of citation templates, see Wikipedia:Citation templates.

The use of citation templates is recommended, but not mandatory. See Wikipedia:Citing sources for the relevant style guidelines.

Please consider using specific citation templates before using this general template.

Example:

Code:

{{cite 
 |author=Fred Bloggs 
 |title=A book 
 |publisher=A Publisher 
 |date=2004-07-31 }}

Result:

Fred Bloggs (2004-07-31), A book, A Publisher

Note: Since "the date" is a single parameter in the code, the ISO 8601 date format (YYYY-MM-DD) should be used; something like date=July 31, 2004 doesn't work correctly.

Useful links

  • Zotero - find articles in Mozilla Firefox and easily paste them into Wikipedia as citation templates with Ctrl-Alt-C
  • Verisimilus's Cite generator - find articles using built-in Google Scholar interface and automatically produce an appropriate cite template. Also features a BibTeX to {{cite}} converter.