Template:Cite news: Difference between revisions

From All Skies Encyclopaedia
imported>Holek
m (+pl:)
(Replaced content with "<includeonly>{{#invoke:citation/CS1|citation |CitationClass=news }}</includeonly><noinclude> {{documentation}} </noinclude>")
Tag: Replaced
 
(104 intermediate revisions by 49 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{title|}}}
<includeonly>{{#invoke:citation/CS1|citation
|CitationClass=news
|{{#if: {{{first|}}}{{{last|}}}
}}</includeonly><noinclude>
|{{#if: {{{last|}}}
{{documentation}}
|{{{last}}},&nbsp;
}}{{{first|}}}{{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }},&nbsp;
|{{#if: {{{author|}}}
|{{{author|}}}{{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}.&nbsp;
}}
}}{{#if: {{{curly|}}}|“|"}}{{#if: {{{url|}}}
|[{{{url}}} {{{title}}}]
|{{{title}}}
}}{{#if: {{{curly|}}}|”|"}}{{#if: {{{work|}}}
|, &#32;''{{{work}}}''}}{{#if: {{{publisher|}}}
|, ''{{{publisher}}}''
}}{{#if: {{{date|}}}
|, {{{date}}}
}}{{#if: {{{pages|}}}
|, pp. {{{pages}}}
|{{#if: {{{page|}}}
|, p. {{{page}}}
}}
}}{{#if: {{{accessdate|}}}
|.&#32;Retrieved on [[{{{accessdate}}}]]
}}.{{#if: {{{language|}}}
|&#32;(written in {{{language|}}})
}}|Template error: argument '''title''' is required.}}</includeonly><noinclude>
__NOTOC__
This template is used to [[WP:CITE|cite sources]] in Wikipedia. It is specifically for news sources.

== Usage ==
<pre>
{{cite news
|first =
|last =
|author =
|coauthors =
|url =
|title =
|work =
|publisher =
|pages =
|page =
|date =
|accessdate =
|language =
}}
</pre>
*'''title''' is required, rest is optional.
* '''author''': Author
** '''last''' works with '''first''' to produce <code>last, first</code>
** '''coauthors''' allows additional authors
* '''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].
* '''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

__NOEDITSECTION__
{{esoteric}}

==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]]

[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]

[[cs:Šablona:Citace novin]]
[[pl:Szablon:Cytuj news]]
[[vi:Tiêu bản:Chú thích báo]]
[[zh:Cite news]]
</noinclude>
</noinclude>

Latest revision as of 12:03, 1 February 2025

  1. Compare archived talk page.