Template:Cite web/doc: Difference between revisions

Waki285 (talk | contribs)
missed import from https://en.wikipedia.org/w/index.php?title=Template:Cite_web/doc&oldid=1294484191
Tag: Manual revert
Waki285 (talk | contribs)
delete many
 
Line 1: Line 1:
<noinclude>{{pp-template}}</noinclude>
<noinclude>{{pp-template}}</noinclude>
{{Documentation subpage}}
{{High-use}}
{{cascade-protected template}}
{{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 ==
{{csdoc|usage}}
{{csdoc|usage common}}
;To cite a web page with a credited author
<syntaxhighlight lang="wikitext" copy="1">{{cite web |last= |first= |date= |title= |url= |website= |location= |publisher= |access-date=}}</syntaxhighlight>
;To cite a web page with no credited author
<syntaxhighlight lang="wikitext" copy="1">{{cite web |author=<!-- not stated --> |date= |title= |url= |website= |location= |publisher= |access-date=}}</syntaxhighlight>
;To cite an online web page that has been archived
<syntaxhighlight lang="wikitext" copy="1">{{cite web |last= |first= |date= |title= |url= |website= |location= |publisher= |url-status= |archive-url= |archive-date= |access-date=}}</syntaxhighlight>
;To cite a web page written in a foreign language
<syntaxhighlight lang="wikitext" copy="1">{{cite web |last= |first= |date= |title= |url= |trans-title= |website= |language= |location= |publisher= |access-date=}}</syntaxhighlight>
;To cite and quote an archived, two-author, foreign language web page re-published as a PDF on an information aggregation service requiring a subscription
<syntaxhighlight lang="wikitext" copy="1">{{cite web |last1= |first1= |last2= |first2= |date= |title= |url= |url-access= |trans-title= |format= |website= |language= |location= |publisher= |url-status= |archive-url= |archive-date= |access-date= |via= |quote=}}</syntaxhighlight>
{{end}}
{{csdoc|usage full}}
<syntaxhighlight lang="wikitext" copy="1">{{cite web |last1= |first1= |author-link1= |last2= |first2= |author-link2= |display-authors= |author-mask1= |author-mask2= |collaboration= |df= |date= |year= |orig-date= |orig-year= |location= |editor-last1= |editor-first1= |editor-link1= |editor-last2= |editor-first2= |editor-link2= |display-editors= |editor-mask1= |editor-mask2= |title= |script-title= |title-link= |url= |url-access= |trans-title= |format= |department= |website= |script-website= |trans-website= |type= |series= |language= |interviewer-last1= |interviewer-first1= |interviewer-link1= |interviewer-last2= |interviewer-first2= |interviewer-link2= |display-interviewers= |interviewer-mask1= |interviewer-mask2= |translator-last1= |translator-first1= |translator-link1= |translator-last2= |translator-first2= |translator-link2= |display-translators= |translator-mask1= |translator-mask2= |others= |name-list-style= |edition= |publication-place= |publisher= |publication-date= |agency= |minutes= |time-caption= |time= |page= |pages= |at= |no-pp= |arxiv= |asin= |asin-tld= |bibcode= |bibcode-access= |biorxiv= |citeseerx= |doi= |doi-access= |doi-broken-date= |eissn= |hdl= |hdl-access= |isbn= |ismn= |issn= |jfm= |jstor= |jstor-access= |lccn= |medrxiv= |mr= |oclc= |ol= |ol-access= |osti= |osti-access= |pmc= |pmc-embargo-date= |pmid= |rfc= |sbn= |ssrn= |s2cid= |s2cid-access= |zbl= |id= |url-status= |archive-url= |archive-format= |archive-date= |access-date= |via= |quote-page= |quote-pages= |quote= |script-quote= |trans-quote= |mode= |ref= |postscript=}}</syntaxhighlight>
{{end}}
{{csdoc|usage vertical common}}
<!-- Please synchronize this list with the corresponding one at the overview page [[Wikipedia:Citation templates#Examples]] -->
;To cite a web page with a credited author
<syntaxhighlight lang="wikitext" copy="1">
{{cite web
|last        =
|first      =
|date        =
|title      =
|url        =
|website    =
|location    =
|publisher  =
|access-date =
}}
</syntaxhighlight>
;To cite a web page with no credited author
<syntaxhighlight lang="wikitext" copy="1">
{{cite web
|author      = <!-- not stated -->
|date        =
|title      =
|url        =
|website    =
|location    =
|publisher  =
|access-date =
}}
</syntaxhighlight>
;To cite a web page article that has been archived
<syntaxhighlight lang="wikitext" copy="1">
{{cite web
|last        =
|first        =
|date        =
|title        =
|url          =
|website      =
|location    =
|publisher    =
|url-status  =
|archive-url  =
|archive-date =
|access-date  =
}}
</syntaxhighlight>
;To cite a web page written in a foreign language
<syntaxhighlight lang="wikitext" copy="1">
{{cite web
|last        =
|first      =
|date        =
|title      =
|url        =
|trans-title =
|website    =
|language    =
|location    =
|publisher  =
|access-date =
}}
</syntaxhighlight>
;To cite and quote an archived, two-author, foreign language web page re-published as a PDF on an information aggregation service requiring a subscription
<syntaxhighlight lang="wikitext" copy="1">
{{cite web
|last1        =
|first1      =
|last2        =
|first2      =
|date        =
|title        =
|url          =
|url-access  =
|trans-title  =
|format      =
|website      =
|language    =
|location    =
|publisher    =
|url-status  =
|archive-url  =
|archive-date =
|access-date  =
|via          =
|quote        =
}}
</syntaxhighlight>
{{end}}
{| class="wikitable"
|+ Full parameter set in vertical format
! Parameters !! Prerequisites !! Brief instructions / notes !! Vertical list
|-
| {{tooltip|{{codett|last1}}|or any of its aliases, including: last; surname1; surname; author-last1; author1-last; author-last; author-surname1; author1-surname; author-surname; author1; author; subject-last1; subject1-last; subject-last; subject-surname1; subject1-surname; subject-surname; subject1; and subject}}
|
| Author's last name or single name author. Don't link.
| rowspan="122" style="vertical-align:top;" | <syntaxhighlight lang="wikitext" copy="1">
{{cite web
|last1                =
|first1              =
|author-link1        =
|last2                =
|first2              =
|author-link2        =
|display-authors      =
|author-mask1        =
|author-mask2        =
|collaboration        =
|df                  =
|date                =
|year                =
|orig-date            =
|orig-year            =
|location            =
|editor-last1        =
|editor-first1        =
|editor-link1        =
|editor-last2        =
|editor-first2        =
|editor-link2        =
|display-editors      =
|editor-mask1        =
|editor-mask2        =
|title                =
|script-title        =
|title-link          =
|url                  =
|url-access          =
|trans-title          =
|format              =
|department          =
|website              =
|script-website      =
|trans-website        =
|type                =
|series              =
|language            =
|interviewer-last1    =
|interviewer-first1  =
|interviewer-link1    =
|interviewer-last2    =
|interviewer-first2  =
|interviewer-link2    =
|display-interviewers =
|interviewer-mask1    =
|interviewer-mask2    =
|translator-last1    =
|translator-first1    =
|translator-link1    =
|translator-last2    =
|translator-first2    =
|translator-link2    =
|display-translators  =
|translator-mask1    =
|translator-mask2    =
|others              =
|name-list-style      =
|edition              =
|publication-place    =
|publisher            =
|publication-date    =
|agency              =
|minutes              =
|time-caption        =
|time                =
|page                =
|pages                =
|at                  =
|no-pp                =
|arxiv                =
|asin                =
|asin-tld            =
|bibcode              =
|bibcode-access      =
|biorxiv              =
|citeseerx            =
|doi                  =
|doi-access          =
|doi-broken-date      =
|eissn                =
|hdl                  =
|hdl-access          =
|isbn                =
|ismn                =
|issn                =
|jfm                  =
|jstor                =
|jstor-access        =
|lccn                =
|medrxiv              =
|mr                  =
|oclc                =
|ol                  =
|ol-access            =
|osti                =
|osti-access          =
|pmc                  =
|pmc-embargo-date    =
|pmid                =
|rfc                  =
|sbn                  =
|ssrn                =
|s2cid                =
|s2cid-access        =
|zbl                  =
|id                  =
|url-status          =
|archive-url          =
|archive-format      =
|archive-date        =
|access-date          =
|via                  =
|quote-page          =
|quote-pages          =
|quote                =
|script-quote        =
|trans-quote          =
|mode                =
|ref                  =
|postscript          =
}}
</syntaxhighlight>
|-
| {{tooltip|{{codett|first1}}|or any of its aliases, including: first; given1; given; author-first1; author1-first; author-first; author-given1; author1-given; author-given; subject-first1; subject1-first; subject-first; subject-given1; subject1-given; subject-given; host1; and host}}
| {{tooltip|{{codett|last1}}|or any of its aliases, including: last; surname1; surname; author-last1; author1-last; author-last; author-surname1; author1-surname; author-surname; author1; author; subject-last1; subject1-last; subject-last; subject-surname1; subject1-surname; subject-surname; subject1; and subject}}
| Author's first name. Don't link.
|-
| {{tooltip|{{codett|author-link1}}|or any of its aliases, including: author1-link; author-link; authorlink1; author1link; authorlink; subject-link1; subject1-link; and subject-link}}
| {{tooltip|{{codett|last1}}|or any of its aliases, including: last; surname1; surname; author-last1; author1-last; author-last; author-surname1; author1-surname; author-surname; author1; author; subject-last1; subject1-last; subject-last; subject-surname1; subject1-surname; subject-surname; subject1; and subject}}
| Title of Wikipedia article about the first author. Don't link.
|-
| {{tooltip|{{codett|last2}}|or any of its aliases, including: surname2; author-last2; author2-last; author-surname2; author2-surname; author2; subject-last2; subject2-last; subject-surname2; subject2-surname; and subject2}}
| {{tooltip|{{codett|last1}}|or any of its aliases, including: last; surname1; surname; author-last1; author1-last; author-last; author-surname1; author1-surname; author-surname; author1; author; subject-last1; subject1-last; subject-last; subject-surname1; subject1-surname; subject-surname; subject1; and subject}}
| Like <code>last1</code>, but for 2nd author. Don't link. Similar: <code>last3</code>, etc.
|-
| {{tooltip|{{codett|first2}}|or any of its aliases, including: given2; author-first2; author2-first; author-given2; author2-given; subject-first2; subject2-first; subject-given2; subject2-given; and host2}}
| {{tooltip|{{codett|last2}}|or any of its aliases, including: surname2; author-last2; author2-last; author-surname2; author2-surname; author2; subject-last2; subject2-last; subject-surname2; subject2-surname; and subject2}}
| Like <code>first1</code>, but for 2nd author. Don't link. Similar: <code>first3</code>, etc.
|-
| {{tooltip|{{codett|author-link2}}|or any of its aliases, including: author2-link; authorlink2; author2link; subject-link2; and subject2-link}}
| {{tooltip|{{codett|last2}}|or any of its aliases, including: surname2; author-last2; author2-last; author-surname2; author2-surname; author2; subject-last2; subject2-last; subject-surname2; subject2-surname; and subject2}}
| Like <code>author-link1</code>, but for 2nd author. Don't link. Similar: <code>author-link3</code>, etc.
|-
| {{tooltip|{{codett|display-authors}}|or alias display-subjects}}
| {{tooltip|{{codett|last1}}|or any of its aliases, including: last; surname1; surname; author-last1; author1-last; author-last; author-surname1; author1-surname; author-surname; author1; author; subject-last1; subject1-last; subject-last; subject-surname1; subject1-surname; subject-surname; subject1; and subject}}
| Number (number of authors displayed) or <code>etal</code> (more authors)
|-
| {{tooltip|{{codett|author-mask1}}|or any of its aliases, including: author1-mask; author-mask; subject-mask1; subject1-mask; and subject-mask}}
| {{tooltip|{{codett|last1}}|or any of its aliases, including: last; surname1; surname; author-last1; author1-last; author-last; author-surname1; author1-surname; author-surname; author1; author; subject-last1; subject1-last; subject-last; subject-surname1; subject1-surname; subject-surname; subject1; and subject}}
| rowspan="2" | See [[#Display options|Display options]] below; not for lists of cited works
|-
| {{tooltip|{{codett|author-mask2}}|or any of its aliases, including: author2-mask; subject-mask2; and subject2-mask}}
| {{tooltip|{{codett|last2}}|or any of its aliases, including: surname2; author-last2; author2-last; author-surname2; author2-surname; author2; subject-last2; subject2-last; subject-surname2; subject2-surname; and subject2}}
|-
| <code>collaboration</code>
| {{tooltip|{{codett|last1}}|or any of its aliases, including: last; surname1; surname; author-last1; author1-last; author-last; author-surname1; author1-surname; author-surname; author1; author; subject-last1; subject1-last; subject-last; subject-surname1; subject1-surname; subject-surname; subject1; and subject}}
|-
| <code>df</code> || ||
|-
| <code>date</code> || ||
|-
| <code>year</code> || ||
|-
| <code>orig-date</code> || <code>date</code> or <code>year</code> ||
|-
| <code>orig-year</code> || <code>date</code> or <code>year</code> ||
|-
| {{tooltip|{{codett|location}}|or alias place}} || {{tooltip|{{codett|publisher}}|or alias institution}} || can be used for written-at location when <code>publication-place</code> is used for publication place
|-
| {{tooltip|{{codett|editor-last1}}|or any of its aliases, including: editor1-last; editor-last; editor1; editor; editor-surname1; editor1-surname; and editor-surname}}
|
| Like <code>last1</code>, but for editor. Don't link.
|-
| {{tooltip|{{codett|editor-first1}}|or any of its aliases, including: editor1-first; editor-first; editor-given1; editor1-given; and editor-given}}
| {{tooltip|{{codett|editor-last1}}|or any of its aliases, including: editor1-last; editor-last; editor1; editor; editor-surname1; editor1-surname; and editor-surname}}
| Like <code>first1</code>, but for editor. Don't link.
|-
| {{tooltip|{{codett|editor-link1}}|or any of its aliases, including: editor1-link; and editor-link}}
| {{tooltip|{{codett|editor-last1}}|or any of its aliases, including: editor1-last; editor-last; editor1; editor; editor-surname1; editor1-surname; and editor-surname}}
| Like <code>author-link1</code>, but for editor. Don't link.
|-
| {{tooltip|{{codett|editor-last2}}|or any of its aliases, including: editor2-last; editor2; editor-surname2; and editor2-surname}}
| {{tooltip|{{codett|editor-last1}}|or any of its aliases, including: editor1-last; editor-last; editor1; editor; editor-surname1; editor1-surname; and editor-surname}}
| Like <code>last1</code>, but for 2nd editor. Don't link. Similar: <code>editor-last3</code>, etc.
|-
| {{tooltip|{{codett|editor-first2}}|or any of its aliases, including: editor2-first; editor-given2; and editor2-given}}
| {{tooltip|{{codett|editor-last2}}|or any of its aliases, including: editor2-last; editor2; editor-surname2; and editor2-surname}}
| Like <code>first1</code>, but for 2nd editor. Don't link. Similar: <code>editor-first3</code>, etc.
|-
| {{tooltip|{{codett|editor-link2}}|or alias editor2-link}}
| {{tooltip|{{codett|editor-last2}}|or any of its aliases, including: editor2-last; editor2; editor-surname2; and editor2-surname}}
| Like <code>author-link1</code>, but for 2nd editor. Don't link. Similar: <code>editor-link3</code>, etc.
|-
| <code>display-editors</code>
| {{tooltip|{{codett|editor-last1}}|or any of its aliases, including: editor1-last; editor-last; editor1; editor; editor-surname1; editor1-surname; and editor-surname}}
| Like <code>display-authors</code>, but for editors
|-
| {{tooltip|{{codett|editor-mask1}}|or any of its aliases, including: editor1-mask; and editor-mask}}
| {{tooltip|{{codett|editor-last1}}|or any of its aliases, including: editor1-last; editor-last; editor1; editor; editor-surname1; editor1-surname; and editor-surname}}
| rowspan="2" | See [[#Display options|Display options]] below; not for lists of cited works
|-
| {{tooltip|{{codett|editor-mask2}}|or alias editor2-mask}}
| {{tooltip|{{codett|editor-last2}}|or any of its aliases, including: editor2-last; editor2; editor-surname2; and editor2-surname}}
|-
| <code>title</code> || || This parameter is required.
|-
| <code>script-title</code> || ||
|-
| <code>title-link</code> || <code>title</code> or <code>script-title</code> || Name of a Wikipedia article about the work. Do not use if <code>url</code> is provided
|-
| <code>url</code> || <code>title</code> or <code>script-title</code> || This parameter is required. Do not use if <code>title-link</code> is provided
|-
| <code>url-access</code> || <code>url</code> ||
|-
| <code>trans-title</code> || <code>title</code> or <code>script-title</code> ||
|-
| <code>format</code> || <code>url</code> ||
|-
| <code>department</code> || ||
|-
| {{tooltip|{{codett|website}}|or any of its aliases, including: journal; magazine; newspaper; periodical; and work}} || ||
|-
| {{tooltip|{{codett|script-website}}|or any of its aliases, including: script-journal; script-magazine; script-newspaper; script-periodical; and script-work}} || ||
|-
| {{tooltip|{{codett|trans-website}}|or any of its aliases, including: trans-journal; trans-magazine; trans-newspaper; trans-periodical; and trans-work}} || {{tooltip|{{codett|website}}|or any of its aliases, including: journal; magazine; newspaper; periodical; and work}} or {{tooltip|{{codett|script-website}}|or any of its aliases, including: script-journal; script-magazine; script-newspaper; script-periodical; and script-work}} ||
|-
| {{tooltip|{{codett|type}}|or alias medium}} || ||
|-
| <code>series</code> || ||
|-
| {{tooltip|{{codett|language}}|or alias lang}} || ||
|-
| {{tooltip|{{codett|interviewer-last1}}|or any of its aliases, including: interviewer1-last; interviewer-last; interviewer1; interviewer; interviewer-surname1; interviewer1-surname; and interviewer-surname}}
|
| Like <code>last1</code>, but for interviewer. Don't link.
|-
| {{tooltip|{{codett|interviewer-first1}}|or any of its aliases, including: interviewer1-first; interviewer-first; interviewer-given1; interviewer1-given; and interviewer-given}}
| {{tooltip|{{codett|interviewer-last1}}|or any of its aliases, including: interviewer1-last; interviewer-last; interviewer1; interviewer; interviewer-surname1; interviewer1-surname; and interviewer-surname}}
| Like <code>first1</code>, but for interviewer. Don't link.
|-
| {{tooltip|{{codett|interviewer-link1}}|or any of its aliases, including: interviewer1-link; and interviewer-link}}
| {{tooltip|{{codett|interviewer-last1}}|or any of its aliases, including: interviewer1-last; interviewer-last; interviewer1; interviewer; interviewer-surname1; interviewer1-surname; and interviewer-surname}}
| Like <code>author-link1</code>, but for interviewer. Don't link.
|-
| {{tooltip|{{codett|interviewer-last2}}|or any of its aliases, including: interviewer2-last; interviewer2; interviewer-surname2; and interviewer2-surname}}
| {{tooltip|{{codett|interviewer-last1}}|or any of its aliases, including: interviewer1-last; interviewer-last; interviewer1; interviewer; interviewer-surname1; interviewer1-surname; and interviewer-surname}}
| Like <code>last1</code>, but for 2nd interviewer. Don't link. Similar: <code>interviewer-last3</code>, etc.
|-
| {{tooltip|{{codett|interviewer-first2}}|or any of its aliases, including: interviewer2-first; interviewer-given2; and interviewer2-given}}
| {{tooltip|{{codett|interviewer-last2}}|or any of its aliases, including: interviewer2-last; interviewer2; interviewer-surname2; and interviewer2-surname}}
| Like <code>first1</code>, but for 2nd interviewer. Don't link. Similar: <code>interviewer-first3</code>, etc.
|-
| {{tooltip|{{codett|interviewer-link2}}|or alias interviewer2-link}}
| {{tooltip|{{codett|interviewer-last2}}|or any of its aliases, including: interviewer2-last; interviewer2; interviewer-surname2; and interviewer2-surname}}
| Like <code>author-link1</code>, but for 2nd interviewer. Don't link. Similar: <code>interviewer-link3</code>, etc.
|-
| <code>display-interviewers</code>
| {{tooltip|{{codett|interviewer-last1}}|or any of its aliases, including: interviewer1-last; interviewer-last; interviewer1; interviewer; interviewer-surname1; interviewer1-surname; and interviewer-surname}}
| Like <code>display-authors</code>, but for interviewers
|-
| {{tooltip|{{codett|interviewer-mask1}}|or any of its aliases, including: interviewer1-mask; and interviewer-mask}}
| {{tooltip|{{codett|interviewer-last1}}|or any of its aliases, including: interviewer1-last; interviewer-last; interviewer1; interviewer; interviewer-surname1; interviewer1-surname; and interviewer-surname}}
| rowspan="2" | See [[#Display options|Display options]] below; not for lists of cited works
|-
| {{tooltip|{{codett|interviewer-mask2}}|or alias interviewer2-mask}}
| {{tooltip|{{codett|interviewer-last2}}|or any of its aliases, including: interviewer2-last; interviewer2; interviewer-surname2; and interviewer2-surname}}
|-
| {{tooltip|{{codett|translator-last1}}|or any of its aliases, including: translator1-last; translator-last; translator1; translator; translator-surname1; translator1-surname; and translator-surname}}
|
| Like <code>last1</code>, but for translator. Don't link.
|-
| {{tooltip|{{codett|translator-first1}}|or any of its aliases, including: translator1-first; translator-first; translator-given1; translator1-given; and translator-given}}
| {{tooltip|{{codett|translator-last1}}|or any of its aliases, including: translator1-last; translator-last; translator1; translator; translator-surname1; translator1-surname; and translator-surname}}
| Like <code>first1</code>, but for translator. Don't link.
|-
| {{tooltip|{{codett|translator-link1}}|or any of its aliases, including: translator1-link; and translator-link}}
| {{tooltip|{{codett|translator-last1}}|or any of its aliases, including: translator1-last; translator-last; translator1; translator; translator-surname1; translator1-surname; and translator-surname}}
| Like <code>author-link1</code>, but for translator. Don't link.
|-
| {{tooltip|{{codett|translator-last2}}|or any of its aliases, including: translator2-last; translator2; translator-surname2; and translator2-surname}}
| {{tooltip|{{codett|translator-last1}}|or any of its aliases, including: translator1-last; translator-last; translator1; translator; translator-surname1; translator1-surname; and translator-surname}}
| Like <code>last1</code>, but for 2nd translator. Don't link. Similar: <code>translator-last3</code>, etc.
|-
| {{tooltip|{{codett|translator-first2}}|or any of its aliases, including: translator2-first; translator-given2; and translator2-given}}
| {{tooltip|{{codett|translator-last2}}|or any of its aliases, including: translator2-last; translator2; translator-surname2; and translator2-surname}}
| Like <code>first1</code>, but for 2nd translator. Don't link. Similar: <code>translator-first3</code>, etc.
|-
| {{tooltip|{{codett|translator-link2}}|or alias translator2-link}}
| {{tooltip|{{codett|translator-last2}}|or any of its aliases, including: translator2-last; translator2; translator-surname2; and translator2-surname}}
| Like <code>author-link1</code>, but for 2nd translator. Don't link. Similar: <code>translator-link3</code>, etc.
|-
| <code>display-translators</code>
| {{tooltip|{{codett|translator-last1}}|or any of its aliases, including: translator1-last; translator-last; translator1; translator; translator-surname1; translator1-surname; and translator-surname}}
| Like <code>display-authors</code>, but for translators
|-
| {{tooltip|{{codett|translator-mask1}}|or any of its aliases, including: translator1-mask; and translator-mask}}
| {{tooltip|{{codett|translator-last1}}|or any of its aliases, including: translator1-last; translator-last; translator1; translator; translator-surname1; translator1-surname; and translator-surname}}
| rowspan="2" | See [[#Display options|Display options]] below; not for lists of cited works
|-
| {{tooltip|{{codett|translator-mask2}}|or alias translator2-mask}}
| {{tooltip|{{codett|translator-last2}}|or any of its aliases, including: translator2-last; translator2; translator-surname2; and translator2-surname}}
|-
| <code>others</code> || ||
|-
| <code>name-list-style</code>
| {{tooltip|{{codett|last2}}|or any of its aliases, including: surname2; author-last2; author2-last; author-surname2; author2-surname; author2; subject-last2; subject2-last; subject-surname2; subject2-surname; and subject2}}
| Set to <code>amp</code> or <code>ampersand</code> to separate the last author with {{nowrap|"<code> & </code>"}}; set to <code>and</code> to separate with {{nowrap|"<code> and </code>"}}
|-
| <code>edition</code> || ||
|-
| <code>publication-place</code> || {{tooltip|{{codett|publisher}}|or alias institution}} ||
|-
| {{tooltip|{{codett|publisher}}|or alias institution}} || ||
|-
| <code>publication-date</code> || ||
|-
| <code>agency</code> || ||
|-
| <code>minutes</code> || ||
|-
| <code>time-caption</code> || <code>time</code> ||
|-
| <code>time</code> || ||
|-
| {{tooltip|{{codett|page}}|or alias p}} || || choose one: <code>page</code>, <code>pages</code>, or <code>at</code>
|-
| {{tooltip|{{codett|pages}}|or alias pp}} || || choose one: <code>page</code>, <code>pages</code>, or <code>at</code>. Use when content on multiple pages supports the article text.
|-
| <code>at</code> || || choose one: <code>page</code>, <code>pages</code>, or <code>at</code>
|-
| <code>no-pp</code> || {{tooltip|{{codett|page}}|or alias p}} or {{tooltip|{{codett|pages}}|or alias pp}} || set to "yes" to suppress the "p." or "pp." before page numbers
|-
| {{tooltip|{{codett|arxiv}}|or alias eprint}} || ||
|-
| {{tooltip|{{codett|asin}}|or alias ASIN}} || ||
|-
| <code>asin-tld</code> || {{tooltip|{{codett|asin}}|or alias ASIN}} ||
|-
| <code>bibcode</code> || ||
|-
| <code>biorxiv</code> || ||
|-
| <code>biorxiv-access</code> || <code>biorxiv</code> ||
|-
| <code>citeseerx</code> || ||
|-
| {{tooltip|{{codett|doi}}|or alias DOI}} || ||
|-
| <code>doi-access</code> || {{tooltip|{{codett|doi}}|or alias DOI}} ||
|-
| <code>doi-broken-date</code> || {{tooltip|{{codett|doi}}|or alias DOI}} ||
|-
| {{tooltip|{{codett|eissn}}|or alias EISSN}} || ||
|-
| {{tooltip|{{codett|hdl}}|or alias HDL}} || ||
|-
| <code>hdl-access</code> || {{tooltip|{{codett|hdl}}|or alias HDL}} ||
|-
| {{tooltip|{{codett|isbn}}|or alias ISBN}} || ||
|-
| {{tooltip|{{codett|ismn}}|or alias ISMN}} || ||
|-
| {{tooltip|{{codett|issn}}|or alias ISSN}} || ||
|-
| {{tooltip|{{codett|jfm}}|or alias JFM}} || ||
|-
| {{tooltip|{{codett|jstor}}|or alias JSTOR}} || ||
|-
| <code>jstor-access</code> || {{tooltip|{{codett|jstor}}|or alias JSTOR}} ||
|-
| {{tooltip|{{codett|lccn}}|or alias LCCN}} || ||
|-
| <code>medrxiv</code> || ||
|-
| {{tooltip|{{codett|mr}}|or alias MR}} || ||
|-
| {{tooltip|{{codett|oclc}}|or alias OCLC}} || ||
|-
| {{tooltip|{{codett|ol}}|or alias OL}} || ||
|-
| <code>ol-access</code> || {{tooltip|{{codett|ol}}|or alias OL}} ||
|-
| {{tooltip|{{codett|osti}}|or alias OSTI}} || ||
|-
| <code>osti-access</code> || {{tooltip|{{codett|osti}}|or alias OSTI}} ||
|-
| {{tooltip|{{codett|pmc}}|or alias PMC}} || ||
|-
| <code>pmc-embargo-date</code> || {{tooltip|{{codett|pmc}}|or alias PMC}} ||
|-
| {{tooltip|{{codett|pmid}}|or alias PMID}} || ||
|-
| {{tooltip|{{codett|rfc}}|or alias RFC}} || ||
|-
| {{tooltip|{{codett|sbn}}|or alias SBN}} || ||
|-
| {{tooltip|{{codett|ssrn}}|or alias SSRN}} || ||
|-
| {{tooltip|{{codett|s2cid}}|or alias S2CID}} || ||
|-
| <code>s2cid-access</code> || {{tooltip|{{codett|s2cid}}|or alias S2CID}} ||
|-
| {{tooltip|{{codett|zbl}}|or alias ZBL}} || ||
|-
| {{tooltip|{{codett|id}}|or alias ID}} || ||
|-
| <code>url-status</code> || {{tooltip|{{codett|archive-url}}|or alias archiveurl}} ||
|-
| {{tooltip|{{codett|archive-url}}|or alias archiveurl}} || {{tooltip|{{codett|archive-date}}|or alias archiveurl}}, <code>url</code> ||
|-
| <code>archive-format</code> || {{tooltip|{{codett|archive-url}}|or alias archiveurl}} ||
|-
| {{tooltip|{{codett|archive-date}}|or alias archivedate}} || {{tooltip|{{codett|archive-url}}|or alias archiveurl}} ||
|-
| {{tooltip|{{codett|access-date}}|or alias accessdate}} || <code>url</code> ||
|-
| <code>via</code> || ||
|-
| <code>quote-page</code> || || choose one: <code>quote-page</code>, <code>quote-pages</code>
|-
| <code>quote-pages</code> || || choose one: <code>quote-page</code>, <code>quote-pages</code>. Use when quote contains contents from multiple pages.
|-
| {{tooltip|{{codett|quote}}|or alias quotation}} || ||
|-
| <code>script-quote</code> || ||
|-
| <code>trans-quote</code> || ||
|-
| <code>mode</code> || || <code>cs1</code> or <code>cs2</code>
|-
| <code>ref</code> || ||
|-
| <code>postscript</code> || ||
|-
| colspan="4" style="text-align: center" | If a field name is listed in the '''Prerequisites''' column, it is a prerequisite for the field to the left.
|}
=== Choosing between [[Template:cite web]] and [[Template:cite news]]<span class="anchor" id="Consistency"></span> ===
Previously, editors had to decide whether to use {{tl|cite web}} or {{tlf|cite news}} based on these templates' features. In 2014, however, ''most of'' the differences between the two templates were eliminated.
As of {{diff|Module:Citation/CS1|732205428|723907342|29 July 2016}}, {{tlf|cite web}} and {{tlf|cite news}} have the following differences:
* {{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
* {{tlf|Cite news}} accepts {{para|issue}} and {{para|volume}} parameters while {{tlf|cite web}} does not (see {{section link|Help:Citation Style 1#Pages}}, {{section link|1=Help talk:Citation Style 1/Archive 10|2=&#x7C;volume=, &#x7C;issue=, &#x7C;page(s)= and cite magazine}} and {{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.
-->
{|
| '''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|ref=none}}
|-
| '''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|ref=none}}
|}
== Examples ==
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|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
|publisher=Open Publishing
|date=April 30, 2005
|website=Encyclopedia of Things
|access-date={{date|{{date}}|mdy}}}}
}}
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|first=John
|date=30 April 2005
|website=Encyclopedia of Things
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.example.org/
|title=My Favorite Things, Part II
|last=Doe
|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=" ===
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]]))
<div style="width:auto; overflow:scroll">
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.indiapost.gov.in/MBE/DOP_PDFFiles/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/MBE/DOP_PDFFiles/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).
<div style="width:auto; overflow:scroll">
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.sample.com/somePDFdocument.000
|title=Some PDF Document
|publisher=Sample Int'l
|format=PDF
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.sample.com/somePDFdocument.000
|title=Some PDF Document
|publisher=Sample Int'l
|format=PDF
|access-date={{date}}}}
}}
</div>
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.
<div style="width:auto; overflow:scroll">
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.sample.com/someODTdocument.odt
|title=Some ODT Document
|publisher=Sample Int'l
|format=ODT
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=https://www.sample.com/someODTdocument.odt
|title=Some ODT Document
|publisher=Sample Int'l
|format=ODT
|access-date={{date}}}}
}}
</div>
=== Foreign language and translated title ===
{{markup2|
|m=<nowiki>{{cite web
|url=https://www.example.org/
|title=Honi soit qui mal y pense
|last=Joliet
|first=François
|date=30 April 2005
|access-date=</nowiki>{{date}}<nowiki>
|language=fr
|trans-title=Shame on those who think evil of it}}</nowiki>
|r={{cite web
|url=https://www.example.org/
|title=Honi soit qui mal y pense
|last=Joliet
|first=François
|date=30 April 2005
|access-date={{date}}
|language=fr
|trans-title=Shame on those who think evil of it}}
}}
=== Using author-link ===
{{markup2|
|m=<nowiki>{{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=</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/documents/Psychotropics/forms/greenlist/2024/2311984R.pdf
|title=List of psychotropic substances under international control
|date=December 2023
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>
|language=ru}}</nowiki>
|r={{cite web
|url=https://www.incb.org/documents/Psychotropics/forms/greenlist/2024/2311984R.pdf
|title=List of psychotropic substances under international control
|date=December 2023
|access-date={{date|{{date}}|iso}}
|language=ru}}
}}
=== 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=https://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/https://www.incb.org/pdf/e/list/green.pdf
|archive-date=2005-09-07}}</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
|publisher=International Narcotics Control Board
|access-date={{date|{{date}}|iso}}
|archive-url=https://web.archive.org/web/20050907150136/https://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/https://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/https://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=https://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/https://www.wunderground.com/global/stations/03772.html |archive-date=22 May 2011}}</nowiki>
|r={{cite web
|url=https://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/https://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}}
==== Date ====
{{csdoc|date}}
==== Editors ====
{{csdoc|editor}}
==== Title ====
{{csdoc|web}}
{{csdoc|type}}
{{csdoc|language}}
==== <span class="anchor" id="url"></span>URL ====
{{csdoc|url}}
==== Website ====
{{csdoc|journal|issue=no|department=yes}}
==== Edition, series ====
{{csdoc|edition}}
{{csdoc|series}}
==== Publisher ====
{{csdoc|publisher}}
{{csdoc|agency}}
==== In-source locations ====
{{csdoc|time}}
{{csdoc|pages}}
==== Identifiers ====
{{distinguish|#Anchor}}
{{csdoc|id1}}
{{csdoc|id2}}
==== Subscription or registration required ====
{{csdoc|registration}}
==== Quote ====
{{csdoc|quote}}
==== Anchor ====
{{distinguish|#Identifiers}}
{{csdoc|ref}}
==== Display options ====
{{csdoc|display}}
== 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}}}}
{{#invoke:cs1 documentation support|template_data_validate|{{ROOTPAGENAME}}}}
<templatedata>
<templatedata>