Template:Cite news/doc: Difference between revisions
From All Skies Encyclopaedia
imported>Ligulem  (+link to Wikipedia:Template doc page pattern)  | 
				imported>Ligulem   (+== Examples ==)  | 
				||
| Line 41: | Line 41: | ||
* '''language''': the language the source is written in  | 
  * '''language''': the language the source is written in  | 
||
== Examples ==  | 
|||
| ⚫ | |||
| ⚫ | |||
*<nowiki>{{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}}</nowiki><br><div style="padding:0.5em">→ {{  | 
|||
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  | 
|||
}}</div>  | 
|||
*<nowiki>{{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}}</nowiki><br><div style="padding:0.5em">→ {{  | 
|||
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  | 
|||
}}</div>  | 
|||
*<nowiki>{{cite news  | 
|||
| author=[[John Doe|Doe, John]]  | 
|||
| title=News  | 
|||
| url=http://www.url.com/background  | 
|||
| format=Reprint  | 
|||
| publisher=[[News Corporation|News corp.]]  | 
|||
| date=[[2005-11-21]]  | 
|||
| accessdate=2005-12-11}}</nowiki><br><div style="padding:0.5em">→ {{  | 
|||
cite news  | 
|||
| author=[[John Doe|Doe, John]]  | 
|||
| title=News  | 
|||
| url=http://www.url.com/background  | 
|||
| format=Reprint  | 
|||
| publisher=[[News Corporation|News corp.]]  | 
|||
| date=[[2005-11-21]]  | 
|||
| accessdate=2005-12-11  | 
|||
}}</div>  | 
|||
*<nowiki>{{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}}</nowiki><br><div style="padding:0.5em">→ {{  | 
|||
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  | 
|||
}}</div>  | 
|||
*<nowiki>{{cite news  | 
|||
| first=John  | 
|||
| last=Doe  | 
|||
| title=FooBar  | 
|||
| page=1}}</nowiki><br><div style="padding:0.5em">→ {{  | 
|||
cite news  | 
|||
| first=John  | 
|||
| last=Doe  | 
|||
| title=FooBar  | 
|||
| page=1  | 
|||
}}</div>  | 
|||
*<nowiki>{{cite news  | 
|||
| title=FooBar  | 
|||
| page=1  | 
|||
}}</nowiki><br><div style="padding:0.5em">→ {{  | 
|||
cite news  | 
|||
| title=FooBar  | 
|||
| page=1  | 
|||
}}</div>  | 
|||
==See also==  | 
  ==See also==  | 
||
| Line 50: | Line 141: | ||
* [[Template:Cite web]]  | 
  * [[Template:Cite web]]  | 
||
* [[Template:Cite book]]  | 
  * [[Template:Cite book]]  | 
||
| ⚫ | |||
| ⚫ | |||
<includeonly>  | 
  <includeonly>  | 
||
Revision as of 09:36, 2 October 2006
This template is used to cite sources in Wikipedia. It is specifically for news sources.
Usage
{{cite news 
 |first = 
 |last = 
 |author = 
 |coauthors =
 |title = 
 |url = 
 |format = 
 |work = 
 |publisher = 
 |pages = 
 |page = 
 |date = 
 |accessdate = 
 |language = 
}}
{{cite news | first = | last = | author = | coauthors = | title = | url = | format = | work = | publisher = | pages = | page = | date = | accessdate = | language = }}
- title is required, rest is optional.
 - author: Author
- last works with first to produce 
last, first - coauthors allows additional authors
 
 - last works with first to produce 
 - 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.
 
 
 - format: Format, i.e. PDF. Don't specify for HTML (implied as default).
 - 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 the source is written in
 
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}}→ 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 corp.
| 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=[[John Doe|Doe, John]]
| title=News
| url=http://www.url.com/background
| format=Reprint
| publisher=[[News Corporation|News corp.]]
| 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 corp.
| 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
- Wikipedia:Cite sources: Style guide
 - Wikipedia:Template messages/Sources of articles/Generic citations: Related templates
 - Wikipedia:WikiProject Wikicite
 - Template:Cite web
 - Template:Cite book
 




