Template:Cite web/doc
File:Edit-copy green.svg | This is a documentation subpage for Template:Cite web. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
File:AWB logo draft.png | This template is used by the standard installation of AutoWikiBrowser (AWB). If you are planning to make changes to this template, how it should be used, or nominate it for deletion, please notify AWB's user base and maintainers beforehand at Wikipedia talk:AWB as a courtesy. |
![]() |
This template has recently been updated to use the Lua programming language. The new template should render citations just like the old template in most cases. This template is more efficient and uses fewer resources, thus pages will load faster. If you see a problem, please report it on the talk page.
Another improvement is in the number of authors and editors: these are now unlimited. For example, you can use last1 through last100 and beyond, using common sense of course. There is also more error checking: we haven't added more red error messages yet, but we do place pages in error categories. There have been some outstanding issues that have been resolved that were difficult to fix or where the fix caused performance issues in the old template. The documentation will be updated soon to reflect these changes. |
This Citation Style 1 template is used to create citations for web sources that are not characterized by another CS1 template.
Usage
Template:Citation Style documentation/usage
Template:Citation Style documentation/usage common For references with author credit
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |website= |publisher= |accessdate=3 May 2025}}
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |website= |publisher= |accessdate=May 3, 2025}}
For references without author credit
{{cite web |url= |title= |author=<!--Staff writer(s); no by-line.--> |date= |website= |publisher= |accessdate=3 May 2025}}
{{cite web |url= |title= |author=<!--Staff writer(s); no by-line.--> |date= |website= |publisher= |accessdate=May 3, 2025}}
|}
Template:Citation Style documentation/usage full
{{cite web |url= |title= |last= |first= |author= |authorlink= |last2= |first2= |author2= |authorlink2= |date= |month= |year= |editor-last= |editor-first= |editor= |editor-link= |editor1-last= |editor1-first= |editor1-link= |editor2-last= |editor2-first= |editor2-link= |editors= |website= |series= |publisher= |location= |page= |pages= |at= |language= |trans_title= |type= |format= |arxiv= |asin= |bibcode= |doi= |doi_brokendate= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
|} Template:Citation Style documentation/usage vertical
{{cite web |url = |title = |last1 = |first1 = |authorlink1 = |last2 = |first2 = |authorlink2 = |date = |month = |year = |editor-last = |editor-first = |editor = |editor-link = |editor1-last = |editor1-first= |editor1-link = |editor2-last = |editor2-first= |editor2-link = |editors = |website = |series = |publisher = |location = |page = |pages = |at = |language = |trans_title = |type = |format = |arxiv = |asin = |bibcode = |doi = |doi_brokendate = |isbn = |issn = |jfm = |jstor = |lccn = |mr = |oclc = |ol = |osti = |pmc = |pmid = |rfc = |ssrn = |zbl = |id = |archiveurl = |archivedate = |deadurl = |accessdate = |quote = |ref = |separator = |postscript = }}
Template:Citation Style documentation/usage vertical mid
Template:Citation Style documentation/usage vertical mid
Template:Citation Style documentation/usage vertical end Template:Citation Style documentation/usage vertical common
{{cite web |url = |title = |last = |first = |date = |website = |publisher = |accessdate = }}
|}
Examples
{{cite web |url = http://www.example.org/ |title = My Favorite Things, Part II |last = Doe |first = John |publisher = Open Publishing |date = 30 April 2005 |website = Encyclopedia of Things |accessdate= 6 July 2005 }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
{{cite web |url = http://www.example.org/ |title = My Favorite Things, Part II |last = Doe |first = John |date = 30 April 2005 |website = Encyclopedia of Things |accessdate= 6 July 2005 }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
{{cite web |url = http://www.example.org/ |title = My Favorite Things, Part II |last = Doe |first = John |date = 30 April 2005 |accessdate= 6 July 2005 }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
{{cite web |url = http://www.example.org/ |title = My Favorite Things, Part II |last = Doe |first = John |accessdate= 6 July 2005 }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}
- {{#invoke:citation/CS1|citation
|CitationClass=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 }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honi soit qui mal y pense |last=Joliet |first=François |date=30 April 2005 |accessdate=6 July 2005 |language=French |trans_title=Shame on those who think evil }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |website=Encyclopedia of Things |accessdate=6 July 2005 }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |last1=Doe |first1=John |last2=Smith |first2=Peter |last3=Smythe |first3=Jim |publisher=Open Publishing |date=30 April 2005 |website=Encyclopedia of Things |accessdate=16 May 2006 }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |website=Encyclopedia of Things |accessdate=16 May 2006 }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |website=Encyclopedia of Things |accessdate=6 July 2005}}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}
- {{#invoke:citation/CS1|citation
|CitationClass=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 }}
- {{#invoke:citation/CS1|citation
|CitationClass=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 }}
- {{#invoke:citation/CS1|citation
|CitationClass=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=no }}
- {{#invoke:citation/CS1|citation
|CitationClass=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 |ref=harv | archiveurl=http://www.webcitation.org/5yo0HaAk7 |archivedate=19 May 2011| deadurl=no }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
Using quote
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |website=WebExhibits |year=2008 |accessdate=27 September 2009 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...' }}
- {{#invoke:citation/CS1|citation
|CitationClass=web }}
Parameters
Syntax
Template:Citation Style documentation/syntax
Template:Citation Style documentation/coins
Template:Citation Style documentation/sep period
Deprecated
Template:Citation Style documentation/deprecated
Description
Authors
Template:Citation Style documentation/author
Title
Template:Citation Style documentation/web Template:Citation Style documentation/type Template:Citation Style documentation/language
Date
Template:Citation Style documentation/date
Publisher
Template:Citation Style documentation/publisher
Series
- series or version: When the source is part of a series, such as a book series or a journal where the issue numbering has restarted. Alias: agency.
In-source locations
Template:Citation Style documentation/pages
URL
Template:Citation Style documentation/url
Anchor
Template:Citation Style documentation/ref
Identifiers
Template:Citation Style documentation/id1 Template:Citation Style documentation/id2
Quote
Template:Citation Style documentation/quote
Editors
Template:Citation Style documentation/editor
Laysummary
Template:Citation Style documentation/lay
Display options
- author-mask: Replaces the name of the first author with em dashes or text. Set author-mask to a numeric value n to set the dash n em spaces wide; set author-mask to a text value to display the text without a trailing author separator; for example, "with". You must still include the values for all authors for metadata purposes. Primarily intended for use with bibliography styles where multiple works by a single author are listed sequentially. Do not use in a list generated by {{reflist}},
<references />
or similar as there is no control of the order in which references are displayed. - author-name-separator: Changes the separator between last and first names; defaults to a comma and space (
,
); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as 
do not use an asterisk (*
), colon (:
) or hash (#
) as they will be interpreted as wikimarkup. - author-separator: Changes the separator between authors; defaults to a semicolon and space (
;
); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as 
do not use an asterisk (*
), colon (:
) or hash (#
) as they will be interpreted as wikimarkup. - display-authors: By default, the number of authors displayed is limited to 8; if 9 are provided, the ninth is displayed as "et al." This parameter allows display of fewer authors before the "et al."; for example, use
|display-authors=2
for only two authors. The "et al." may be suppressed altogether by setting|display-authors=9
. Aliases: displayauthors.
- lastauthoramp: When set to any value, changes the separator between the last two names of the author list to space ampersand space (
&
). - postscript: The closing punctuation for the citation; defaults to a period(
.
); if the parameter is present, but blank, no terminating punctuation will be used. Ignored if quote is defined. - separator: The punctuation used to separate lists of authors, editors, etc. Defaults to a period (
.
); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as 
do not use an asterisk (*
), colon (:
) or hash (#
) as they will be interpreted as wikimarkup.
|
|
This template produces COinS metadata; see COinS in Wikipedia for background information.