Template:Web citation: Difference between revisions

Template page
mNo edit summary
m (Using onlyinclude tags)
 
(9 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
},
"date": {
"date": {
"label": "Date",
"label": "Date",
"type": "date",
"type": "date",
"suggested": true
"suggested": true,
"description": "Date in YYYY-MM-DD format",
"example": "2021-10-21"
},
},
"title": {
"title": {
"label": "Title",
"label": "Title",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"description": "Title of the article"
},
},
"url": {
"url": {
"label": "URL",
"label": "URL",
"type": "url",
"type": "url",
"suggested": true
"suggested": true,
"description": "URL of the article"
},
},
"newspaper": {
"newspaper": {
"label": "Newspaper",
"label": "Newspaper or website name",
"type": "string"
"type": "string",
"suggested": true,
"description": "Name of the newspaper, periodical or website",
"example": "The Grayzone"
},
},
"archive-url": {
"archive-url": {
"label": "Archive URL",
"label": "Archive URL",
"type": "url",
"type": "url",
"suggested": true
"suggested": true,
"description": "URL of the archived article"
},
},
"archive-date": {
"archive-date": {
"label": "Archive date",
"label": "Archive date",
"type": "date",
"type": "date",
"suggested": true
"suggested": true,
"description": "Date of the archived URL"
},
},
"retrieved": {
"retrieved": {
"label": "Retrieved date",
"label": "Retrieved date",
"type": "date",
"type": "date",
"suggested": true,
"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
"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