Template:Cite news/doc: Difference between revisions
From All Skies Encyclopaedia
imported>Black Falcon (switched to DMY format: matches examples at the bottom of the page, used by most of the world -- users are still free to change this in articles) |
No edit summary |
||
Line 1: | Line 1: | ||
(luis orlando lamarque is the biggest fan of shawn he says that he would like to mee him in person and he will ) |
|||
<includeonly>{{esoteric}}</includeonly> |
|||
{{documentation subpage}}<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
|||
This template is used to [[WP:CITE|cite sources]] in Wikipedia. It is specifically for news sources. |
|||
== Usage == |
|||
All parameter names '''''must''''' be [[lower case]]. |
All parameter names '''''must''''' be [[lower case]]. |
||
Revision as of 20:07, 15 August 2009
(luis orlando lamarque is the biggest fan of shawn he says that he would like to mee him in person and he will ) All parameter names must be lower case.
Copy a blank version to use. Remember to use the "|" (pipe) character between each field. Please delete any unused fields to avoid clutter in the edit window.
- Full version (copy and paste text below and delete parameters you don't need)
{{cite news |first= |last= |authorlink= |author= |coauthors= |title= |trans_title= |url= |format= |agency= |work= |publisher= |location= |id= |pages= |page= |date= |accessdate=24 February 2025 |language= |quote= |archiveurl= |archivedate= }}
- First example of commonly used fields (or you can use this and not have to delete as much) (This assumes English, HTML format)
{{cite news |first= |last= |authorlink= |coauthors= |title= |url= |work= |publisher= |date= |accessdate=24 February 2025}}
- Shorter example
{{cite news |first= |last= |coauthors= |title= |work= |page= |date= |accessdate=24 February 2025 |quote= |url= }}
- All parameters, vertical format
{{cite news | title = | author = | first = | last = | authorlink = | author2 = | author3 = | author4 = | author5 = | author6 = | author7 = | url = | format = | agency = | work = | publisher = | location = | isbn = | issn = | oclc = | pmid = | pmd = | bibcode = | doi = | id = | date = | page = | pages = | accessdate = 24 February 2025 | language = | trans_title = | quote = | archiveurl = | archivedate = }}
- title is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly. Do not enclose it in quotations marks, italics or other formatting, though it may be wikilinked.
- author: Author.
- last works with first to produce
last, first
- authorlink works either with author or with last & first to link to the appropriate Wikipedia article. Does not work with URLs.
- author2, author3, ... author9: Allows additional authors. Numbers must be used consecutively. author9 is not actually displayed, but causes et al. to appear. Can also use lastn, firstn, and authorlinkn.
- coauthors: Equivalent to author2.
- last works with first to produce
- url: Link to the news item if available online (note this is not for a link to the main web page of the work of publisher, but only to a copy of the item specified in title). Start the url with the communications protocol e.g. http://. Do not post urls of google hosted AP content, that content is transient. Use msnbc, Yahoo, or another provider that keeps AP archives.
- format: Format, e.g. PDF. Don’t specify for HTML (implied as default).
- Specify as ‘fee required’ if free access is no longer available.
- Specify as ‘Reprint’ if you use a full original version but not hosted by the original publisher.
- format: Format, e.g. PDF. Don’t specify for HTML (implied as default).
- agency: The news agency (wire service) that provided the content, e.g. Associated Press, Reuters, etc. Spell out and link the full name.
- work: The publication that ran the item, e.g. Newsweek. Can also be used for the name of a column or subpart of an issue. Do not italicize.
- location: Place of the publication, e.g. Toronto for The Globe and Mail. For student newspapers, include the name of the school.
- publisher: The company or organization that publishes the news source. Not necessary for major publications like The New York Times, but may add credibility for local papers that are part of a family of publications like The McClatchy Company.
- isbn, issn, oclc, pmid, pmd, bibcode, doi Unique object identifiers, if applicable. Will automatically generate an appropriately wikilinked link to the object in question.
- id: Identifier of a type not listed above. Remember, if you use this parameter, you must specify the kind of identifier, not just give a number.
- date: Date of publication. Use the same format as the main text of the article.
- page or pages: The page(s) on which the article is found. page inserts the abbreviation "p." before the number; pages inserts "pp." Use only one of these parameters. If numbers are entered for both, pages overrides page.
- accessdate: Full date when item was accessed.
- language: The language in which the source is written. If English (the default) do not use this parameter. See also the 'trans_title' parameter.
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the 'language' parameter.
- quote: Relevant quotation. Adding a quotation can help locate online copies of the item using a text search, especially if the original link goes dead.
- archiveurl: URL of the archive location of the item; this is for archives (such archive.org and WebCite); for back-issues and the like that are on file at the publisher's site, use the "url" parameter (requires archivedate).
- archivedate: Date when the item was archived (requires archiveurl).
Examples
- Using first and last to identify the author, and id to supply the ISSN
- {{cite news
| first=John
| last=Doe
| title=News
| url=http://www.example.org/
| work=Encyclopedia of Things
| publisher=News co.
| location=Toronto
| pages= 37–39
| date=21 November 2005
| id={{ISSN|0028–0836}}
| accessdate=11 December 2005
}}→ Lua error: bad argument #1 to "get" (not a valid title).
- Using author instead of first and last, and adding a news agency
- {{cite news
| author=Staff writer
| title=News
| url=http://www.example.org/News.pdf
| format=PDF
| agency=Wireservice
| publisher=News co.
| pages= 37–39
| date=21 November 2005
| accessdate=11 December 2005
}}→ Lua error: bad argument #1 to "get" (not a valid title).
- Using authorlink to link to the author’s article
- {{cite news
| first=John
| last=Doe
| authorlink=John Doe
| title=News
| url=http://www.example.org/background
| format=Reprint
| publisher=News co.
| date=21 November 2005
| accessdate=11 December 2005
}}→ Lua error: bad argument #1 to "get" (not a valid title).
- Using format
- {{cite news
| title=News
| url=http://www.example.org/Archive/News
| format=Fee required
| publisher=News co.
| date=21 November 2005
| accessdate=11 December 2005
}}→ Lua error: bad argument #1 to "get" (not a valid title).
- Using page to identify the reference by page
- {{cite news
| first=John
| last=Doe
| title=FooBar
| page=1
}}→ Lua error: bad argument #1 to "get" (not a valid title).
- A very simple citation
- {{cite news
| title=FooBar
| page=1
}}→ Lua error: bad argument #1 to "get" (not a valid title).
- A foreign language news article
- {{cite news
|author=Joliet, François
|title=Honni soit qui mal y pense
|date=30 April 2005
|url=http://www.example.org/
|language=French
|work=Le Figaro
|trans_title=Shame on those who think evil
}}→ Lua error: bad argument #1 to "get" (not a valid title).
- Using archiveurl and archivedate to refer to items that went away but are available from an archive site
- {{cite news
| author=Staff writer
| title=News
| url=http://www.example.org/News.pdf
| format=PDF
| publisher=News co.
| pages= 37–39
| date=21 November 2005
| accessdate=11 December 2005
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
| archivedate=28 June 2008
}}→ Lua error: bad argument #1 to "get" (not a valid title).
COinS
This template produces COinS metadata; see COinS in Wikipedia for background information.
See also
- Wikipedia:Citing sources, style guideline
- Wikipedia:Citation templates, examples of template usage
- Wikipedia:WikiProject Wikicite
- Template:Cite book
- Template:Cite web