Difference between revisions of "Template:Cite news"
From Self-sufficiency
(note about wikilinking date as long as the whole date is known, and not to wikilink accessdate) |
(add language option) |
||
Line 22: | Line 22: | ||
}}{{#if: {{{accessdate|}}} | }}{{#if: {{{accessdate|}}} | ||
|. Retrieved on [[{{{accessdate}}}]] | |. Retrieved on [[{{{accessdate}}}]] | ||
+ | }}{{#if: {{{language|}}} | ||
+ | |  ({{{language|}}} | ||
}}.|Template error: argument '''title''' is required.}}</includeonly><noinclude> | }}.|Template error: argument '''title''' is required.}}</includeonly><noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
Line 41: | Line 43: | ||
|date = | |date = | ||
|accessdate = | |accessdate = | ||
+ | |language = | ||
}} | }} | ||
</pre> | </pre> | ||
Line 52: | Line 55: | ||
* '''work''': If this item is part of a larger work, name of that work. | * '''work''': If this item is part of a larger work, name of that work. | ||
* '''pages''' overrides '''page''' | * '''pages''' overrides '''page''' | ||
+ | * '''language''': the language the source is written in | ||
__NOEDITSECTION__ | __NOEDITSECTION__ |
Revision as of 01:27, 1 July 2006
This template is used to cite sources in Wikipedia. It is specifically for news sources.
Usage
{{cite news |first = |last = |author = |coauthors = |url = |title = |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
- 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.
- accessdate: Date when item was accessed. Use ISO 8601 YYYY-MM-DD format. Do not wikilink the date.
- work: If this item is part of a larger work, name of that work.
- pages overrides page
- language: the language the source is written in
40x40px | This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |