Template:Cite news: Difference between revisions
Appearance
Created page with "<includeonly>{{{author|}}}. "{{{title|}}}." ''{{{newspaper|}}}''{{{date|}}}.{{{page|}}}{{{url|}}}{{{access-date|}}}</includeonly><noinclude> = Template:Cite news = Formats a citation for a newspaper or magazine article. == Usage == <pre> <ref>{{Cite news |author= |title= |newspaper= |date= |page= |url= |access-date= }}</ref> </pre> == Parameters == {| class="wikitable" ! Parameter ! Required ! Description |- | author | Yes | Author of the article. |- | title..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{{author|}}}. "{{{title|}}}." ''{{{newspaper|}}}''{{{date|}}}.{{{page|}}}{{{url|}}}{{{access-date|}}}</includeonly><noinclude> | <includeonly>{{{author|}}}. "{{{title|}}}." ''{{{newspaper|}}}''. {{{date|}}}.{{#if:{{{page|}}}| p. {{{page}}}.}}{{#if:{{{url|}}}| [{{{url}}} Online].}}{{#if:{{{access-date|}}}| Retrieved {{{access-date}}}.}}</includeonly> | ||
<noinclude> | |||
= Template:Cite news = | == Template:Cite news == | ||
Formats a citation for a newspaper or magazine article. | Formats a citation for a newspaper or magazine article. | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
<ref>{{Cite news | <ref>{{Cite news | ||
| Line 18: | Line 15: | ||
}}</ref> | }}</ref> | ||
</pre> | </pre> | ||
== Parameters == | == Parameters == | ||
{| class="wikitable" | {| class="wikitable" | ||
! Parameter | ! Parameter | ||
| Line 44: | Line 39: | ||
| page | | page | ||
| No | | No | ||
| Page number( | | Page number (just the number, e.g. A3 — the template adds "p."). | ||
|- | |- | ||
| url | | url | ||
| No | | No | ||
| | | Link to an online version (just the URL). | ||
|- | |- | ||
| access-date | | access-date | ||
| No | | No | ||
| Date accessed | | Date accessed (e.g. 2 July 2026). | ||
|} | |} | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
<ref>{{Cite news | <ref>{{Cite news | ||
| Line 63: | Line 56: | ||
|newspaper=The Times | |newspaper=The Times | ||
|date=12 March 2024 | |date=12 March 2024 | ||
|page= | |page=5 | ||
|url= | |url=https://example.com | ||
|access-date= | |access-date=2 July 2026 | ||
}}</ref> | }}</ref> | ||
</pre> | </pre> | ||
Produces: | Produces: | ||
Jones, Sarah. "Mystery Returns to Fleet Street." ''The Times''. 12 March 2024. p. 5. Online. Retrieved 2 July 2026. | Jones, Sarah. "Mystery Returns to Fleet Street." ''The Times''. 12 March 2024. p. 5. Online. Retrieved 2 July 2026. | ||
[[Category:Citation templates]] | [[Category:Citation templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 15:20, 2 July 2026
Template:Cite news
Formats a citation for a newspaper or magazine article.
Usage
<ref>{{Cite news
|author=
|title=
|newspaper=
|date=
|page=
|url=
|access-date=
}}</ref>
Parameters
| Parameter | Required | Description |
|---|---|---|
| author | Yes | Author of the article. |
| title | Yes | Title of the article. |
| newspaper | Yes | Name of the newspaper or magazine. |
| date | Yes | Publication date. |
| page | No | Page number (just the number, e.g. A3 — the template adds "p."). |
| url | No | Link to an online version (just the URL). |
| access-date | No | Date accessed (e.g. 2 July 2026). |
Example
<ref>{{Cite news
|author=Jones, Sarah
|title=Mystery Returns to Fleet Street
|newspaper=The Times
|date=12 March 2024
|page=5
|url=https://example.com
|access-date=2 July 2026
}}</ref>
Produces: Jones, Sarah. "Mystery Returns to Fleet Street." The Times. 12 March 2024. p. 5. Online. Retrieved 2 July 2026.