Template:Cite news: Difference between revisions
Appearance
m 1 revision imported |
m Protected "Template:Cite news" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly> | ||
| | {{#if:{{{title|}}}|'''{{{title}}}'''<br>}} | ||
}}</ | |||
{{ | {{#if:{{{url|}}}|[{{{url}}} {{{url}}}]<br>}} | ||
{{#if:{{{newspaper|work|}}}|''{{{newspaper|work}}}''<br>}} | |||
{{#if:{{{author|}}}|{{{author}}}<br>}} | |||
{{#if:{{{date|}}}|{{{date}}}<br>}} | |||
{{#if:{{{access-date|}}}|Retrieved {{{access-date}}}}} | |||
</includeonly> | |||
<noinclude> | |||
== Documentation == | |||
Simple newspaper/news citation template (no Lua or CS1). | |||
=== Usage === | |||
<pre> | |||
{{Cite news | |||
|title= | |||
|url= | |||
|author= | |||
|newspaper= | |||
|date= | |||
|access-date= | |||
}} | |||
</pre> | |||
=== TemplateData === | |||
<templatedata> | |||
{ | |||
"description": "Simple web citation template. Select Options to the left.", | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"type": "string", | |||
"description": "Article title" | |||
}, | |||
"url": { | |||
"label": "URL", | |||
"type": "url", | |||
"description": "Link to the article" | |||
}, | |||
"author": { | |||
"label": "Author", | |||
"type": "string", | |||
"description": "Author of the article" | |||
}, | |||
"newspaper": { | |||
"label": "Newspaper", | |||
"type": "string", | |||
"description": "Name of the newspaper or publication" | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"type": "string", | |||
"description": "Publication date" | |||
}, | |||
"access-date": { | |||
"label": "Access date", | |||
"type": "string", | |||
"description": "Date accessed" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 11:38, 19 April 2026
Documentation
Simple newspaper/news citation template (no Lua or CS1).
Usage
{{Cite news
|title=
|url=
|author=
|newspaper=
|date=
|access-date=
}}
TemplateData
Simple web citation template. Select Options to the left.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Article title | String | optional |
| URL | url | Link to the article | URL | optional |
| Author | author | Author of the article | String | optional |
| Newspaper | newspaper | Name of the newspaper or publication | String | optional |
| Date | date | Publication date | String | optional |
| Access date | access-date | Date accessed | String | optional |