Template:Cite web: Difference between revisions

From Guild of Archivists
(Added params for author and publishing date, for e. g. articles and blog posts)
m (Fix publishing date param name)
Line 1: Line 1:
{{#if:{{{author|}}}|{{{author|}}}.}} "{{#if:{{{archive-page|}}}|[[{{{archive-page}}}|{{{title}}}]]|[{{{archive-url|{{{url}}}}}} {{{title}}}]}}", {{{website}}}{{#if:{{{date|}}}|, {{{date|}}}}}, 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}}}.}}<noinclude>{{documentation}}</noinclude>

Revision as of 21:11, 20 August 2021

"[{{{url}}} {{{title}}}]", {{{website}}}, accessed {{{access-date}}}.

Template documentation[view] [edit] [history] [purge]

This template is a way to ensure that web pages are cited using the appropriate citation formatting.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
URLurl

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.

Example
http://drcsite.org/home.php
URLrequired
Page titletitle

The title of the cited web page.

Example
D'ni Restoration Council - Welcome
Stringrequired
Authorauthor

The author of the page, if known/attributed, e. g. for articles or blog posts.

Example
Victor Laxman
Stringoptional
Website namewebsite

The name of the website to which the cited page belongs.

Example
DRC Site
Stringrequired
Publishing datepublished

The date when the page was published, if known.

Example
April 02, 2004
Dateoptional
Access dateaccess-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.

Example
November 28, 2020
Stringrequired
Archive URLarchive-url

The URL of an archived version of the web page. Use if the original page is no longer available.

Example
https://web.archive.org/web/20100420005638/http://drcsite.org/home.php
URLoptional
Archive reference page namearchive-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.

Example
Reference:DRC, restoration progress updates
Page nameoptional
Archival datearchive-date

The date on which the page was archived. Required if archive-url or archive-page is given.

Example
April 20, 2010
Stringoptional