Template:Cite news/doc: Difference between revisions

From All Skies Encyclopaedia
imported>Coelacan
m (closing superfluous whitespace)
imported>Coelacan
(let's use an example company that doesn't actually exist)
Line 57: Line 57:
| url=http://www.url.com/
| url=http://www.url.com/
| work=Encyclopedia of Things
| work=Encyclopedia of Things
| publisher=News corp.
| publisher=News co.
| pages= 37–39
| pages= 37–39
| date=[[2005-11-21]]
| date=[[2005-11-21]]
Line 67: Line 67:
| url=http://www.url.com/
| url=http://www.url.com/
| work=Encyclopedia of Things
| work=Encyclopedia of Things
| publisher=News corp.
| publisher=News co.
| pages= 37–39
| pages= 37–39
| date=[[2005-11-21]]
| date=[[2005-11-21]]
Line 78: Line 78:
| url=http://www.url.com/News.pdf
| url=http://www.url.com/News.pdf
| format=PDF
| format=PDF
| publisher=News corp.
| publisher=News co.
| pages= 37–39
| pages= 37–39
| date=[[2005-11-21]]
| date=[[2005-11-21]]
Line 87: Line 87:
| url=http://www.url.com/News.pdf
| url=http://www.url.com/News.pdf
| format=PDF
| format=PDF
| publisher=News corp.
| publisher=News co.
| pages= 37–39
| pages= 37–39
| date=[[2005-11-21]]
| date=[[2005-11-21]]
Line 100: Line 100:
| url=http://www.url.com/background
| url=http://www.url.com/background
| format=Reprint
| format=Reprint
| publisher=[[News Corporation|News corp.]]
| publisher=News co.
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| accessdate=2005-12-11}}</nowiki><br><div style="padding:0.5em">→ {{
| accessdate=2005-12-11}}</nowiki><br><div style="padding:0.5em">→ {{
Line 110: Line 110:
| url=http://www.url.com/background
| url=http://www.url.com/background
| format=Reprint
| format=Reprint
| publisher=[[News Corporation|News corp.]]
| publisher=News co.
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| accessdate=2005-12-11
| accessdate=2005-12-11
Line 119: Line 119:
| url=http://www.url.com/Archive/News
| url=http://www.url.com/Archive/News
| format=Fee required
| format=Fee required
| publisher=News corp.
| publisher=News co.
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| accessdate=2005-12-11}}</nowiki><br><div style="padding:0.5em">→ {{
| accessdate=2005-12-11}}</nowiki><br><div style="padding:0.5em">→ {{
Line 126: Line 126:
| url=http://www.url.com/Archive/News
| url=http://www.url.com/Archive/News
| format=Fee required
| format=Fee required
| publisher=News corp.
| publisher=News co.
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| accessdate=2005-12-11
| accessdate=2005-12-11

Revision as of 05:05, 6 December 2006

Template:Template doc page viewed directly

This template is used to cite sources in Wikipedia. It is specifically for news sources.

Usage

Common form for online news articles (English, HTML format, with today as access date)

{{cite news |first= |last= |authorlink= |author= |coauthors= |title= |url= |work= |publisher= |date= |accessdate=2025-02-26 }}

All parameters
{{cite news 
 | first = 
 | last = 
 | authorlink =
 | author = 
 | coauthors =
 | title = 
 | url = 
 | format = 
 | work = 
 | publisher = 
 | pages = 
 | page = 
 | date = 
 | accessdate = 
 | language = 
 | quote = 
}}
{{cite news |first= |last= |authorlink= |author= |coauthors= |title= |url= |format= |work= |publisher= |pages= |page= |date= |accessdate= |language= |quote= }}
  • title is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly.
  • 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.
    • coauthors: allows additional authors
  • url: Link to the news item if available online
    • format: Format, i.e. PDF. Don't specify for HTML (implied as default).
      Specify as 'fee required' if free access no longer available.
      Specify as 'Reprint' if a full original version but not hosted by the original publisher.
  • work: If this item is part of a larger work (such as a newspaper), name of that work.
  • publisher: Publisher, if any.
  • date: date of publication. ISO 8601 YYYY-MM-DD format recommended. If the whole date is known it should be wikilinked to enable date user preferences.
  • pages overrides page
  • accessdate: Date when item was accessed. Use ISO 8601 YYYY-MM-DD format. Do not wikilink the date.
  • language: the language in which the source is written.
  • quote: Relevant quote.

Examples

  • {{cite news | first=John | last=Doe | title=News | url=http://www.url.com/ | work=Encyclopedia of Things | publisher=News co. | pages= 37–39 | date=[[2005-11-21]] | accessdate=2005-12-11}}
    Lua error: bad argument #1 to "get" (not a valid title).
  • {{cite news | author=Staff writer | title=News | url=http://www.url.com/News.pdf | format=PDF | publisher=News co. | pages= 37–39 | date=[[2005-11-21]] | accessdate=2005-12-11}}
    Lua error: bad argument #1 to "get" (not a valid title).
  • {{cite news | first=John | last=Doe | authorlink=John Doe | title=News | url=http://www.url.com/background | format=Reprint | publisher=News co. | date=[[2005-11-21]] | accessdate=2005-12-11}}
    Lua error: bad argument #1 to "get" (not a valid title).
  • {{cite news | title=News | url=http://www.url.com/Archive/News | format=Fee required | publisher=News co. | date=[[2005-11-21]] | accessdate=2005-12-11}}
    Lua error: bad argument #1 to "get" (not a valid title).
  • {{cite news | first=John | last=Doe | title=FooBar | page=1}}
    Lua error: bad argument #1 to "get" (not a valid title).
  • {{cite news | title=FooBar | page=1 }}
    Lua error: bad argument #1 to "get" (not a valid title).

See also


Template:Esoteric