Difference between revisions of "Template:Cite news"

From CycleChaos
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
   |{{#if: {{{author|}}}{{{last|}}}
   |{{#if: {{{author|}}}{{{last|}}}
     | {{#if: {{{authorlink|}}}
     | {{#if: {{{authorlink|}}}
       | [[{{{authorlink}}}|{{#if: {{{last|}}}
       | {{{authorlink}}}|{{#if: {{{last|}}}
         | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
         | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
         | {{{author}}}
         | {{{author}}}
       }}]]
       }}
       | {{#if: {{{last|}}}
       | {{#if: {{{last|}}}
         | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
         | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
Line 28: Line 28:
     }}
     }}
   }}{{#if: {{{accessdate|}}}   
   }}{{#if: {{{accessdate|}}}   
   | . Retrieved on [[{{{accessdate}}}]]
   | . Retrieved on {{{accessdate}}}
   }}.{{#if: {{{language|}}}
   }}.{{#if: {{{language|}}}
   |  (in {{{language|}}})
   |  (in {{{language|}}})
Line 36: Line 36:




This template is used to [[WP:CITE|cite sources]] in Wikipedia. It is specifically for news sources.
This template is used to cite sources in Wikipedia. It is specifically for news sources.


== Usage ==
== Usage ==
Line 78: Line 78:
* '''work''': If this item is part of a larger work (such as a newspaper), name of that work.
* '''work''': If this item is part of a larger work (such as a newspaper), name of that work.
* '''publisher''': Publisher, if any.
* '''publisher''': Publisher, if any.
* '''date''': date of publication. [[ISO 8601]] YYYY-MM-DD format recommended. If the whole date is known it should be [[m:Help:Preferences#Date_format|wikilinked]] to enable [http://en.wikipedia.org/wiki/Special:Preferences#prefsection-4 date user preferences].
* '''date''': date of publication. ISO 8601 YYYY-MM-DD format recommended. If the whole date is known it should be wikilinked to enable [http://en.wikipedia.org/wiki/Special:Preferences#prefsection-4 date user preferences].
* '''pages''' overrides '''page'''
* '''pages''' overrides '''page'''
* '''accessdate''': Date when item was accessed. Use [[ISO 8601]] YYYY-MM-DD format. Do not wikilink the date.
* '''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.
* '''language''': the language in which the source is written.
* '''quote''': Relevant quote.
* '''quote''': Relevant quote.
Line 94: Line 94:
| publisher=News corp.
| publisher=News corp.
| pages= 37–39
| pages= 37–39
| 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">→ {{
cite news
cite news
Line 104: Line 104:
| publisher=News corp.
| publisher=News corp.
| pages= 37&ndash;39
| pages= 37&ndash;39
| date=[[2005-11-21]]
| date=2005-11-21
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</div>
}}</div>
Line 115: Line 115:
| publisher=News corp.
| publisher=News corp.
| pages= 37&ndash;39
| pages= 37&ndash;39
| 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">→ {{
cite news
cite news
Line 124: Line 124:
| publisher=News corp.
| publisher=News corp.
| pages= 37&ndash;39
| pages= 37&ndash;39
| date=[[2005-11-21]]
| date=2005-11-21
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</div>
}}</div>
Line 135: Line 135:
| url=http://www.url.com/background
| url=http://www.url.com/background
| format=Reprint
| format=Reprint
| publisher=[[News Corporation|News corp.]]
| publisher=News Corporation
| 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">→ {{
cite news
cite news
Line 145: Line 145:
| url=http://www.url.com/background
| url=http://www.url.com/background
| format=Reprint
| format=Reprint
| publisher=[[News Corporation|News corp.]]
| publisher=News Corporation
| date=[[2005-11-21]]
| date=2005-11-21
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</div>
}}</div>
Line 155: Line 155:
| format=Fee required
| format=Fee required
| publisher=News corp.
| publisher=News corp.
| 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">→ {{
cite news
cite news
Line 162: Line 162:
| format=Fee required
| format=Fee required
| publisher=News corp.
| publisher=News corp.
| date=[[2005-11-21]]
| date=2005-11-21
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</div>
}}</div>

Latest revision as of 17:44, 6 January 2007


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=2024-04-30 }}

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 corp. | pages= 37–39 | date=2005-11-21 | accessdate=2005-12-11}}
    → Doe, John. "News", Encyclopedia of Things, News corp., 2005-11-21, pp. 37–39. Retrieved on 2005-12-11.
  • {{cite news | author=Staff writer | title=News | url=http://www.url.com/News.pdf | format=PDF | publisher=News corp. | pages= 37–39 | date=2005-11-21 | accessdate=2005-12-11}}
    → Staff writer. "News" (PDF), News corp., 2005-11-21, pp. 37–39. Retrieved on 2005-12-11.
  • {{cite news | first=John | last=Doe | authorlink=John Doe | title=News | url=http://www.url.com/background | format=Reprint | publisher=News Corporation | date=2005-11-21 | accessdate=2005-12-11}}
    → John Doe. "News" (Reprint), News Corporation, 2005-11-21. Retrieved on 2005-12-11.
  • {{cite news | title=News | url=http://www.url.com/Archive/News | format=Fee required | publisher=News corp. | date=2005-11-21 | accessdate=2005-12-11}}
    → "News" (Fee required), News corp., 2005-11-21. Retrieved on 2005-12-11.
  • {{cite news | first=John | last=Doe | title=FooBar | page=1}}
    → Doe, John. "FooBar", p. 1.
  • {{cite news | title=FooBar | page=1 }}
    → "FooBar", p. 1.