Template:Web citation: Difference between revisions

Template page
mNo edit summary
m (Using onlyinclude tags)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:news citation|cite}}</includeonly>
<onlyinclude>{{#invoke:web citation|cite}}</onlyinclude>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"journalist": {
"label": "Journalist",
"type": "string",
"suggested": true,
"description": "Name of the journalist who wrote the article"
},
"date": {
"date": {
"label": "Date",
"label": "Date",
Line 30: Line 24:
},
},
"newspaper": {
"newspaper": {
"label": "Newspaper",
"label": "Newspaper or website name",
"type": "string",
"type": "string",
"suggested": true,
"suggested": true,
"description": "Name of the newspaper or periodical",
"description": "Name of the newspaper, periodical or website",
"example": "The Grayzone"
"example": "The Grayzone"
},
},
Line 53: Line 47:
"suggested": true,
"suggested": true,
"description": "Date the article has been retrieved"
"description": "Date the article has been retrieved"
},
"quote": {
"label": "Quote",
"description": "Cites a quotation from the article",
"type": "string",
"suggested": true
},
"author": {
"label": "Author",
"description": "Name of the author who wrote the article",
"type": "string",
"suggested": true
}
}
},
},
"description": "Creates a citation for newspaper sources",
"description": "Creates a citation for web sources",
"paramOrder": [
"paramOrder": [
"journalist",
"author",
"newspaper",
"title",
"date",
"date",
"title",
"url",
"url",
"newspaper",
"archive-url",
"archive-url",
"archive-date",
"archive-date",
"retrieved"
"retrieved",
"quote"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 04:58, 18 January 2023


Creates a citation for web sources

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Authorauthor

Name of the author who wrote the article

Stringsuggested
Newspaper or website namenewspaper

Name of the newspaper, periodical or website

Example
The Grayzone
Stringsuggested
Titletitle

Title of the article

Stringsuggested
Datedate

Date in YYYY-MM-DD format

Example
2021-10-21
Datesuggested
URLurl

URL of the article

URLsuggested
Archive URLarchive-url

URL of the archived article

URLsuggested
Archive datearchive-date

Date of the archived URL

Datesuggested
Retrieved dateretrieved

Date the article has been retrieved

Datesuggested
Quotequote

Cites a quotation from the article

Stringsuggested