Template:Cite web: Difference between revisions
(Added archive-page param for citing pages archived on the wiki. May want to make the date params optional as they are less necessary when citing another wiki page.) |
(Introduce 'quote' parameter for the inclusion of quotes.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
"{{#if:{{{archive-page|}}}|[[{{{archive-page}}}|{{{title}}}]]|[{{{archive-url|{{{url}}}}}} {{{title}}}]}}", {{{website}}}, accessed {{{access-date}}}. {{#if:{{{archive-url|{{{archive-page|}}}}}}|Archived from [{{{url}}} the original] on {{{archive-date}}}.}}<noinclude>{{documentation}}</noinclude> | {{#if:{{{author|}}}|{{{author|}}}.}} "{{#if:{{{archive-page|}}}|[[{{{archive-page}}}|{{{title}}}]]|[{{{archive-url|{{{url}}}}}} {{{title}}}]}}", {{{website}}}{{#if:{{{published|}}}|, {{{published|}}}}}, accessed {{{access-date}}}. {{#if:{{{archive-url|{{{archive-page|}}}}}}|Archived from [{{{url}}} the original] on {{{archive-date}}}.}}{{#if:{{{quote|}}}| "{{{quote}}}"}}<noinclude>{{documentation}} [[Category:Citation templates]]</noinclude> |
Latest revision as of 07:18, 3 December 2024
"[{{{url}}} {{{title}}}]", {{{website}}}, accessed {{{access-date}}}.
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 |
Publishing date | published | The date when the page was published, if known.
| Date | optional |
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 |
Quote | quote | An optional quote from the source material that is relevant to the fact or claim being cited. | String | optional |
The above documentation is transcluded from Template:Cite web/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |