Template:Cite web/doc: Difference between revisions
(Documented new archive-page param) |
(Added params for author and publishing date, for e. g. articles and blog posts) |
||
Line 16: | Line 16: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"author": { | |||
"label": "Author", | |||
"description": "The author of the page, if known/attributed, e. g. for articles or blog posts.", | |||
"example": "Victor Laxman", | |||
"type": "string" | |||
}, | }, | ||
"website": { | "website": { | ||
Line 48: | Line 54: | ||
"example": "April 20, 2010", | "example": "April 20, 2010", | ||
"type": "string" | "type": "string" | ||
}, | |||
"published": { | |||
"label": "Publishing date", | |||
"description": "The date when the page was published, if known.", | |||
"example": "April 02, 2004", | |||
"type": "date" | |||
} | } | ||
}, | }, |
Revision as of 21:08, 20 August 2021
This template is a way to ensure that web pages are cited using the appropriate citation formatting.
Parameter | Description | Type | Status | |
---|---|---|---|---|
URL | url | The URL of the cited web page. This should always be the page's original URL, even if it is no longer available - the URL of an archived copy can be provided in the archive-url parameter.
| URL | required |
Page title | title | The title of the cited web page.
| String | required |
Author | author | The author of the page, if known/attributed, e. g. for articles or blog posts.
| String | optional |
Website name | website | The name of the website to which the cited page belongs.
| String | required |
Access date | access-date | The date on which the page was accessed. If archive-url is used, this should be the date on which the archived copy was accessed - the date on which the page was archived can be provided in the archive-date parameter.
| String | required |
Archive URL | archive-url | The URL of an archived version of the web page. Use if the original page is no longer available.
| URL | optional |
Archive reference page name | archive-page | The name of a reference page on the wiki containing a copy of the web page's content. Use if the original page is no longer available and its content has been archived on the wiki.
| Page name | optional |
Archival date | archive-date | The date on which the page was archived. Required if archive-url or archive-page is given.
| String | optional |
Publishing date | published | The date when the page was published, if known.
| Date | optional |