(Removing all content from page) |
|||
Line 1: | Line 1: | ||
{{Documentation subpage}} | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | |||
This [[Wikipedia:Template namespace|template]] is used to cite online sources in Wikipedia articles. {{Tl|Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see [[Wikipedia:Cite sources]]. A general discussion of the use of templates for adding citations to Wikipedia articles is available at [[Wikipedia:Citation templates]]. | |||
==Usage== | |||
'''''Note''''': None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc. | |||
===Common forms with authors in any format=== | |||
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single {{para|author|<var>authors</var>}} parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia: | |||
;Day Month Year: <code><nowiki>{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{#time: j F Y}}<nowiki>}}</nowiki></code> | |||
;Month Day, Year: <code><nowiki>{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=</nowiki>{{#time: F j, Y}}<nowiki>}}</nowiki></code> | |||
===Common forms with last1, first1; last2, first2=== | |||
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style: | |||
;Day Month Year: <code><nowiki>{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=</nowiki>{{#time: j F Y}}<nowiki>}}</nowiki></code> | |||
;Month Day, Year: <code><nowiki>{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=</nowiki>{{#time: F j, Y}}<nowiki>}}</nowiki></code> | |||
===All parameters=== | |||
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed. | |||
;All parameters, horizontal layout: <code><nowiki>{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}</nowiki></code> | |||
;All parameters, vertical layout: | |||
<pre> | |||
{{cite web | |||
|url = | |||
|title = | |||
|first = | |||
|last = | |||
|author = | |||
|authorlink = | |||
|coauthors = | |||
|date = | |||
|month = | |||
|year = | |||
|work = | |||
|publisher = | |||
|location = | |||
|page = | |||
|pages = | |||
|at = | |||
|language = | |||
|trans_title = | |||
|format = | |||
|arxiv = | |||
|asin = | |||
|bibcode = | |||
|doi = | |||
|doibroken = | |||
|isbn = | |||
|issn = | |||
|jfm = | |||
|jstor = | |||
|lccn = | |||
|mr = | |||
|oclc = | |||
|ol = | |||
|osti = | |||
|pmc = | |||
|pmid = | |||
|rfc = | |||
|ssrn = | |||
|zbl = | |||
|id = | |||
|archiveurl = | |||
|archivedate = | |||
|deadurl = | |||
|accessdate = | |||
|quote = | |||
|ref = | |||
|separator = | |||
|postscript = | |||
}} | |||
</pre> | |||
====Required parameters==== | |||
*'''title''': Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded. | |||
{| class="wikitable" | |||
! newline !! [ !! ] !! | | |||
|- | |||
| space || &#91; || &#93; || &#124; | |||
|} | |||
====Optional parameters==== | |||
*'''url''': URL of source; must begin with a supported [[URI scheme]]: <code>http://</code> and <code>https://</code>will be supported by all browsers; <code>irc://</code>, <code>ircs://</code>, <code>ftp://</code>, <code>news://</code>, <code>mailto:</code> and <code>gopher://</code> will require a plugin or an external application. | |||
:The MediaWiki software does not yet support IPv6 host-names. (See [[bugzilla:21261|bug 21261]].) | |||
:URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by <code>%20</code>. | |||
{| class="wikitable" | |||
! sp !! " !! , !! ' !! ; !! < !! > !! ? !! [ !! ] | |||
|- | |||
| %20 || %22 || %2c || %3a || %3b || %3c || %3e || %3f || %5b || %5d | |||
|} | |||
::{{small|Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup}} | |||
:The link button [[File:Vector toolbar insert link button.png]] on the enhanced editing toolbar will encode a link. | |||
*'''last''': Surname of author. Do not wikilink (use ''authorlink'' instead). | |||
**'''first''': Given or first name(s) of author, including title(s) (e.g. ''Firstname Middlename'' or ''Firstname M.'' or ''Dr. Firstname M., Snr.''). Do not wikilink (use ''authorlink'' instead). | |||
***The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases. | |||
**{{AuthorMask doc}} See [[#Examples|Examples]] for typical usage. | |||
**'''authorlink''': Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with ''author'' or ''first'' and ''last''. | |||
**'''coauthors''': Full name of additional author or authors, separated by ", " (e.g. ''Joe Bloggs, John F. Kennedy, H. R. Dent''). | |||
***Whether the surname of the co-authors goes first or last is dependent on the citation style (see the [[#Citation_styles|citation style]] section below) preferred. | |||
*OR: '''author''': Full name of author, preferably surname first. (deprecated) Do not wikilink (use ''authorlink'' instead). | |||
*OR: for multiple authors, use the parameters '''first1''', '''last1''', ..., '''first''n'', last''n''''' to 'correctly' record all the information about the book (the first nine authors are printed, then ''et al.'' is appended if even more authors were specified). Do not wikilink as there are corresponding '''authorlink1''', ..., '''authorlink9''' parameters as well. This usage is preferred to the use of '''coauthors'''. | |||
*'''editor''': Name of editor/editors. Do not Wikilink any values in the editor parameter but use ''editor-link'' instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the ''editor'' parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an ''author'' parameter with possibly "(ed.)" after the surname(s). | |||
*OR: alternatively '''editor-first''' and '''editor-last''' can be used in the same way as ''first'' and ''last''. | |||
*OR: for multiple editors up to four in number, use the parameters '''editor1-first''', '''editor1-last''', ..., '''editor''n''-first, editor''n''-last''' to 'correctly' record all the information about the book in the same way as ''first''n and ''last''n. | |||
**'''editor-link''' or '''editor1-link'''... '''editor''n''-link''' is used in the same way as ''authorlink'' or ''authorlink''n. | |||
*'''others''': To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith". | |||
*a date parameter | |||
**''either'' '''date''': Full date of publication. Should not be wikilinked. | |||
**''or'' '''year''' and '''month''': Year of publication, and Name of the month of publication. If you also have the day, use '''date''' instead. Should not be wikilinked. | |||
*'''format''': Format, e.g. PDF. HTML implied if not specified. | |||
*'''work''': In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically. | |||
*'''publisher''': The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that {{em|publisher is not the name of the website}}; that is the '''work''', except in cases where the business name is identical to the site name. For example, the corporation [[Walmart]] is the publisher of the website at walmart.com, which is the work; [[Amazon.com]] is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{tl|cite book}}, {{tl|cite news}}, etc. with a {{para|url}} parameter instead of {{tnull|cite web}}). | |||
**'''location''': Geographical location of the publisher (or headquarters thereof). | |||
*a page parameter | |||
**''either'' '''page''': Page number if a multi-page web article and referencing a single page. "page=5" produces ''p. 5.'' | |||
**''or'' '''pages''': Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces ''pp. 5–7''. This is for listing the pages relevant to the citation, not a total number of pages. | |||
**''or'' '''at''': Position within the resource when {{para|page}}/{{para|pages}} is inappropriate, e.g. {{para|at|para. 14}} (when citing a source without page numbers) or {{para|at|no. 456}} (something in a numbered list). This parameter is ignored if {{para|page}}/{{para|pages}} is specified. | |||
*'''language''': language of publication (do not specify "English" as this is the default). | |||
**'''trans_title''': A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the ''language'' parameter. | |||
*'''edition''': When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so {{para|edition|2nd}} produces "2nd ed.". | |||
*'''arxiv''': [[ArXiv]] | |||
*'''asin''': The [[Amazon Standard Identification Number]] used for the main web site. | |||
*'''bibcode''': The document's [[bibcode]] in the [[Astrophysics Data System]], e.g., ''1924MNRAS..84..308E''. | |||
*'''doi''':A [[digital object identifier]] for the document, such as ''<nowiki>10.1038/news070508-7</nowiki>'' | |||
**'''Doilabel''': If the doi contains some characters that must be [[Percent-encoding|escaped]], use "doilabel" for the unescaped version. See {{tl|doi}}: "id" is equivalent to "doi" and "label" is "doilabel". | |||
**'''doibroken''': The date that a digital object identifier link was found to be broken. | |||
*'''isbn''': [[International Standard Book Number]] such as ''1-111-22222-9''. Note that {{para|isbn}}, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g. {{para|isbn|1111222229}}), though ISBNs with correctly formatted dashes are preferred (see [[Wikipedia:ISBN]] and [[ISBN#Overview|ISBN]]). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus ''SBN 902888-45-5'' should be entered as {{para|isbn|0-902888-45-5}}. More information about this feature and its advantages is available at [[Wikipedia:ISBN]]. | |||
*'''issn''': The publication's [[International Standard Serial Number]] such as ''1111-2220''. The eight-figure ISSN may be split into two groups of four using a [[hyphen]]; but not an [[Dash#En dash|N-dash]] or a space. <!-- space separates URL from linkable text; n-dash is not recognised by WorldCat --> | |||
*'''jfm''': [[Jahrbuch über die Fortschritte der Mathematik]] | |||
*'''jstor''': Makes a link to a [[JSTOR]] article or journal determined by a given parameter. The main purpose is to use as part of an <code>id</code> option in a {{tl|cite journal}} reference. | |||
*'''lccn''': [[Library of Congress Control Number]]. | |||
*'''mr''': [[Mathematical Reviews]]. | |||
*'''oclc''': [[Online Computer Library Center]] ID number, such as ''3185581''. The field must not be wikilinked as the template automatically creates a link. | |||
*'''ol''': [[Open Library]] | |||
*'''osti''': [[Office of Scientific and Technical Information]]. | |||
*'''pmc''': The document's [[PubMed Central]] article number (PMCID) for full-text free repository of an article, such as ''246835'' | |||
*'''pmid''': The document's [[PMID|PubMed Unique Identifier]], such as ''15128012'' | |||
*'''rfc''': [[Request for Comments]]. | |||
*'''ssrn''': [[Social Science Research Network]]. | |||
*'''zbl''': [[Zentralblatt MATH]]. | |||
*'''id''': A [[unique identifier]], used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using. | |||
*archive parameters ''(if either '''archiveurl''' or '''archivedate''' is used, both parameters must be used together)'' | |||
**'''archiveurl''': The URL of an [[Web archiving|archived]] copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like [[WebCite]] and [[Internet Archive|the Internet Archive]]. | |||
**'''archivedate''': Date when the item was archived. Should not be wikilinked. | |||
**'''deadurl''': Should be set to "yes"/"no" to indicate if the original link is [[WP:LINKROT|dead]] or live. Setting {{para|deadurl|no}} will change the main link to the original url. | |||
*'''accessdate''': Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see ''[[WP:CITEHOW|Citation styles]]''. | |||
*'''quote''': Relevant quote from online item. | |||
*'''ref''': ID for anchor. By default, no anchor is generated. The ordinary nonempty value {{para|ref|<var>ID</var>}} generates an anchor with the given <code><var>ID</var></code>; such a linkable reference can be made the target of [[Wikipedia:Citing sources/Further considerations#Wikilinks to full references|wikilinks to full references]], especially useful in short citations like [[Wikipedia:Citing sources#Shortened footnotes|shortened notes]] and [[Wikipedia:Parenthetical referencing|parenthetical referencing]]. The special value {{para|ref|harv}} generates an anchor suitable for the {{tl|harv}} template; see ''[[Template:Citation/doc#Anchors for Harvard referencing templates|anchors for Harvard referencing templates]]''. | |||
*'''separator''': The separator to use in lists of authors, editors, ''etc.'' Defaults to ".", but "," may be useful also. If the field is present, but blank, ''no separator will be used''. | |||
*'''postscript''': The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, ''no terminating punctuation will be used''. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if {{para|quote}} is specified. | |||
====Duplicate periods==== | |||
By default, {{Tl|cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as <code>Camelot, Inc.</code> but "publisher=Camelot, Inc." will incorrectly show as <code>Camelot, Inc..</code> | |||
==Examples== | |||
;Some standard use cases | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|author=Doe, John | |||
|publisher=Open Publishing | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=6 July 2005 | |||
}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|author=Doe, John | |||
|publisher=Open Publishing | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=6 July 2005 | |||
}}</span> | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|author=Doe, John | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=6 July 2005 | |||
}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|author=Doe, John | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=6 July 2005 | |||
}}</span> | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|author=Doe, John | |||
|date=30 April 2005 | |||
|accessdate=6 July 2005 | |||
}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|author=Doe, John | |||
|date=30 April 2005 | |||
|accessdate=6 July 2005 | |||
}}</span> | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|author=Doe, John | |||
|accessdate=6 July 2005 | |||
}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|author=Doe, John | |||
|accessdate=6 July 2005 | |||
}}</span> | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|accessdate=6 July 2005 | |||
}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|accessdate=6 July 2005 | |||
}}</span> | |||
*<code><nowiki>{{cite web | |||
|url=http://www.nfl.com/rulebook/digestofrules | |||
|title=Digest of Rules | |||
|publisher=National Football League | |||
|accessdate=6 July 2005 | |||
}}</nowiki></code><br/>→ <span style="background:white">{{cite web | |||
|url=http://www.nfl.com/rulebook/digestofrules | |||
|title=Digest of Rules | |||
|publisher=National Football League | |||
|accessdate=6 July 2005 | |||
}}</span> | |||
;Using format | |||
*<code><nowiki>{{cite web | |||
|url=http://www.incb.org/pdf/e/list/green.pdf | |||
|title=List of psychotropic substances under international control | |||
|publisher=International Narcotics Control Board | |||
|format=PDF | |||
|accessdate=6 July 2005 | |||
}}</nowiki></code><br /> → <span style="background:white">{{cite web | |||
|url=http://www.incb.org/pdf/e/list/green.pdf | |||
|title=List of psychotropic substances under international control | |||
|publisher=International Narcotics Control Board | |||
|format=PDF | |||
|accessdate=6 July 2005 | |||
}}</span> | |||
;Foreign language and translated title | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=Honni soit qui mal y pense | |||
|author=Joliet, François | |||
|date=30 April 2005 | |||
|accessdate=6 July 2005 | |||
|language=French | |||
|trans_title=Shame on those who think evil | |||
}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=Honni soit qui mal y pense | |||
|author=Joliet, François | |||
|date=30 April 2005 | |||
|accessdate=6 July 2005 | |||
|language=French | |||
|trans_title=Shamed be he who thinks evil of it | |||
}}</span> | |||
;Using authorlink | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|author=Doe, John | |||
|authorlink=John Doe | |||
|publisher=Open Publishing | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=6 July 2005 | |||
}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=My Favorite Things, Part II | |||
|author=Doe, John | |||
|authorlink=John Doe | |||
|publisher=Open Publishing | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=6 July 2005 | |||
}}</span> | |||
;Using coauthors | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=Our Favorite Things | |||
|first=John | |||
|last=Doe | |||
|coauthors=Smith, Peter; Smythe, Jim | |||
|publisher=Open Publishing | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=16 May 2006 | |||
}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=Our Favorite Things | |||
|first=John | |||
|last=Doe | |||
|coauthors=Smith, Peter; Smythe, Jim | |||
|publisher=Open Publishing | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=16 May 2006 | |||
}}</span> | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=Our Favorite Things | |||
|first=John | |||
|last=Doe | |||
|coauthors=Peter Smith; Jim Smythe | |||
|publisher=Open Publishing | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=16 May 2006 | |||
}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=Our Favorite Things | |||
|first=John | |||
|last=Doe | |||
|coauthors=Peter Smith; Jim Smythe | |||
|publisher=Open Publishing | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=16 May 2006 | |||
}}</span> | |||
;No author | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=Index of Sharp Things | |||
|publisher=Open Publishing | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=16 May 2006 | |||
}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=Index of Sharp Things | |||
|publisher=Open Publishing | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=16 May 2006 | |||
}}</span> | |||
;No author, no publisher | |||
This abbreviated format should only be used when the editor cannot determine the publisher and author. | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=Index of Sharp Things | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=6 July 2005}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=Index of Sharp Things | |||
|date=30 April 2005 | |||
|work=Encyclopedia of Things | |||
|accessdate=6 July 2005 | |||
}}</span> | |||
*<code><nowiki>{{cite web | |||
|url=http://www.example.org/ | |||
|title=Index of Sharp Things | |||
|date=30 April 2005 | |||
|accessdate=6 July 2005}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.example.org/ | |||
|title=Index of Sharp Things | |||
|date=30 April 2005 | |||
|accessdate=6 July 2005}}</span> | |||
*<code><nowiki>{{cite web | |||
|url=http://www.incb.org/pdf/e/list/green.pdf | |||
|title=List of psychotropic substances under international control | |||
|date=30 April 2005 | |||
|format=PDF | |||
|accessdate=6 July 2005 | |||
|language=Greek | |||
}}</nowiki></code><br /> → <span style="background:white">{{cite web | |||
|url=http://www.incb.org/pdf/e/list/green.pdf | |||
|title=List of psychotropic substances under international control | |||
|date=30 April 2005 | |||
|format=PDF | |||
|accessdate=6 July 2005 | |||
|language=Greek | |||
}}</span> | |||
;Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived | |||
*<code><nowiki>{{cite web | |||
|url=http://www.incb.org/pdf/e/list/green.pdf | |||
|title=List of psychotropic substances under international control | |||
|date=30 April 2005 | |||
|format=PDF | |||
|accessdate=6 July 2005 | |||
|archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf | |||
|archivedate=11 September 2005 | |||
}}</nowiki></code><br /> → <span style="background:white">{{cite web | |||
|url=http://www.incb.org/pdf/e/list/green.pdf | |||
|title=List of psychotropic substances under international control | |||
|date=30 April 2005 | |||
|format=PDF | |||
|accessdate=6 July 2005 | |||
|archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf | |||
|archivedate=11 September 2005 | |||
}}</span> | |||
*<code><nowiki>{{cite web | |||
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm | |||
|title=Interview with Maggie Downs | |||
|date=31 March 2006 | |||
|publisher=The Desert Sun | |||
|archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm | |||
|archivedate=26 April 2006 | |||
|deadurl=yes | |||
}}</nowiki></code><br /> → <span style="background:white">{{cite web | |||
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm | |||
|title=Interview with Maggie Downs | |||
|date=31 March 2006 | |||
|publisher=The Desert Sun | |||
|archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm | |||
|archivedate=26 April 2006 | |||
|deadurl=yes | |||
}}</span> | |||
*<code><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, Inc. | |||
|accessdate =6 June 2008 | |||
|format = online | |||
|ref = harv | |||
| archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no | |||
}}</nowiki></code><br /> → <span style="background:white">{{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, Inc. | |||
|accessdate =6 June 2008 | |||
|format = online | |||
|ref = harv | |||
| archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no}}</span> | |||
;Using "quote" | |||
*<code><nowiki>{{cite web | |||
|url=http://www.webexhibits.org/daylightsaving/c.html | |||
|title=Daylight saving time: rationale and original idea | |||
|work=WebExhibits | |||
|year=2008 | |||
|accessdate=27 September 2009 | |||
|quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...' | |||
}}</nowiki></code><br />→ <span style="background:white">{{cite web | |||
|url=http://www.webexhibits.org/daylightsaving/c.html | |||
|title=Daylight saving time: rationale and original idea | |||
|work=WebExhibits | |||
|year=2008 | |||
|accessdate=27 September 2009 | |||
|quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' | |||
}}</span> | |||
==See also== | |||
* {{tl|Citation}} | |||
* {{tl|Cite book}} | |||
* {{tl|Cite journal}} | |||
* {{tl|Cite news}} | |||
* {{tl|Cite video}} | |||
* [[User:Citation bot|Citation bot]] | |||
* [[Wikipedia:Citation templates|Citation templates]] | |||
* [[Wikipedia:Citing sources|Citing sources]] | |||
* [[Wikipedia:Citing sources/example style|Citing sources/example style]] | |||
* [[WP:DOI|Digital Object Identifier]] | |||
* [[Zotero]] | |||
<includeonly> | |||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | |||
[[Category:Citation templates|{{PAGENAME}}]] | |||
[[fa:الگو:یادکرد وب]] | |||
[[af:Sjabloon:Webaanhaling]] | |||
[[ar:قالب:مرجع وب]] | |||
[[az:Şablon:Cite web]] | |||
[[be:Шаблон:Cite web]] | |||
[[be-x-old:Шаблён:Спасылка]] | |||
[[bg:Шаблон:Цитат уеб]] | |||
[[ca:Plantilla:Citar web]] | |||
[[ckb:داڕێژە:بیرخستنەوەی وێب]] | |||
[[cs:Šablona:Citace elektronické monografie]] | |||
[[cy:Nodyn:Dyf gwe]] | |||
[[da:Skabelon:Kilde www]] | |||
[[de:Vorlage:Cite web]] | |||
[[el:Πρότυπο:Cite web]] | |||
[[et:Mall:Netiviide]] | |||
[[eo:Ŝablono:Citaĵo el la reto]] | |||
[[es:Plantilla:Cita web]] | |||
[[fr:Modèle:Lien web]] | |||
[[gu:ઢાંચો:Cite web]] | |||
[[he:תבנית:Cite web]] | |||
[[hr:Predložak:Cite web]] | |||
[[hy:Կաղապար:Cite web]] | |||
[[ia:Patrono:Cite web]] | |||
[[it:Template:Cita web]] | |||
[[ja:Template:Cite web]] | |||
[[ko:틀:웹 인용]] | |||
[[hu:Sablon:Cite web]] | |||
[[mk:Шаблон:Cite web]] | |||
[[mr:साचा:संकेतस्थळ स्रोत]] | |||
[[ms:Templat:Cite web]] | |||
[[nl:Sjabloon:Voetnoot web]] | |||
[[no:Mal:Kilde www]] | |||
[[pl:Szablon:Cytuj stronę]] | |||
[[pt:Predefinição:Citar web]] | |||
[[ro:Format:Citat web]] | |||
[[ru:Шаблон:Cite web]] | |||
[[sk:Šablóna:Cite web]] | |||
[[sl:Predloga:Navedi splet]] | |||
[[sr:Шаблон:Cite web]] | |||
[[sv:Mall:Webbref]] | |||
[[fi:Malline:Verkkoviite]] | |||
[[th:แม่แบบ:Cite web]] | |||
[[uk:Шаблон:Cite web]] | |||
[[ur:Template:Cite web]] | |||
[[vi:Tiêu bản:Chú thích web]] | |||
[[tr:Şablon:Cite web]] | |||
[[zh:Template:Cite web]] | |||
</includeonly> |
Revision as of 02:41, 5 February 2012
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→
This template is used to cite online sources in Wikipedia articles. {{Cite news}} can also be used when citing a news source; for general information about citations in Wikipedia articles, see Wikipedia:Cite sources. A general discussion of the use of templates for adding citations to Wikipedia articles is available at Wikipedia:Citation templates.
Usage
Note: None of the parameters should be capitalised, to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc.—not "URL", "Title", etc.
Common forms with authors in any format
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors
parameter, using any format. Also shown below are two separate date formats that are commonly used in Wikipedia:
- Day Month Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=November 11, 2024}}
Common forms with last1, first1; last2, first2
The examples hereafter will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
- Day Month Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=11 November 2024}}
- Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=November 11, 2024}}
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
- All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
- All parameters, vertical layout
{{cite web |url = |title = |first = |last = |author = |authorlink = |coauthors = |date = |month = |year = |work = |publisher = |location = |page = |pages = |at = |language = |trans_title = |format = |arxiv = |asin = |bibcode = |doi = |doibroken = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Required parameters
- title: Title of source; displays in quotes. Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
Optional parameters
- url: URL of source; must begin with a supported URI scheme:
http://
andhttps://
will be supported by all browsers;irc://
,ircs://
,ftp://
,news://
,mailto:
andgopher://
will require a plugin or an external application.
- The MediaWiki software does not yet support IPv6 host-names. (See bug 21261.)
- URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by
%20
.
sp | " | , | ' | ; | < | > | ? | [ | ] |
---|---|---|---|---|---|---|---|---|---|
%20 | %22 | %2c | %3a | %3b | %3c | %3e | %3f | %5b | %5d |
- Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup
- The link button File:Vector toolbar insert link button.png on the enhanced editing toolbar will encode a link.
- last: Surname of author. Do not wikilink (use authorlink instead).
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
- Template:AuthorMask doc See Examples for typical usage.
- authorlink: Title of Wikipedia article about author (not the author's personal website). Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with author or first and last.
- coauthors: Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
- Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
- first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
- OR: author: Full name of author, preferably surname first. (deprecated) Do not wikilink (use authorlink instead).
- OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then et al. is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.
- editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically displays "in" before the editor's name and "ed." after. This implies that the author is responsible only for part of the work and the editor responsible for the whole work. If, however, the author(s) and editor(s) are responsible for the whole work, then the editor parameter or its alternates described below should not be used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s).
- OR: alternatively editor-first and editor-last can be used in the same way as first and last.
- OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
- editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.
- others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
- a date parameter
- either date: Full date of publication. Should not be wikilinked.
- or year and month: Year of publication, and Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
- format: Format, e.g. PDF. HTML implied if not specified.
- work: In most cases this is the name of the website (as usually given in the logo/banner area of the site), otherwise the site's domain name. If the titled item being cited is part of some other larger work, such as a book, periodical or organizational sub-site (e.g., the law school's section of a university's website system), it is usually better to use the name of that more specific work than that of the entire site. Do not italicize; the software will do so automatically.
- publisher: The name of the entity that publishes (owns or controls) the website. Commonly, this is a government agency, educational institution, or business. For many websites, the author and publisher are the same, and only one needs to be included in the citation; prefer publisher for organizations, author (or first/last) for individuals. Please note that Template:Em; that is the work, except in cases where the business name is identical to the site name. For example, the corporation Walmart is the publisher of the website at walmart.com, which is the work; Amazon.com is the publisher of the website at amazon.com, which need not be specified as the work, as this would be redundant. For republished works, generally use the original publisher information (including location, date, etc., and it is often more appropriate to use {{cite book}}, {{cite news}}, etc. with a
|url=
parameter instead of{{cite web}}
).- location: Geographical location of the publisher (or headquarters thereof).
- a page parameter
- either page: Page number if a multi-page web article and referencing a single page. "page=5" produces p. 5.
- or pages: Page numbers if a multi-page web article and referencing more than one page. "pages=5–7" produces pp. 5–7. This is for listing the pages relevant to the citation, not a total number of pages.
- or at: Position within the resource when
|page=
/|pages=
is inappropriate, e.g.|at=para. 14
(when citing a source without page numbers) or|at=no. 456
(something in a numbered list). This parameter is ignored if|page=
/|pages=
is specified.
- language: language of publication (do not specify "English" as this is the default).
- trans_title: A translated title of the article, in case the original title is in a foreign language. Would normally be used in conjunction with the language parameter.
- edition: When the work has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so
|edition=2nd
produces "2nd ed.". - arxiv: ArXiv
- asin: The Amazon Standard Identification Number used for the main web site.
- bibcode: The document's bibcode in the Astrophysics Data System, e.g., 1924MNRAS..84..308E.
- doi:A digital object identifier for the document, such as 10.1038/news070508-7
- isbn: International Standard Book Number such as 1-111-22222-9. Note that
|isbn=
, like all field names, must be in lowercase. The field must not be wikilinked as the template automatically creates a link. The template is insensitive to formatting so an ISBN number without dashes ("-") may be used (e.g.|isbn=1111222229
), though ISBNs with correctly formatted dashes are preferred (see Wikipedia:ISBN and ISBN). Please use the 13-digit ISBN where possible; this can normally be found beneath the barcode as a number beginning 978 or 979. For books with the older SBN system (9 digits), use this field but prefix the number with a zero; thus SBN 902888-45-5 should be entered as|isbn=0-902888-45-5
. More information about this feature and its advantages is available at Wikipedia:ISBN. - issn: The publication's International Standard Serial Number such as 1111-2220. The eight-figure ISSN may be split into two groups of four using a hyphen; but not an N-dash or a space.
- jfm: Jahrbuch über die Fortschritte der Mathematik
- jstor: Makes a link to a JSTOR article or journal determined by a given parameter. The main purpose is to use as part of an
id
option in a {{cite journal}} reference. - lccn: Library of Congress Control Number.
- mr: Mathematical Reviews.
- oclc: Online Computer Library Center ID number, such as 3185581. The field must not be wikilinked as the template automatically creates a link.
- ol: Open Library
- osti: Office of Scientific and Technical Information.
- pmc: The document's PubMed Central article number (PMCID) for full-text free repository of an article, such as 246835
- pmid: The document's PubMed Unique Identifier, such as 15128012
- rfc: Request for Comments.
- ssrn: Social Science Research Network.
- zbl: Zentralblatt MATH.
- id: A unique identifier, used if none of the preceding are applicable. In this case, you need to specify the kind of identifier you are using.
- archive parameters (if either archiveurl or archivedate is used, both parameters must be used together)
- archiveurl: The URL of an archived copy of the page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
- archivedate: Date when the item was archived. Should not be wikilinked.
- deadurl: Should be set to "yes"/"no" to indicate if the original link is dead or live. Setting
|deadurl=no
will change the main link to the original url.
- accessdate: Full date when item was accessed. Should not be wikilinked. This should be given if the publication date is unknown; see Citation styles.
- quote: Relevant quote from online item.
- ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value
|ref=ID
generates an anchor with the givenID
; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value|ref=harv
generates an anchor suitable for the {{harv}} template; see anchors for Harvard referencing templates. - separator: The separator to use in lists of authors, editors, etc. Defaults to ".", but "," may be useful also. If the field is present, but blank, no separator will be used.
- postscript: The closing punctuation for the citation. If specified, over-rides the default behaviour of terminating the citation with a full stop. If the field is present, but blank, no terminating punctuation will be used. This may be useful when generating an output consistent with other templates. It is preferred to manually adding ending punctuation, as the punctuation occurs within the <cite> tag, so will appear before any icons added by browser plugins. Ignored if
|quote=
is specified.
Duplicate periods
By default, {{cite web}} separates some fields with periods, so do not encode those fields ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as Camelot, Inc.
but "publisher=Camelot, Inc." will incorrectly show as Camelot, Inc..
Examples
- Some standard use cases
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using format
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honni soit qui mal y pense |author=Joliet, François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
→ Template loop detected: Template:Cite web
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005 }}
→ Template loop detected: Template:Cite web
- Using coauthors
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Smith, Peter; Smythe, Jim |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |first=John |last=Doe |coauthors=Peter Smith; Jim Smythe |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=16 May 2006 }}
→ Template loop detected: Template:Cite web
- No author, no publisher
This abbreviated format should only be used when the editor cannot determine the publisher and author.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
→ Template loop detected: Template:Cite web
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
→ Template loop detected: Template:Cite web
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 }}
→ Template loop detected: Template:Cite web
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=yes }}
→ Template loop detected: Template:Cite web
{{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, Inc. |accessdate =6 June 2008 |format = online |ref = harv | archiveurl = http://www.webcitation.org/5yo0HaAk7 |archivedate = 19 May 2011| deadurl=no }}
→ Template loop detected: Template:Cite web
- Using "quote"
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |work=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
→ Template loop detected: Template:Cite web
See also
- {{Citation}}
- {{Cite book}}
- {{Cite journal}}
- {{Cite news}}
- {{Cite video}}
- Citation bot
- Citation templates
- Citing sources
- Citing sources/example style
- Digital Object Identifier
- Zotero
fa:الگو:یادکرد وب af:Sjabloon:Webaanhaling ar:قالب:مرجع وب az:Şablon:Cite web be:Шаблон:Cite web be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web ckb:داڕێژە:بیرخستنەوەی وێب cs:Šablona:Citace elektronické monografie cy:Nodyn:Dyf gwe da:Skabelon:Kilde www de:Vorlage:Cite web el:Πρότυπο:Cite web et:Mall:Netiviide eo:Ŝablono:Citaĵo el la reto es:Plantilla:Cita web fr:Modèle:Lien web gu:ઢાંચો:Cite web he:תבנית:Cite web hr:Predložak:Cite web hy:Կաղապար:Cite web ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web mr:साचा:संकेतस्थळ स्रोत ms:Templat:Cite web nl:Sjabloon:Voetnoot web no:Mal:Kilde www pl:Szablon:Cytuj stronę pt:Predefinição:Citar web ro:Format:Citat web ru:Шаблон:Cite web sk:Šablóna:Cite web sl:Predloga:Navedi splet sr:Шаблон:Cite web sv:Mall:Webbref fi:Malline:Verkkoviite th:แม่แบบ:Cite web ur:Template:Cite web vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web