Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Cite web/doc: Difference between revisions

Template page
m (In table "Full parameter set in vertical format" +prerequisites for orig-date (date or year))
m (1 revision imported: en)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{pp-template}}</noinclude>
===Usage===
{{Documentation subpage}}
This template may be used to cite websites which are not serial publications (journals, magazines and newspapers) – for such sources, use {{tl|Cite journal}}.
{{High-use|all-pages=yes}}
{{AWB standard installation}}
{{csdoc|lua}}
{{csdoc|cs1}}
{{csdoc|lead|web sources that are not characterized by another [[Help:Citation Style 1|CS1]] template. Do not use this template in the "[[WP:ELCITE|External links]]" section of articles}}


==Usage==
===Template===
{{csdoc|usage}}
You may copy the sample templates below for use in other pages. Unused parameters can be omitted.
{{csdoc|usage common}}
For references with author credit
:<syntaxhighlight lang="wikitext" inline>{{cite web |url= |title= |last= |first= |date= |website= |publisher= |access-date= |quote=}}</syntaxhighlight>
For references without author credit
:<syntaxhighlight lang="wikitext" inline>{{cite web |url= |title= |author=<!--Not stated--> |date= |website= |publisher= |access-date= |quote=}}</syntaxhighlight>
{{end}}
{{csdoc|usage vertical common}}
<!-- Please synchronize this list with the corresponding one at the overview page [[Wikipedia:Citation templates#Examples]] -->
{{tj|cite web
  | url:
  | title:
  | last:
  | first:
  | date:
  | website:
  | publisher:
  | access-date:
  | quote:
}}
{{end}}
{{csdoc|usage full}}
:<syntaxhighlight lang="wikitext" inline>{{cite web |url= |url-access= |title= |last= |first= |author= |author-link= |last2= |first2= |author2= |author-link2= |date= |year= |orig-date= |editor-last= |editor-first= |editor= |editor-link= |editor-last2= |editor-first2= |editor-link2= |editors= |department= |website= |series= |publisher= |agency= |location= |page= |pages= |at= |language= |script-title= |trans-title= |type= |format= |arxiv= |asin= |bibcode= |doi= |doi-broken-date= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |access-date= |url-status= |archive-url= |archive-date= |via= |quote= |trans-quote= |ref= |postscript=}}</syntaxhighlight>
{{end}}
{{csdoc|usage vertical}}
<pre style="margin:0px; border:none; white-space:pre;">
{{cite web
| url          =
| url-access  =
| title        =
| last        =
| first        =
| author-link  =
| last2        =
| first2      =
| author-link2 =
| date        =
| year        =
| orig-date    =
| editor-last  =
| editor-first =
| editor-link  =
| editor2-last =
| editor2-first=
| editor2-link =
| department  =
| website      =
| series      =
| publisher    =
| agency      =
| location    =
| page        =
| pages       =
| at          =
| language    =
| script-title =
| trans-title  =
| type        =
| format      =
| arxiv        =
| asin        =
| bibcode      =
| doi          =
| doi-broken-date=
| isbn        =
| issn        =
| jfm          =
| jstor        =
| lccn        =
| mr          =
| oclc        =
| ol          =
| osti        =
| pmc          =
| pmid        =
| rfc          =
| ssrn        =
| zbl          =
| id          =
| access-date  =
| url-status  =
| archive-url  =
| archive-date =
| via          =
| quote        =
| ref          =
| postscript  = }}
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px; border:none; white-space:pre;">
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
last
&nbsp;
last
last2
&nbsp;
&nbsp;
&nbsp;
date or year
&nbsp;
editor-last
&nbsp;
editor-last
editor2-last
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
url
url, archive-url
url, archive-date
archive-url
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px; border:none; white-space:pre;">
&nbsp;
required
&nbsp;
required
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
</pre>
{{csdoc|usage vertical end}}


===Choosing between [[Template:cite web]] and [[Template:cite news]]<span class="anchor" id="Consistency"></span>===
;Common form for situations where no author of the web page is stated (with current date)
<code><nowiki>{{cite web |title= |url= |format= |work= |publisher= |date= |dateformat= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |postscript= }}</nowiki></code>


Before 2014, editors had to decide whether to use {{tl|cite web}} or {{tl|cite news}} based on their features. In 2014, {{em|most of}} the differences between the two templates were eliminated.
;Using the {{para|author}} parameter (with current date)
<code><nowiki>{{cite web |author= |authorlink= |coauthors= |editor= |editor-link= |coeditors= |editor-type= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |page= |pages= |language= |quote= |postscript= }}</nowiki></code>


As of {{diff|Module:Citation/CS1|732205428|723907342|29 July 2016}}, {{tlf|cite web}} and {{tlf|cite news}} have the following differences:
;Using the {{para|last}} and {{para|first}} parameters (with current date)
* {{tlf|cite news}} can be used for [[WP:OFFLINE|offline]] (paper) sources whereas {{tlf|cite web}} generates a missing URL error when no URL is provided
<code><nowiki>{{cite web |last= |first= |authorlink= |coauthors= |editor-last= |editor-first= |editor-link= |coeditors= |editor-type= |title= |url= |format= |archiveurl= |archivedate= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |page= |pages= |language= |quote= |postscript= }}</nowiki></code>
* {{tlf|cite news}} accepts {{para|issue}} and {{para|volume}} parameters while {{tlf|cite web}} does not (See {{slink|Help:Citation Style 1#Pages}}; see also {{tl|cite magazine}}).
But given the same set of valid parameters, their output is exactly the same:
<!-- ATTENTION!
The following example only serves to demonstrate parameter rending results.


Whether you must include all these parameters in actual articles is not a concern here.
;All parameters in a horizontal format (delete the ones you do not need)
-->
<code><nowiki>{{cite web |last= |first= |author= |authorlink= |coauthors= |editor-last= |editor-first= |editor= |editor-link= |coeditors= |editor-type= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate= |accessdaymonth= |accessmonthday= |accessyear= |page= |pages= |language= |quote= |postscript= }}</nowiki></code>
{|
| '''cite web''': || {{cite web |url=https://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/ |title=Microsoft envisions a universal OS, but it might not be called Windows |last=Silverman |first=Dwight |date=July 15, 2011 |work=Houston Chronicle |publisher=Hearst Corporation |access-date=May 26, 2015}}
|-
| '''cite news''': || {{cite news |url=https://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/ |title=Microsoft envisions a universal OS, but it might not be called Windows |last=Silverman |first=Dwight |date=July 15, 2011 |work=Houston Chronicle |publisher=Hearst Corporation |access-date=May 26, 2015}}
|}


==Examples==
;All parameters, vertical format
{{markup2|
<pre>{{cite web
|m=<nowiki>{{cite web
|last           =  
|url=https://www.example.org/
|first         =  
|title=My Favorite Things, Part II
|author        =  
|last=Doe
|authorlink    =  
|first=John
|coauthors      =  
|publisher=Open Publishing
|editor-last   =  
|date=April 30, 2005
|editor-first   =  
|website=Encyclopedia of Things
|editor        =  
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki>
|editor-link    =  
|r={{cite web
|coeditors      =  
|url=https://www.example.org/
|editor-type    =  
|title=My Favorite Things, Part II
|title         =  
|last=Doe
|url           =  
|first=John
|archiveurl    =  
|publisher=Open Publishing
|archivedate    =  
|date=April 30, 2005
|format        =  
|website=Encyclopedia of Things
|work          =  
|access-date={{date|{{date}}|mdy}}}}
|publisher      =  
}}
|date           =  
{{markup2|
|dateformat    =  
|m=<nowiki>{{cite web
|month          =
|url=https://www.example.org/
|year          =  
|title=My Favorite Things, Part II
|accessdate    =  
|last=Doe
|accessdaymonth =  
|first=John
|accessmonthday =  
|date=30 April 2005
|accessyear    =  
|website=Encyclopedia of Things
|page          =  
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|pages          =  
|r={{cite web
|language      =  
|url=https://www.example.org/
|quote          =  
|title=My Favorite Things, Part II
|postscript    =  
|last=Doe
}}</pre>
|first=John
|date=30 April 2005
|website=Encyclopedia of Things
|access-date={{date}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|date=2005-04-30
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|date=2005-04-30
|access-date={{date|{{date}}|iso}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|access-date={{date}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.example.org/
|title=My Favorite Things, Part II
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.example.org/
|title=My Favorite Things, Part II
|access-date={{date|{{date}}|iso}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=https://operations.nfl.com/the-rules/nfl-rules-digest/
|title=NFL Rules Digest
|website=NFL Football Operations
|publisher=[[National Football League]]
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://operations.nfl.com/the-rules/nfl-rules-digest/
|title=NFL Rules Digest
|website=NFL Football Operations
|publisher=[[National Football League]]
|access-date={{date|{{date}}|mdy}}}}
}}


===Using "format="===
===Parameters===
When this template detects a link whose URL includes an [[filename extension|extension]] of ".pdf" or ".PDF", typical of [[PDF]] files, it automatically displays a PDF icon after the link (regardless of whether the link goes to a PDF file or to an HTML landing page, typical of paysites). It also internally acts as if {{para|format|PDF}} had been specified, which displays " (PDF)" after the icon. (In this case, an explicit {{para|format|PDF}} parameter would be redundant, so it ''is not'' recommended to add it. Users may remove it. Citation bot, when invoked, will remove it. ([[User talk:Citation bot/Archive 13#Remove format=pdf and variants when URLs end in .pdf|ref]]))
All parameters are optional unless otherwise indicated.
<div style="width:auto; overflow:scroll">
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.indiapost.gov.in/Pdf/Customs/List_of_Psychotropic_Substances.pdf
|title=List of psychotropic substances under international control
|publisher=International Narcotics Control Board
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.indiapost.gov.in/Pdf/Customs/List_of_Psychotropic_Substances.pdf
|title=List of psychotropic substances under international control
|publisher=International Narcotics Control Board
|access-date={{date}}}}
}}
</div>


If the link is to a PDF file that ''is not'' automatically recognizable by its extension, this template does not display the PDF icon. You may add the parameter {{para|format|PDF}}, which displays " (PDF)" after the link (but no PDF icon).
{| class=wikitable
<div style="width:auto; overflow:scroll">
|-
{{markup2|
!Parameter
|m=<nowiki>{{cite web
!Description
|url=https://www.sample.com/somePDFdocument.000
|-
|title=Some PDF Document
|colspan=2 bgcolor=silver|'''Authors and editors'''
|publisher=Sample Int'l
|-
|format=PDF
|align=center|last
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|rowspan=2|The last and first names of the primary author of the web page. Alternatively, specify the primary author's name using {{para|author}}.
|r={{cite web
|-
|url=https://www.sample.com/somePDFdocument.000
|align=center|first
|title=Some PDF Document
|-
|publisher=Sample Int'l
|align=center|author
|format=PDF
|The primary author's name. Alternatively, specify the author's first and last names using {{para|first}} and {{para|last}}.
|access-date={{date}}}}
|-
}}
|align=center|authorlink
</div>
|The name of a Wikipedia article about the author, like this: "<code>:en:Mark Twain</code>" (for the article "{{w|Mark Twain}}" in the English Wikipedia) or "<code>:de:Friedrich Schiller</code>" (for the article "[[:de:Friedrich Schiller|Friedrich Schiller]]" in the German Wikipedia).
|-
|align=center|coauthors
|The name(s) of the co-author(s) of the web page. Names can be {{w|Help:Link#Wikilinks|wikilinked}}, if desired. Separate a series of names with semicolons, like this: "<code><nowiki>[[:en:Harry Woolf, Baron Woolf|Lord Woolf]]; Jeffrey Jowell; Andrew Le Sueur; Catherine M. Donnelly</nowiki></code>". (You may also link to an article at the English Wikipedia like this: "<code><nowiki>[[w:Mark Twain|Mark Twain]]</nowiki></code>" or "<code><nowiki>{{w|Mark Twain}}</nowiki></code>".)
|-
|align=center|editor-last
|rowspan=2|The last and first names of the primary editor of the web page. Alternatively, specify the primary editor's name using {{para|editor}}.
|-
|align=center|editor-first
|-
|align=center|editor
|The name of the editor of the web page. Alternatively, specify the editor's first and last names using {{para|editor-first}} and {{para|editor-last}}.
|-
|align=center|editor-link<br />editorlink
|The name of a Wikipedia article about the editor. For guidance on how to use this parameter, see {{para|authorlink}} above.
|-
|align=center|coeditors
|The name(s) of the coeditor(s) of the web page. For guidance on how to use this parameter, see {{para|coauthors}} above.
|-
|align=center|editor-type
|If you do not use this parameter, the template displays ", ed." after the editor's name and ", eds." if you specify the names of coeditors as well. To have the template display some other kind of indicator, such as "ed.-in-chief" (editor in chief) or "gen. ed." (general editor), use this parameter.
|-
|colspan=2 bgcolor=silver|'''Title'''
|-
|align=center|title
|'''Mandatory''': The title of the article.
|-
|align=center|url
|'''Mandatory''': The {{w|Universal Resource Locator|URL}} (Internet address) of the web page.
|-
|align=center|archiveurl
|The URL of the web page at which the original web page has been archived using a service such as the [https://archive.org Internet Archive] or [https://www.webcitation.org WebCite]. If you use this parameter, {{para|archivedate}} must be used as well.
|-
|align=center|archivedate
|The date when the original web page was archived. This parameter must be used together with {{para|archiveurl}}.
|-
|align=center|format
|The format of the document at the web page, such as "<code>DOC</code>" for a {{w|Microsoft Word}} document or "<code>PDF</code>" for a document in the {{w|Portable Document Format}}. It is not necessary to specify "<code>HTML</code>" as a web page is assumed to be in HTML if no format is specified.
|-
|align=center|accessdate
|The date when the web page on which the article appears was accessed.
|-
|align=center|accessdaymonth
|rowspan=3|The parameters {{para|accessdaymonth}}, {{para|accessmonthday}} and {{para|accessyear}} can be used instead of {{para|accessdate}}, like this:
*<code><nowiki>accessdaymonth=10 May</nowiki></code> and <code><nowiki>accessyear=2010</nowiki></code> produce "Retrieved on 10 May 2010".
*<code><nowiki>accessmonthday=May 10</nowiki></code> and <code><nowiki>accessyear=2010</nowiki></code> produce "Retrieved on May 10, 2010".
|-
|align=center|accessmonthday
|-
|align=center|accessyear
|-
|colspan=2 bgcolor=silver|'''Imprint'''
|-
|align=center|work
|The name of the website in which the web page appears. The name may be wikilinked, like this: "<code><nowiki>{{w|Singapore Infopedia}}</nowiki></code>" (for the English Wikipedia), "<code><nowiki>[[:fr:Wikipédia|Wikipédia]]</nowiki></code>".
|-
|align=center|publisher
|The name of the publisher of the journal. The name may be wikilinked.
|-
|align=center|date
|The date when the article appeared in the journal. It may be entered a format such as "<code>4 July 2010</code>", "<code>July 4, 2010</code>" or "<code>2010-07-04</code>". Alternatively, state just the month and year of publication or the year of publication alone using {{para|month}} and {{para|year}}.
|-
|align=center|dateformat
|If {{para|dateformat}} is not specified, readers who are logged in will see the date formatted according to their "Date format" preferences. Alternatively, one of the following date formats can be specified: "<code>dmy</code>", "<code>mdy</code>", "<code>ymd</code>" or "<code>{{w|ISO 8601#Calendar dates|ISO 8601}}</code>".
|-
|align=center|month
|rowspan=2|Use {{para|month}} and {{para|year}} to state the month and the year of the web page, or {{para|year}} alone to specify the year of publication. Alternatively, provide a full date using {{para|date}}.
|-
|align=center|year
|-
|colspan=2 bgcolor=silver|'''Other parameters'''
|-
|align=center|page
|rowspan=2|If the document at a web page has page numbers, use {{para|page}} to specify the first page number, or {{para|pages}} to specify the first and last page numbers. Separate a span of pages with an {{w|dash#En dash|en dash}}, like this: "<code>520–534</code>".


For links to files in other formats, no icon is displayed. For example, for an [[.odt]] file, you may add the parameter {{para|format|ODT}}, which displays " (ODT)" after the link.
For a PDF document, you can use {{para|page}} to link to a specific page within the document like this: "<code><nowiki>page=[http://www.example.org/file.pdf#page=123 123]</nowiki></code>".
<div style="width:auto; overflow:scroll">
|-
{{markup2|
|align=center|pages
|m=<nowiki>{{cite web
|-
|url=https://www.sample.com/someODTdocument.odt
|align=center|language
|title=Some ODT Document
|The language of the web page, wikilinked to a Wikipedia article if desired. It is not necessary to specify "<code>English</code>" as this it is assumed that a web page is in English if no language is specified.
|publisher=Sample Int'l
|-
|format=ODT
|align=center|quote
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|A quotation from the article.
|r={{cite web
|-
|url=https://www.sample.com/someODTdocument.odt
|align=center|postscript
|title=Some ODT Document
|By default, a {{w|full stop}} (period) is displayed at the end of the citation. To suppress the full stop, use "<code>postscript=no</code>". To specify a comma or some other punctuation mark, use "<code>postscript=,</code>". Colons and semicolons must be surrounded by <nowiki><nowiki></nowiki> tags, like this: "<code><nowiki>postscript=<nowiki>;</nowiki></nowiki></code>".
|publisher=Sample Int'l
|}
|format=ODT
|access-date={{date}}}}
}}
</div>


===Foreign language and translated title===
===Examples===
{{markup2|
{| class=wikitable
|m=<nowiki>{{cite web
|-
|url=https://www.example.org/
!width=50%|Wikitext
|title=Honi soit qui mal y pense
!width=50%|Result
|last=Joliet
|- valign=top
|first=François
|<code><nowiki>{{cite web |author=John Doe |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}</nowiki></code>
|date=30 April 2005
|{{cite web |author=John Doe |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
|access-date=</nowiki>{{date}}<nowiki>
|- valign=top
|language=fr
|<code><nowiki>{{cite web |last=Twain |first=Mark |authorlink=:en:Mark Twain |coauthors=Smith, Peter; Smythe, Jim |editor=Shakespeare, William, ed. |editorlink=:en:William Shakespeare |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=2005-04-30 |accessdate=2006-05-16}}</nowiki></code>
|trans-title=Shame on those who think evil of it}}</nowiki>
|{{cite web |last=Twain |first=Mark |authorlink=:en:Mark Twain |coauthors=Smith, Peter; Smythe, Jim |editor=Shakespeare, William, ed. |editorlink=:en:William Shakespeare |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=2005-04-30 |accessdate=2006-05-16}}
|r={{cite web
|- valign=top
|url=https://www.example.org/
|<code><nowiki>{{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |publisher=International Narcotics Control Board |accessdate=July 6, 2005}}</nowiki></code>
|title=Honi soit qui mal y pense
|{{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |publisher=International Narcotics Control Board |accessdate=July 6, 2005}}
|last=Joliet
|- valign=top
|first=François
|<code><nowiki>{{cite web |author=François Joliet |title=Honnit soit qui mal y pense |url=http://www.example.org |date=30 April 2005 |language={{w|French language|French}} |accessdate=6 July 2005}}</nowiki></code>
|date=30 April 2005
|{{cite web |author=François Joliet |title=Honnit soit qui mal y pense |url=http://www.example.org |date=30 April 2005 |language={{w|French language|French}} |accessdate=6 July 2005}}
|access-date={{date}}
|- valign=top
|language=fr
|<code><nowiki>{{cite web |title=My Favorite Things Part II |date=April 30, 2005 |url=http://www.example.org | accessdate=July 6, 2005}}</nowiki></code>
|trans-title=Shame on those who think evil of it}}
|{{cite web |title=My Favorite Things Part II |date=April 30, 2005 |url=http://www.example.org | accessdate=July 6, 2005}}
}}
|- valign=top
 
|<code><nowiki>{{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 |date=30 April 2005 |accessdate=6 July 2005}}</nowiki></code>
===Using author-link===
|{{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |archiveurl=https://archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 |date=30 April 2005 |accessdate=6 July 2005}}
{{markup2|
|- valign=top
|m=<nowiki>{{cite web
|<code><nowiki>{{cite web |title=My Favorite Things Part II |url=http://www.example.org |work=Encyclopedia of Things |accessdate=6 July 2005 |quote=Lorem ipsum dolor.}}</nowiki></code>
|url=https://www.example.org/
|{{cite web |title=My Favorite Things Part II |url=http://www.example.org |work=Encyclopedia of Things |accessdate=6 July 2005 |quote=Lorem ipsum dolor.}}
|title=My Favorite Things, Part II
|}
|last=Doe
|first=John
|author-link=John Doe
|publisher=Open Publishing
|date=April 30, 2005
|website=Encyclopedia of Things
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|author-link=John Doe
|publisher=Open Publishing
|date=April 30, 2005
|website=Encyclopedia of Things
|access-date={{date|{{date}}|mdy}}}}
}}
 
===Multiple authors===
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.example.org/
|title=Our Favourite Things
|last1=Doe
|first1=John
|last2=Smith
|first2=Peter
|last3=Smythe
|first3=Jim
|publisher=Open Publishing
|date=30 April 2005
|website=Encyclopaedia of Things
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.example.org/
|title=Our Favourite Things
|last1=Doe
|first1=John
|last2=Smith
|first2=Peter
|last3=Smythe
|first3=Jim
|publisher=Open Publishing
|date=30 April 2005
|website=Encyclopaedia of Things
|access-date={{date}}}}
}}
 
===No author===
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.example.org/
|title=Index of Sharp Things
|publisher=Open Publishing
|date=2005-04-30
|website=Encyclopedia of Things
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.example.org/
|title=Index of Sharp Things
|publisher=Open Publishing
|date=2005-04-30
|website=Encyclopedia of Things
|access-date={{date|{{date}}|iso}}}}
}}
 
===No author, no publisher===
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.example.org/
|title=Index of Sharp Things
|date=30 April 2005
|website=Encyclopedia of Things
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.example.org/
|title=Index of Sharp Things
|date=30 April 2005
|website=Encyclopedia of Things
|access-date={{date}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.example.org/
|title=Index of Sharp Things
|date=April 30, 2005
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.example.org/
|title=Index of Sharp Things
|date=April 30, 2005
|access-date={{date|{{date}}|mdy}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
|date=2005-04-30
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>
|language=el}}</nowiki>
|r={{cite web
|url=https://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
|date=2005-04-30
|access-date={{date|{{date}}|iso}}
|language=el}}
}}
 
===Using "archive-url" and "archive-date" (and optionally "url-status") for webpages that have been archived<span class="anchor" id="archive-url"></span>===
<div style="width:auto; overflow:scroll">By default, if "archive-url" is used, the parameter {{para|url-status|dead}} is assumed and the resulting main link is to the archived version:
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
|date=2005-04-30
|publisher=International Narcotics Control Board
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>
|archive-url=https://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf
|archive-date=2005-09-07}}</nowiki>
|r={{cite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
|date=2005-04-30
|publisher=International Narcotics Control Board
|access-date={{date|{{date}}|iso}}
|archive-url=https://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf
|archive-date=2005-09-07}}
}}
</div>
<div style="width:auto; overflow:scroll">When {{para|url-status|live}} is specified, the resulting main link is to the original page:
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.hollywoodreporter.com/heat-vision/dc-entertainment-give-classic-batman-824572
|title=DC Entertainment To Give Classic Batman Writer Credit in 'Gotham' and 'Batman v Superman' (Exclusive)
|website=The Hollywood Reporter
|date=September 18, 2015
|access-date=September 21, 2015
|url-status=live
|archive-url=https://web.archive.org/web/20151022181821/http://www.hollywoodreporter.com/heat-vision/dc-entertainment-give-classic-batman-824572
|archive-date=October 22, 2015}}</nowiki>
|r={{cite web
|url=https://www.hollywoodreporter.com/heat-vision/dc-entertainment-give-classic-batman-824572
|title=DC Entertainment To Give Classic Batman Writer Credit in 'Gotham' and 'Batman v Superman' (Exclusive)
|website=The Hollywood Reporter
|date=September 18, 2015
|access-date=September 21, 2015
|url-status=live
|archive-url=https://web.archive.org/web/20151022181821/http://www.hollywoodreporter.com/heat-vision/dc-entertainment-give-classic-batman-824572
|archive-date=October 22, 2015}}
}}
</div>
<div style="width:auto; overflow:scroll">With {{para|url-status|unfit}} or {{code|usurped}}, the original is not linked at all:
{{markup2|
|m=<nowiki>{{cite web
|url=http://www.wunderground.com/global/stations/03772.html
|title=London, United Kingdom Forecast: Weather Underground (weather and elevation at Heathrow Airport)
|publisher=The Weather Underground
|access-date=</nowiki>{{date}}<nowiki>
|url-status=unfit |archive-url=https://web.archive.org/web/20110522171657/http://www.wunderground.com/global/stations/03772.html |archive-date=22 May 2011}}</nowiki>
|r={{cite web
|url=http://www.wunderground.com/global/stations/03772.html
|title=London, United Kingdom Forecast: Weather Underground (weather and elevation at Heathrow Airport)
|publisher=The Weather Underground
|access-date={{date}}
|url-status=unfit |archive-url=https://web.archive.org/web/20110522171657/http://www.wunderground.com/global/stations/03772.html |archive-date=22 May 2011}}
}}
</div>
 
===Using quote===
<div style="width:auto; overflow:scroll">
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.webexhibits.org/daylightsaving/c.html
|title=Daylight saving time: rationale and original idea
|website=WebExhibits
|date=2008
|access-date=</nowiki>{{date}}<nowiki>
|quote=...&amp;nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&amp;nbsp;...'}}</nowiki>
|r={{cite web
|url=https://www.webexhibits.org/daylightsaving/c.html
|title=Daylight saving time: rationale and original idea
|website=WebExhibits
|date=2008
|access-date={{date}}
|quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...'}}
}}
</div>
 
==Parameters==
===Syntax===
{{csdoc|syntax}}
{{csdoc|sep_period}}
 
===COinS===
{{csdoc|coins}}
 
===What's new===
{{csdoc|whats new}}
 
===Deprecated===
{{csdoc|deprecated}}
 
===Description===
====Authors====
{{csdoc|author|others=yes}}
 
====Title====
{{csdoc|web}}
{{csdoc|type}}
{{csdoc|language}}
 
====Date====
{{csdoc|date}}
 
====Website====
{{csdoc|journal|issue=no}}
 
====Publisher====
{{csdoc|publisher|work=no|web=yes}}
{{csdoc|agency}}
 
====Series====
{{csdoc|series}}
 
====In-source locations====
{{csdoc|pages}}
 
====URL<span class="anchor" id="url"></span>====
{{csdoc|url}}
 
====Access-date<span class="anchor" id="access-date"></span>====
See {{slink||url}}.
<!-- does not exist: {{csdoc|Access-date}} -->
 
====Anchor====
{{distinguish|#Identifiers}}
{{csdoc|ref}}
 
====Identifiers====
{{distinguish|#Anchor}}
{{csdoc|id1}}
{{csdoc|id2}}
 
====Quote====
{{csdoc|quote}}
 
====Editors====
{{csdoc|editor}}
 
====Display options====
{{csdoc|display}}
 
====Subscription or registration required====
{{csdoc|registration}}
 
==TemplateData==
{{Warning |image=Stop hand nuvola.svg |This section contains configuration data used by editing tools and automated bots. Changes to this data can result in widespread and unintended effects. For more information see [[Help:Citation Style 1#TemplateData]]}}
{{TemplateData header}}
{{#invoke:cs1 documentation support|template_data_validate|{{ROOTPAGENAME}}}}
<templatedata>
{
"description": "Formats a citation to a website using the provided information such as URL and title. Used only for sources that are not correctly described by the specific citation templates for books, journals, news sources, etc.",
"params": {
"url": {
"label": "URL",
"description": "The URL of the online location where the text of the publication can be found. Requires schemes of the type \"https://...\" or maybe even the protocol relative scheme \"//...\"",
"type": "url",
"aliases": [
"URL"
],
"required": true,
"example": "https://www.metacritic.com//..."
},
"title": {
"label": "Title",
"description": "The title of the source page on the website; will display with quotation marks added. Usually found at the top of your web browser. Not the name of the website.",
"type": "string",
"required": true
},
"date": {
"label": "Source date",
"description": "Full date when the source was published; if unknown, use access-date instead; do not wikilink",
"type": "date",
"suggested": true
},
"access-date": {
"label": "URL access date",
"description": "The full date when the original URL was accessed; do not wikilink",
"type": "date",
"suggested": true,
"aliases": [
"accessdate"
]
},
"website": {
"label": "Name of the website",
"description": "Title (name) of the website (or its short URL if no plain-language title is discernible); may be wikilinked; will display in italics. Having both 'publisher' and 'website' is redundant in many cases.",
"type": "string",
"aliases": [
"work"
],
"suggested": true,
"example": "[[Rotten Tomatoes]]"
},
"publisher": {
"label": "Publisher",
"description": "Name of the publisher; may be wikilinked. Having both 'publisher' and 'website' (a.k.a. 'work') is redundant in many cases.",
"type": "string",
"example": "[[Fandom, Inc.]] (which owns \"Metacritic.com\")"
},
"last": {
"label": "Last name",
"description": "The surname of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors",
"aliases": [
"last1",
"author",
"author1",
"author1-last",
"author-last",
"surname1",
"author-last1",
"subject1",
"surname",
"author-last",
"subject"
],
"type": "line",
"suggested": true
},
"first": {
"label": "First name",
"description": "Given or first name, middle names, or initials of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors",
"aliases": [
"given",
"author-first",
"first1",
"given1",
"author-first1",
"author1-first"
],
"type": "line",
"suggested": true
},
"author-link": {
"label": "Author link",
"description": "Title of existing Wikipedia article about the author; can suffix with a numeral to add additional authors",
"type": "wiki-page-name",
"aliases": [
"author-link1",
"author1-link",
"subject-link",
"subject-link1",
"subject1-link",
"authorlink"
]
},
"last2": {
"label": "Last name 2",
"description": "The surname of the second author; don't wikilink, use 'author-link2'.",
"type": "line",
"aliases": [
"author2"
]
},
"first2": {
"label": "First name 2",
"type": "line",
"description": "Given or first name, middle names, or initials of the second author; don't wikilink."
},
"author-link2": {
"label": "Author link 2",
"description": "Title of existing Wikipedia article about the second author.",
"type": "wiki-page-name",
"aliases": [
"author2-link"
]
},
"others": {
"label": "Others",
"description": "Used to record other (non-author) contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith'. Only one ''others'' parameter is allowed: e.g., 'Illustrated by Jane Doe; Translated by John Smith'",
"type": "string"
},
"year": {
"label": "Year of publication",
"description": "Year of the source being referenced; deprecated in favor of 'date', except for the special case of ISO dates with disambiguating letter",
"type": "string"
},
"orig-date": {
"label": "Original date",
"description": "Original date of publication; provide specifics",
"type": "string"
},
"editor-last": {
"label": "Editor last name",
"description": "The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors.",
"type": "line",
"aliases": [
"editor1-last",
"editor"
]
},
"editor-first": {
"label": "Editor first name",
"description": "Given or first name, middle names, or initials of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-first'",
"type": "line",
"aliases": [
"editor1-first"
]
},
"editor-link": {
"label": "Editor link",
"description": "Title of existing Wikipedia article about the editor; can suffix with a numeral to add additional editors",
"aliases": [
"editor1-link"
],
"type": "wiki-page-name"
},
"series": {
"label": "Series identifier",
"description": "Series identifier when the source is part of a series, such as a book series or a journal",
"type": "string"
},
"publication-place": {
"label": "Place of publication",
"description": "Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at'",
"type": "string"
},
"publication-date": {
"label": "Publication date",
"description": "Date of publication when different from the date the work was written; do not wikilink",
"type": "date"
},
"page": {
"label": "Page",
"description": "Page in the source that supports the content; displays after 'p.'",
"type": "string"
},
"pages": {
"label": "Pages",
"description": "Pages in the source that support the content (not an indication of the number of pages in the source); displays after 'pp.'",
"type": "string"
},
"no-pp": {
"label": "No pp",
"description": "Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover')",
"type": "boolean",
"autovalue": "y"
},
"at": {
"label": "At",
"description": "May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient",
"type": "string"
},
"language": {
"label": "Language",
"description": "The language in which the source is written, if not English; use a two-letter language code or the full language name. Do not use icons or templates. Separate multiple languages with commas",
"type": "string",
"aliases": [
"lang"
],
"example": "de, fr, es"
},
"script-title": {
"label": "Script title",
"description": "For titles in languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc.). Prefix with two-character ISO639-1 language code followed by a colon. For Japanese use: |script-title=ja:...",
"type": "string"
},
"trans-title": {
"label": "Translated title",
"description": "An English language title, if the source cited is in a foreign language; 'language' is recommended",
"type": "string"
},
"type": {
"label": "Type",
"description": "Additional information about the media type of the source; format in sentence case",
"type": "string"
},
"format": {
"label": "Format",
"description": "Format of the work referred to by 'url'; examples: PDF, DOC, XLS; do not specify HTML",
"type": "string"
},
"arxiv": {
"label": "arXiv identifier",
"description": "An identifier for arXive electronic preprints of scientific papers",
"type": "string"
},
"asin": {
"label": "ASIN",
"description": "Amazon Standard Identification Number; 10 characters",
"type": "string"
},
"asin-tld": {
"label": "ASIN TLD",
"description": "ASIN top-level domain for Amazon sites other than the US",
"type": "string"
},
"bibcode": {
"label": "Bibcode",
"description": "Bibliographic Reference Code (REFCODE); 19 characters",
"type": "string"
},
"biorxiv": {
"label": "biorXiv",
"description": "biorXiv identifier; 6 digits",
"type": "line"
},
"citeseerx": {
"label": "CiteSeerX",
"description": "CiteSeerX identifier; found after the 'doi=' query parameter",
"type": "line"
},
"doi": {
"label": "DOI",
"description": "Digital Object Identifier; begins with '10.'",
"type": "string"
},
"doi-broken-date": {
"label": "DOI broken date",
"description": "The date that the DOI was determined to be broken",
"type": "date",
"autovalue": ""
},
"isbn": {
"label": "ISBN",
"description": "International Standard Book Number; use the 13-digit ISBN where possible",
"type": "string"
},
"issn": {
"label": "ISSN",
"description": "International Standard Serial Number; 8 characters; may be split into two groups of four using a hyphen",
"type": "string"
},
"jfm": {
"label": "jfm code",
"description": "Jahrbuch über die Fortschritte der Mathematik classification code",
"type": "string"
},
"jstor": {
"label": "JSTOR",
"description": "JSTOR identifier",
"type": "string"
},
"lccn": {
"label": "LCCN",
"description": "Library of Congress Control Number",
"type": "string"
},
"mr": {
"label": "MR",
"description": "Mathematical Reviews identifier",
"type": "string"
},
"oclc": {
"label": "OCLC",
"description": "Online Computer Library Center number",
"type": "string"
},
"ol": {
"label": "OL",
"description": "Open Library identifier",
"type": "string"
},
"osti": {
"label": "OSTI",
"description": "Office of Scientific and Technical Information identifier",
"type": "string"
},
"pmc": {
"label": "PMC",
"description": "PubMed Center article number",
"type": "string"
},
"pmid": {
"label": "PMID",
"description": "PubMed Unique Identifier",
"type": "string"
},
"rfc": {
"label": "RFC",
"description": "Request for Comments number",
"type": "string"
},
"ssrn": {
"label": "SSRN",
"description": "Social Science Research Network",
"type": "string"
},
"zbl": {
"label": "Zbl",
"description": "Zentralblatt MATH journal identifier",
"type": "string"
},
"id": {
"label": "id",
"description": "A unique identifier used where none of the specialized ones are applicable",
"type": "string"
},
"archive-url": {
"label": "Archive URL",
"description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'",
"type": "url",
"suggested": true,
"autovalue": "",
"aliases": [
"archiveurl"
]
},
"archive-date": {
"label": "Archive date",
"description": "Date when the original URL was archived; do not wikilink",
"type": "date",
"suggested": true,
"aliases": [
"archivedate"
]
},
"archive-format": {
"label": "Archive format",
"description": "Format of the archived copy; examples: PDF, DOC, XLS; do not specify HTML",
"type": "string"
},
"quote": {
"label": "Quote",
"description": "Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation",
"type": "string"
},
"trans-quote": {
"label": "Translated quote",
"description": "English translation of the quotation if the source quoted is in a foreign language. Displays in square brackets.",
"type": "string"
},
"ref": {
"label": "Ref",
"description": "An anchor identifier; can be made the target of wikilinks to full references",
"type": "string"
},
"postscript": {
"label": "Postscript",
"description": "The closing punctuation for the citation; ignored if 'quote' is defined",
"type": "string",
"default": "."
},
"author-mask": {
"label": "Author mask",
"description": "Replaces the name of the first author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead",
"type": "string"
},
"last3": {
"label": "Last name 3",
"description": "The surname of the third author; don't wikilink, use 'author-link3'.",
"type": "line",
"aliases": [
"author3"
]
},
"first3": {
"label": "First name 3",
"type": "line",
"description": "Given or first name, middle names, or initials of the third author; don't wikilink."
},
"author-link3": {
"label": "Author link 3",
"description": "Title of existing Wikipedia article about the third author.",
"type": "wiki-page-name",
"aliases": [
"author3-link"
]
},
"last4": {
"label": "Last name 4",
"description": "The surname of the fourth author; don't wikilink, use 'author-link4'.",
"type": "line",
"aliases": [
"author4"
]
},
"first4": {
"label": "First name 4",
"type": "line",
"description": "Given or first name, middle names, or initials of the fourth author; don't wikilink."
},
"author-link4": {
"label": "Author link 4",
"description": "Title of existing Wikipedia article about the fourth author.",
"type": "wiki-page-name",
"aliases": [
"author4-link"
]
},
"last5": {
"label": "Last name 5",
"description": "The surname of the fifth author; don't wikilink, use 'author-link5'.",
"type": "line",
"aliases": [
"author5"
]
},
"first5": {
"label": "First name 5",
"type": "line",
"description": "Given or first name, middle names, or initials of the fifth author; don't wikilink."
},
"author-link5": {
"label": "Author link 5",
"description": "Title of existing Wikipedia article about the fifth author.",
"type": "wiki-page-name",
"aliases": [
"author5-link"
]
},
"last6": {
"label": "Last name 6",
"description": "The surname of the sixth author; don't wikilink, use 'author-link6'.",
"type": "line",
"aliases": [
"author6"
]
},
"first6": {
"label": "First name 6",
"description": "Given or first name, middle names, or initials of the sixth author; don't wikilink.",
"type": "line"
},
"author-link6": {
"label": "Author link 6",
"description": "Title of existing Wikipedia article about the sixth author.",
"type": "wiki-page-name",
"aliases": [
"author6-link"
]
},
"last7": {
"label": "Last name 7",
"description": "The surname of the seventh author; don't wikilink, use 'author-link7'.",
"type": "line",
"aliases": [
"author7"
]
},
"first7": {
"label": "First name 7",
"type": "line",
"description": "Given or first name, middle names, or initials of the seventh author; don't wikilink."
},
"author-link7": {
"label": "Author link 7",
"description": "Title of existing Wikipedia article about the seventh author.",
"type": "wiki-page-name",
"aliases": [
"author7-link"
]
},
"last8": {
"label": "Last name 8",
"description": "The surname of the eighth author; don't wikilink, use 'author-link8'.",
"type": "line",
"aliases": [
"author8"
]
},
"first8": {
"label": "First name 8",
"type": "line",
"description": "Given or first name, middle names, or initials of the eighth author; don't wikilink."
},
"author-link8": {
"label": "Author link 8",
"description": "Title of existing Wikipedia article about the eighth author.",
"type": "wiki-page-name",
"aliases": [
"author8-link"
]
},
"last9": {
"label": "Last name 9",
"description": "The surname of the ninth author; don't wikilink, use 'author-link9'.",
"type": "line",
"aliases": [
"author9"
]
},
"first9": {
"label": "First name 9",
"type": "line",
"description": "Given or first name, middle names, or initials of the ninth author; don't wikilink."
},
"author-link9": {
"label": "Author link 9",
"description": "Title of existing Wikipedia article about the ninth author.",
"type": "wiki-page-name",
"aliases": [
"author9-link"
]
},
"display-authors": {
"label": "Display authors",
"description": "Number of authors to display before 'et al.' is used. By default, all authors are displayed. Examples: |display-authors=2 will display only the first two authors in a citation followed by et al. |display-authors=etal displays all authors in the list followed by et al.",
"type": "string"
},
"name-list-style": {
"label": "Name list style",
"description": "Set to 'amp' or 'and' to change the separator between the last two names of the name list to ' & ' or ' and ', respectively. Set to 'vanc' to display name lists in Vancouver style.",
"type": "string",
"suggestedvalues": [
"amp",
"and",
"vanc"
]
},
"editor2-last": {
"label": "Editor last name 2",
"description": "The surname of the second editor; don't wikilink, use 'editor2-link'.",
"aliases": [
"editor2"
],
"type": "line"
},
"editor2-first": {
"label": "Editor first name 2",
"description": "Given or first name, middle names, or initials of the second editor; don't wikilink.",
"type": "line"
},
"editor3-last": {
"label": "Editor last name 3",
"description": "The surname of the third editor; don't wikilink, use 'editor3-link'.",
"aliases": [
"editor3"
],
"type": "line"
},
"editor3-first": {
"label": "Editor first name 3",
"description": "Given or first name, middle names, or initials of the third editor; don't wikilink.",
"type": "line"
},
"editor4-last": {
"label": "Editor last name 4",
"description": "The surname of the fourth editor; don't wikilink, use 'editor4-link'.",
"aliases": [
"editor4"
],
"type": "line"
},
"editor4-first": {
"label": "Editor first name 4",
"description": "Given or first name, middle names, or initials of the fourth editor; don't wikilink.",
"type": "line"
},
"editor5-last": {
"label": "Editor last name 5",
"description": "The surname of the fifth editor; don't wikilink, use 'editor5-link'.",
"aliases": [
"editor5"
],
"type": "line"
},
"editor5-first": {
"label": "Editor first name 5",
"description": "Given or first name, middle names, or initials of the fifth editor; don't wikilink.",
"type": "line"
},
"editor6-last": {
"label": "Editor last name 6",
"description": "The surname of the sixth editor; don't wikilink, use 'editor6-link'.",
"aliases": [
"editor6"
],
"type": "line"
},
"editor6-first": {
"label": "Editor first name 6",
"description": "Given or first name, middle names, or initials of the sixth editor; don't wikilink.",
"type": "line"
},
"editor7-last": {
"label": "Editor last name 7",
"description": "The surname of the seventh editor; don't wikilink, use 'editor7-link'.",
"aliases": [
"editor7"
],
"type": "line"
},
"editor7-first": {
"label": "Editor first name 7",
"description": "Given or first name, middle names, or initials of the seventh editor; don't wikilink.",
"type": "line"
},
"editor8-last": {
"label": "Editor last name 8",
"description": "The surname of the eighth editor; don't wikilink, use 'editor8-link'.",
"aliases": [
"editor8"
],
"type": "line"
},
"editor8-first": {
"label": "Editor first name 8",
"description": "Given or first name, middle names, or initials of the eighth editor; don't wikilink.",
"type": "line"
},
"editor9-last": {
"label": "Editor last name 9",
"description": "The surname of the ninth editor; don't wikilink, use 'editor9-link'.",
"aliases": [
"editor9"
],
"type": "line"
},
"editor9-first": {
"label": "Editor first name 9",
"description": "Given or first name, middle names, or initials of the ninth editor; don't wikilink.",
"type": "line"
},
"editor2-link": {
"label": "Editor link 2",
"description": "Title of existing Wikipedia article about the second editor.",
"type": "wiki-page-name"
},
"editor3-link": {
"label": "Editor link 3",
"description": "Title of existing Wikipedia article about the third editor.",
"type": "wiki-page-name"
},
"editor4-link": {
"label": "Editor link 4",
"description": "Title of existing Wikipedia article about the fourth editor.",
"type": "wiki-page-name"
},
"editor5-link": {
"label": "Editor link 5",
"description": "Title of existing Wikipedia article about the fifth editor.",
"type": "wiki-page-name"
},
"editor6-link": {
"label": "Editor link 6",
"description": "Title of existing Wikipedia article about the sixth editor.",
"type": "wiki-page-name"
},
"editor7-link": {
"label": "Editor link 7",
"description": "Title of existing Wikipedia article about the seventh editor.",
"type": "wiki-page-name"
},
"editor8-link": {
"label": "Editor link 8",
"description": "Title of existing Wikipedia article about the eighth editor.",
"type": "wiki-page-name"
},
"editor9-link": {
"label": "Editor link 9",
"description": "Title of existing Wikipedia article about the ninth editor.",
"type": "wiki-page-name"
},
"edition": {
"label": "Edition",
"type": "line",
"description": "Specify the edition or revision of the source, when applicable. For example: '2nd' or '5.1'. What you supply here is suffixed by ' ed.'",
"example": "2nd"
},
"url-access": {
"label": "URL access level",
"description": "Classification of the access restrictions on the URL ('registration', 'subscription' or 'limited')",
"type": "string",
"suggestedvalues": [
"registration",
"subscription",
"limited"
]
},
"bibcode-access": {
"label": "Bibcode access level",
"description": "If the full text is available from ADS via this Bibcode, type 'free'.",
"type": "string",
"autovalue": "free"
},
"doi-access": {
"label": "DOI access level",
"description": "If the full text is free to read via the DOI, type 'free'.",
"type": "string",
"autovalue": "free"
},
"hdl-access": {
"label": "HDL access level",
"description": "If the full text is free to read via the HDL, type 'free'.",
"type": "string",
"autovalue": "free"
},
"jstor-access": {
"label": "Jstor access level",
"description": "If the full text is free to read on Jstor, type 'free'.",
"type": "string",
"autovalue": "free"
},
"ol-access": {
"label": "OpenLibrary access level",
"description": "If the full text is free to read on OpenLibrary, type 'free'.",
"type": "string",
"autovalue": "free"
},
"osti-access": {
"label": "OSTI access level",
"description": "If the full text is free to read on OSTI, type 'free'.",
"type": "string",
"autovalue": "free"
},
"authors": {
"label": "Authors list",
"description": "List of authors as a free form list. This parameter is deprecated, use \"lastn\" or \"firstn\" (preferred) or \"authorn\" or \"vauthors\". Warning: do not use if last or any of its aliases are used.",
"type": "string",
"deprecated": true
},
"via": {
"label": "Published via",
"description": "Name of the entity hosting the original copy of the work, if different from the publisher. This entity is committed not to alter the work.",
"example": "[[GitHub]], [[SourceForge]], [[CodePlex]], [[YouTube]], [[Vimeo]], [[Dailymotion]], [[Netflix]], [[Archive.org]], [[Wikimedia Commons]], [[grc.com]]",
"type": "string"
},
"url-status": {
"label": "URL status",
"description": "If set to 'live', the title display is adjusted; useful for when the URL is archived preemptively but still live. Set to \"dead\" or 'usurped' for broken links. Entering 'unfit' or 'usurped' makes the original link not appear at all.",
"example": "'dead' or 'live'",
"type": "string",
"default": "'dead' if an Archive URL is entered",
"suggested": true,
"suggestedvalues": [
"dead",
"live",
"usurped",
"unfit",
"deviated"
]
},
"agency": {
"label": "Agency",
"description": "The news agency (wire service) that provided the content; examples: Associated Press, Reuters, Agence France-Presse",
"type": "string"
},
"place": {
"label": "Place",
"description": "For news stories with a dateline, the location where the story was written; will be treated as the publication place if publication place is absent; alias of 'location'",
"type": "string"
}
},
"maps": {
"citoid": {
"title": "title",
"url": "url",
"subject": "title",
"publicationTitle": "website",
"blogTitle": "website",
"forumTitle": "website",
"seriesTitle": "website",
"websiteTitle": "website",
"publisher": "publisher",
"date": "date",
"PMCID": "pmc",
"PMID": "pmid",
"oclc": "oclc",
"pages": "pages",
"series": "series",
"accessDate": "access-date",
"DOI": "doi",
"language": "language",
"contributor": "others",
"author": [
[
"first",
"last"
],
[
"first2",
"last2"
],
[
"first3",
"last3"
],
[
"first4",
"last4"
],
[
"first5",
"last5"
],
[
"first6",
"last6"
],
[
"first7",
"last7"
],
[
"first8",
"last8"
],
[
"first9",
"last9"
]
],
"editor": [
[
"editor-first",
"editor-last"
],
[
"editor2-first",
"editor2-last"
],
[
"editor3-first",
"editor3-last"
],
[
"editor4-first",
"editor4-last"
],
[
"editor5-first",
"editor5-last"
],
[
"editor6-first",
"editor6-last"
],
[
"editor7-first",
"editor7-last"
],
[
"editor8-first",
"editor8-last"
],
[
"editor9-first",
"editor9-last"
]
]
}
},
"paramOrder": [
"last",
"first",
"author-link",
"last2",
"first2",
"author-link2",
"last3",
"first3",
"author-link3",
"last4",
"first4",
"author-link4",
"last5",
"first5",
"author-link5",
"last6",
"first6",
"author-link6",
"last7",
"first7",
"author-link7",
"last8",
"first8",
"author-link8",
"last9",
"first9",
"author-link9",
"authors",
"author-mask",
"display-authors",
"name-list-style",
"date",
"year",
"orig-date",
"editor-last",
"editor-first",
"editor-link",
"editor2-last",
"editor2-first",
"editor2-link",
"editor3-last",
"editor3-first",
"editor3-link",
"editor4-last",
"editor4-first",
"editor4-link",
"editor5-last",
"editor5-first",
"editor5-link",
"editor6-last",
"editor6-first",
"editor6-link",
"editor7-last",
"editor7-first",
"editor7-link",
"editor8-last",
"editor8-first",
"editor8-link",
"editor9-last",
"editor9-first",
"editor9-link",
"others",
"title",
"script-title",
"trans-title",
"url",
"url-access",
"url-status",
"archive-url",
"archive-date",
"archive-format",
"access-date",
"website",
"series",
"publisher",
"place",
"page",
"pages",
"at",
"language",
"type",
"format",
"publication-place",
"publication-date",
"via",
"no-pp",
"arxiv",
"asin",
"asin-tld",
"bibcode",
"biorxiv",
"citeseerx",
"doi",
"doi-broken-date",
"isbn",
"issn",
"jfm",
"jstor",
"lccn",
"mr",
"oclc",
"ol",
"osti",
"pmc",
"pmid",
"rfc",
"ssrn",
"zbl",
"id",
"quote",
"trans-quote",
"ref",
"postscript",
"edition",
"bibcode-access",
"doi-access",
"hdl-access",
"jstor-access",
"ol-access",
"osti-access",
"agency"
],
"format": "{{_ |_=_}}"
}
</templatedata>
 
==Notes==
{{Reflist}}
{{Citation Style 1}}
{{Wikipedia referencing}}
{{UF-COinS}}


<includeonly>{{Sandbox other||


[[Category:Citation Style 1 templates|W]]


}}</includeonly>
<!-- ADD INTERWIKIS ON WIKIDATA AND CATEGORIES HERE.-->
<includeonly>
[[Category:Citation templates|{{PAGENAME}}]]
</includeonly>

Latest revision as of 08:09, 13 June 2024

Usage[edit source]

This template may be used to cite websites which are not serial publications (journals, magazines and newspapers) – for such sources, use {{Cite journal}}.

Template[edit source]

You may copy the sample templates below for use in other pages. Unused parameters can be omitted.

Common form for situations where no author of the web page is stated (with current date)

{{cite web |title= |url= |format= |work= |publisher= |date= |dateformat= |accessdate=16 October 2024 |postscript= }}

Using the |author= parameter (with current date)

{{cite web |author= |authorlink= |coauthors= |editor= |editor-link= |coeditors= |editor-type= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=16 October 2024 |page= |pages= |language= |quote= |postscript= }}

Using the |last= and |first= parameters (with current date)

{{cite web |last= |first= |authorlink= |coauthors= |editor-last= |editor-first= |editor-link= |coeditors= |editor-type= |title= |url= |format= |archiveurl= |archivedate= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=16 October 2024 |page= |pages= |language= |quote= |postscript= }}

All parameters in a horizontal format (delete the ones you do not need)

{{cite web |last= |first= |author= |authorlink= |coauthors= |editor-last= |editor-first= |editor= |editor-link= |coeditors= |editor-type= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate= |accessdaymonth= |accessmonthday= |accessyear= |page= |pages= |language= |quote= |postscript= }}

All parameters, vertical format
{{cite web
|last           = 
|first          = 
|author         = 
|authorlink     = 
|coauthors      = 
|editor-last    = 
|editor-first   = 
|editor         = 
|editor-link    = 
|coeditors      = 
|editor-type    = 
|title          = 
|url            = 
|archiveurl     = 
|archivedate    = 
|format         = 
|work           = 
|publisher      = 
|date           = 
|dateformat     = 
|month          =
|year           = 
|accessdate     = 
|accessdaymonth = 
|accessmonthday = 
|accessyear     = 
|page           = 
|pages          = 
|language       = 
|quote          = 
|postscript     = 
}}

Parameters[edit source]

All parameters are optional unless otherwise indicated.

Parameter Description
Authors and editors
last The last and first names of the primary author of the web page. Alternatively, specify the primary author's name using |author=.
first
author The primary author's name. Alternatively, specify the author's first and last names using |first= and |last=.
authorlink The name of a Wikipedia article about the author, like this: ":en:Mark Twain" (for the article "Mark Twain" in the English Wikipedia) or ":de:Friedrich Schiller" (for the article "Friedrich Schiller" in the German Wikipedia).
coauthors The name(s) of the co-author(s) of the web page. Names can be wikilinked, if desired. Separate a series of names with semicolons, like this: "[[:en:Harry Woolf, Baron Woolf|Lord Woolf]]; Jeffrey Jowell; Andrew Le Sueur; Catherine M. Donnelly". (You may also link to an article at the English Wikipedia like this: "[[w:Mark Twain|Mark Twain]]" or "{{w|Mark Twain}}".)
editor-last The last and first names of the primary editor of the web page. Alternatively, specify the primary editor's name using |editor=.
editor-first
editor The name of the editor of the web page. Alternatively, specify the editor's first and last names using |editor-first= and |editor-last=.
editor-link
editorlink
The name of a Wikipedia article about the editor. For guidance on how to use this parameter, see |authorlink= above.
coeditors The name(s) of the coeditor(s) of the web page. For guidance on how to use this parameter, see |coauthors= above.
editor-type If you do not use this parameter, the template displays ", ed." after the editor's name and ", eds." if you specify the names of coeditors as well. To have the template display some other kind of indicator, such as "ed.-in-chief" (editor in chief) or "gen. ed." (general editor), use this parameter.
Title
title Mandatory: The title of the article.
url Mandatory: The URL (Internet address) of the web page.
archiveurl The URL of the web page at which the original web page has been archived using a service such as the Internet Archive or WebCite. If you use this parameter, |archivedate= must be used as well.
archivedate The date when the original web page was archived. This parameter must be used together with |archiveurl=.
format The format of the document at the web page, such as "DOC" for a Microsoft Word document or "PDF" for a document in the Portable Document Format. It is not necessary to specify "HTML" as a web page is assumed to be in HTML if no format is specified.
accessdate The date when the web page on which the article appears was accessed.
accessdaymonth The parameters |accessdaymonth=, |accessmonthday= and |accessyear= can be used instead of |accessdate=, like this:
  • accessdaymonth=10 May and accessyear=2010 produce "Retrieved on 10 May 2010".
  • accessmonthday=May 10 and accessyear=2010 produce "Retrieved on May 10, 2010".
accessmonthday
accessyear
Imprint
work The name of the website in which the web page appears. The name may be wikilinked, like this: "{{w|Singapore Infopedia}}" (for the English Wikipedia), "[[:fr:Wikipédia|Wikipédia]]".
publisher The name of the publisher of the journal. The name may be wikilinked.
date The date when the article appeared in the journal. It may be entered a format such as "4 July 2010", "July 4, 2010" or "2010-07-04". Alternatively, state just the month and year of publication or the year of publication alone using |month= and |year=.
dateformat If |dateformat= is not specified, readers who are logged in will see the date formatted according to their "Date format" preferences. Alternatively, one of the following date formats can be specified: "dmy", "mdy", "ymd" or "ISO 8601".
month Use |month= and |year= to state the month and the year of the web page, or |year= alone to specify the year of publication. Alternatively, provide a full date using |date=.
year
Other parameters
page If the document at a web page has page numbers, use |page= to specify the first page number, or |pages= to specify the first and last page numbers. Separate a span of pages with an en dash, like this: "520–534".

For a PDF document, you can use |page= to link to a specific page within the document like this: "page=[http://www.example.org/file.pdf#page=123 123]".

pages
language The language of the web page, wikilinked to a Wikipedia article if desired. It is not necessary to specify "English" as this it is assumed that a web page is in English if no language is specified.
quote A quotation from the article.
postscript By default, a full stop (period) is displayed at the end of the citation. To suppress the full stop, use "postscript=no". To specify a comma or some other punctuation mark, use "postscript=,". Colons and semicolons must be surrounded by <nowiki> tags, like this: "postscript=<nowiki>;</nowiki>".

Examples[edit source]

Wikitext Result
{{cite web |author=John Doe |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}} John Doe (30 April 2005). My Favorite Things Part II. Encyclopedia of Things. Open Publishing. Retrieved on 6 July 2005.
{{cite web |last=Twain |first=Mark |authorlink=:en:Mark Twain |coauthors=Smith, Peter; Smythe, Jim |editor=Shakespeare, William, ed. |editorlink=:en:William Shakespeare |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=2005-04-30 |accessdate=2006-05-16}} Twain, Mark; Smith, Peter; Smythe, Jim; Shakespeare, William, ed., ed. (2005-04-30). My Favorite Things Part II. Open Publishing. Retrieved on 2006-05-16.
{{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |publisher=International Narcotics Control Board |accessdate=July 6, 2005}} List of psychotropic substances under international control (PDF). International Narcotics Control Board. Retrieved on July 6, 2005.
{{cite web |author=François Joliet |title=Honnit soit qui mal y pense |url=http://www.example.org |date=30 April 2005 |language={{w|French language|French}} |accessdate=6 July 2005}} François Joliet (30 April 2005). Honnit soit qui mal y pense (in French). Retrieved on 6 July 2005.
{{cite web |title=My Favorite Things Part II |date=April 30, 2005 |url=http://www.example.org | accessdate=July 6, 2005}} My Favorite Things Part II (April 30, 2005). Retrieved on July 6, 2005.
{{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 |date=30 April 2005 |accessdate=6 July 2005}} List of psychotropic substances under international control (PDF) (30 April 2005). Archived from the original on 11 September 2005. Retrieved on 6 July 2005.
{{cite web |title=My Favorite Things Part II |url=http://www.example.org |work=Encyclopedia of Things |accessdate=6 July 2005 |quote=Lorem ipsum dolor.}} My Favorite Things Part II. Encyclopedia of Things. Retrieved on 6 July 2005. "Lorem ipsum dolor."