Template:Cite news: Difference between revisions
Appearance
PhantomSteve (talk | contribs) create |
PhantomSteve (talk | contribs) add templatedata |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{author|}}}|{{{author}}}. |}}{{#if:{{{url|}}}|[{{{url}}} “{{{title|Untitled news article}}}”]|“{{{title|Untitled news article}}}”}}{{#if:{{{newspaper|}}}|. ''{{{newspaper}}}''|}}{{#if:{{{location|}}}|. {{{location}}}|}}{{#if:{{{date|}}}|. {{{date}}}|}}{{#if:{{{page|}}}|, p. {{{page}}}|}}{{#if:{{{pages|}}}|, pp. {{{pages}}}|}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}|}}.</includeonly> | <includeonly>{{#if:{{{author|}}}|{{{author}}}. |}}{{#if:{{{url|}}}|[{{{url}}} “{{{title|Untitled news article}}}”]|“{{{title|Untitled news article}}}”}}{{#if:{{{newspaper|}}}|. ''{{{newspaper}}}''|}}{{#if:{{{location|}}}|. {{{location}}}|}}{{#if:{{{date|}}}|. {{{date}}}|}}{{#if:{{{page|}}}|, p. {{{page}}}|}}{{#if:{{{pages|}}}|, pp. {{{pages}}}|}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}|}}.</includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"description": "Formats a citation for a newspaper article", | |||
"params": { | |||
"author": { | |||
"label": "Author", | |||
"description": "Author of the article", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"url": { | |||
"label": "URL", | |||
"description": "Web address of the article", | |||
"type": "url" | |||
}, | |||
"title": { | |||
"label": "Article title", | |||
"description": "Title of the news article", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"newspaper": { | |||
"label": "Newspaper", | |||
"description": "Name of the newspaper", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"description": "Place where the newspaper was published", | |||
"type": "line" | |||
}, | |||
"date": { | |||
"label": "Publication date", | |||
"description": "Date the article was published", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"page": { | |||
"label": "Page", | |||
"description": "Single page being cited", | |||
"type": "line" | |||
}, | |||
"pages": { | |||
"label": "Pages", | |||
"description": "Range of pages being cited", | |||
"type": "line" | |||
}, | |||
"access-date": { | |||
"label": "Access date", | |||
"description": "Date the online article was accessed", | |||
"type": "date" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Revision as of 13:59, 9 September 2026
Formats a citation for a newspaper article
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Author | author | Author of the article | Line | suggested |
| URL | url | Web address of the article | URL | optional |
| Article title | title | Title of the news article | Line | required |
| Newspaper | newspaper | Name of the newspaper | Line | suggested |
| Location | location | Place where the newspaper was published | Line | optional |
| Publication date | date | Date the article was published | Date | suggested |
| Page | page | Single page being cited | Line | optional |
| Pages | pages | Range of pages being cited | Line | optional |
| Access date | access-date | Date the online article was accessed | Date | optional |