Sjabloon:Cite web
44x50px | 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, to run 6-12x times faster. See: WP:Lua-based cite templates. |
This Citation Style 1 template is used to create citations for web sources that are not characterized by another CS1 template.
Usage
Copy a blank version to use. All parameter names must be in lowercase. Use the "|" (pipe) character between each parameter. Delete unused parameters to avoid clutter in the edit window. Some samples may include the current date. If the date is not current, then
the page.
For references with author credit
For references without author credit
|
|
Vertical list | Prerequisites | Brief instructions / notes |
---|---|---|
{{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 = }} |
|
|
- If a field name is listed in the Prerequisites column it is a prerequisite for the field to the left.
Sjabloon: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
Nested parameters rely on their parent parameters:
- parent
- OR: parent2—may be used instead of parent
- child—may be used with parent (and is ignored if parent is not used)
- OR: child2—may be used instead of child (and is ignored if parent2 is not used)
- Where aliases are listed, only one of the parameters may be defined; if multiple aliased parameters are defined, then only one will show.
This template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata; see Wikipedia:COinS.
- Be careful using templates within the citation template, as many will add a lot of extraneous HTML or CSS that will be rendered in the meta-data.
- Known templates that should not be used: {{smallcaps}}.
By default, sets of fields are terminated with a period (.); this can be an issue when the last field in an abbreviation or initial with a period, as two periods then display. The only solution is to not include the last period in the value for the set of fields.
Deprecated
These parameters are deprecated and will no longer work. Use will place the page in Category:Pages containing cite templates with deprecated parameters.
- access-date · accessed · accessdaymonth · accessday · accessmonthday · accessmonth · accessyear: Use accessdate to include the full date of access.
- day: Use date to include the day, month and year.
- dateformat · doilabel: These parameters are no longer supported.
Description
Authors
- last: Surname of author. Do not wikilink—use authorlink instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use last to include the same format as the source. Aliases: last1, author, authors, author1.
- first: Given or first names of author, including title(s); for example: Firstname Middlename or Firstname M. or Dr. Firstname M., Sr. Do not wikilink—use authorlink instead. Aliases: first1.
- OR: for multiple authors, use last1, first1 through last9, first9 for up to nine authors. By default, if nine authors are defined, then only eight will show and "et al." will show in place of the last author; see the display parameters to change. Aliases: author1 through author9.
- authorlink: Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: authorlink1, author-link, author1-link.
- OR: for multiple authors, use authorlink1 through authorlink9. Aliases: author1-link through author9-link.
- coauthors: (deprecated) Names of coauthors. Use the same format as the authors.
- others: To record other contributors to the work, such as Illustrated by John Smith or Translated by John Smith.
- When using Shortened footnotes or Parenthetical referencing styles with templates, do not use multiple names in one field else the anchor will not match the inline link.
Title
Sjabloon:Citation Style documentation/web Sjabloon:Citation Style documentation/type Sjabloon:Citation Style documentation/language
Date
Sjabloon:Citation Style documentation/date
Publisher
Sjabloon:Citation Style documentation/publisher
Series
Sjabloon:Citation Style documentation/series Alias: agency.
In-source locations
Sjabloon:Citation Style documentation/pages
URL
Sjabloon:Citation Style documentation/url
Anchor
Sjabloon:Citation Style documentation/ref
Identifiers
Sjabloon:Citation Style documentation/id1 Sjabloon:Citation Style documentation/id2
Quote
Sjabloon:Citation Style documentation/quote
Editors
- editor-last: Surname of editor. Do not wikilink—use editor-link instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use editor-last to include the same format as the source. Aliases: editor1-last, editor, editors.
- editor-first: Given or first names of editor, including title(s); example: Firstname Middlename or Firstname M. or Dr. Firstname M., Sr. Do not wikilink—use editor-link instead. Aliases: editor1-first.
- OR: for multiple editors, use editor1-last, editor1-first through editor4-last, editor4-first for up to four editors.
- editor-link: Title of existing Wikipedia article about the editor—not the editor's website; do not wikilink. Aliases: editor1-link.
- OR: for multiple editors, use editor1-link through editor4-link.
- Display:
- If authors: Authors are first, followed by the editors and the included work, then the main work.
- If no authors: Editors appear before the included work; a single editor is followed by "ed."; multiple editors are followed by "eds."; more than three editors will be followed by "et al., eds."
Laysummary
Sjabloon:Citation Style documentation/lay
Display options
Sjabloon:Citation Style documentation/display
Template data
<TemplateData> {
"description": "This template formats a citation to a website using the provided information such as URL and title. It should be used only for sources that are not correctly described by the specific citation templates for books, journals, news sources, etc.", "params": { "url": { "label": "URL", "description": "The URL of the online location where the text of the publication can be found", "type": "string", "required": true }, "title": { "label": "Source title", "description": "The title of the source page on the website; will display with quotation marks added", "type": "string", "required": true }, "date": { "label": "Source date", "description": "Full date when the source was published; if unknown, use accessdate instead; do not wikilink", "type": "string", "required": false }, "accessdate": { "label": "URL access date", "description": "The full date when the original URL was accessed; do not wikilink", "type": "string", "required": false }, "website": { "label": "Website title", "description": "Title of the website; may be wikilinked; will display in italics; alias of 'work'", "type": "string", "required": false }, "publisher": { "label": "Publisher", "description": "Name of the publisher", "type": "string", "required": false }, "last": { "label": "Last name", "description": "The surname of the author; don't wikilink, use 'authorlink'; can suffix with a numeral to add additional authors", "type": "string", "required": false }, "first": { "label": "First name", "description": "Given or first name, middle names, or initials of the author; don't wikilink, use 'authorlink'; can suffix with a numeral to add additional authors", "type": "string", "required": false }, "authorlink": { "label": "Author link", "description": "Title of existing Wikipedia article about the author; can suffix with a numeral to add additional authors", "type": "string/wiki-page-name", "required": false }, "others": { "label": "Others", "description": "Used to record other contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith'", "type": "string", "required": false }, "month": { "label": "Month of publication", "description": "Name of the month of publication; do not wikilink; use 'date' instead, if day of month is also known", "type": "string", "required": false }, "year": { "label": "Year of publication", "description": "Year of the source being referenced; use 'date' instead, if month and day are also known", "type": "string", "required": false }, "origyear": { "label": "Original year", "description": "Original year of publication; provide specifics", "type": "string", "required": false }, "editor-last": { "label": "Editor last name", "description": "The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-last', 'editor', and 'editors'", "type": "string", "required": false }, "editor-first": { "label": "Editor first name", "description": "Given or first name, middle names, or initials of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-first'", "type": "string", "required": false }, "editor-link": { "label": "Editor link", "description": "Title of existing Wikipedia article about the editor; can suffix with a numeral to add additional editors; alias of 'editor1-link'", "type": "string/wiki-page-name", "required": false }, "series": { "label": "Series identifier", "description": "Series identifier when the source is part of a series, such as a book series or a journal", "type": "string", "required": false }, "location": { "label": "Location of publication", "description": "Geographical place of publication; usually not wikilinked; omit when the publication name includes place; alias of 'place'", "type": "string", "required": false }, "publication-place": { "label": "Place of publication", "description": "Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at'", "type": "string", "required": false }, "publication-date": { "label": "Publication date", "description": "Date of publication when different from the date the work was written; do not wikilink", "type": "string", "required": false }, "page": { "label": "Page", "description": "Page in the source that supports the content; displays after 'p.'", "type": "string", "required": false }, "pages": { "label": "Pages", "description": "Pages in the source that support the content (not an indication of the number of pages in the source; displays after 'pp.'", "type": "string", "required": false }, "nopp": { "label": "No pp", "description": "Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover')", "type": "string", "required": false }, "at": { "label": "At", "description": "May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient", "type": "string", "required": false }, "language": { "label": "Language", "description": "The language in which the source is written, if not English; use the full language name; do not use icons or templates", "type": "string", "required": false }, "trans_title": { "label": "Translated title", "description": "An English language title, if the source cited is in a foreign language; 'language' is recommended", "type": "string", "required": false }, "type": { "label": "Type", "description": "Additional information about the media type of the source; format in sentence case", "type": "string", "required": false }, "format": { "label": "Format", "description": "Format of the work referred to by 'url'; examples: PDF, DOC, XLS; do not specify HTML", "type": "string", "required": false }, "arxiv": { "label": "arXiv identifier", "description": "An identifier for arXive electronic preprints of scientific papers", "type": "string", "required": false }, "asin": { "label": "AZIN", "description": "Amazon Standard Identification Number; 10 characters", "type": "string", "required": false }, "asin-tld": { "label": "AZIN TLD", "description": "ASIN top-level domain for Amazon sites other than the US", "type": "string", "required": false }, "bibcode": { "label": "Bibcode", "description": "Bibliographic Reference Code (REFCODE); 19 characters", "type": "string", "required": false }, "doi": { "label": "DOI", "description": "Digital Object Identifier; begins with '10.'", "type": "string", "required": false }, "doi_brokendate": { "label": "DOI broken date", "description": "The date that the DOI was determined to be broken", "type": "string", "required": false }, "isbn": { "label": "ISBN", "description": "International Standard Book Number; use the 13-digit ISBN where possible", "type": "string", "required": false }, "issn": { "label": "ISSN", "description": "International Standard Serial Number; 8 characters; may be split into two groups of four using a hyphen", "type": "string", "required": false }, "jfm": { "label": "jfm code", "description": "Jahrbuch über die Fortschritte der Mathematik classification code", "type": "string", "required": false }, "jstor": { "label": "JSTOR", "description": "JSTOR identifier", "type": "string", "required": false }, "lccn": { "label": "LCCN", "description": "Library of Congress Control Number", "type": "string", "required": false }, "mr": { "label": "MR", "description": "Mathematical Reviews identifier", "type": "string", "required": false }, "oclc": { "label": "OCLC", "description": "Online Computer Library Center number", "type": "string", "required": false }, "ol": { "label": "OL", "description": "Open Library identifier", "type": "string", "required": false }, "osti": { "label": "OSTI", "description": "Office of Scientific and Technical Information identifier", "type": "string", "required": false }, "pmc": { "label": "PMC", "description": "PubMed Center article number", "type": "string", "required": false }, "pmid": { "label": "PMID", "description": "PubMed Unique Identifier", "type": "string", "required": false }, "rfc": { "label": "RFC", "description": "Request for Comments number", "type": "string", "required": false }, "ssrn": { "label": "SSRN", "description": "Social Science Research Network", "type": "string", "required": false }, "zbl": { "label": "Zbl", "description": "Zentralblatt MATH journal identifier", "type": "string", "required": false }, "id": { "label": "id", "description": "A unique identifier used where none of the specialized ones are applicable", "type": "string", "required": false }, "archiveurl": { "label": "Archive URL", "description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archivedate'", "type": "string", "required": false }, "archivedate": { "label": "Archive date", "description": "Date when the original URL was archived; do not wikilink", "type": "string", "required": false }, "deadurl": { "label": "Dead URL", "description": "If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live", "type": "string", "required": false }, "quote": { "label": "Quote", "description": "Relevant text quoted from the source; displays last, enclosed in quotes; needs to include terminating punctuation", "type": "string", "required": false }, "ref": { "label": "Ref", "description": "An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv template", "type": "string", "required": false }, "separator": { "label": "Separator", "description": "The punctuation used to separate lists of authors, editors, etc.; a space must be encoded as do not use an asterisk, colon, or hash mark", "type": "string", "default": ".", "required": false }, "postscript": { "label": "Postscript", "description": "The closing punctuation for the citation; ignored if 'quote' is defined", "type": "string", "default": ".", "required": false }, "layurl": { "label": "Lay URL", "description": "URL link to a non-technical summary or review of the source; alias of 'laysummary'", "type": "string", "required": false }, "laysource": { "label": "Lay source", "description": "Name of the source of the laysummary; displays in italics, preceded by an en dash", "type": "string", "required": false }, "laydate": { "label": "Lay date", "description": "Date of the summary; displays in parentheses", "type": "string", "required": false }, "author-mask": { "label": "Author mask", "description": "Replaces the name of the first author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead", "type": "string", "required": false }, "author-name-separator": { "label": "Author name separator", "description": "Changes the separator between last and first names; defaults to a comma and space; a space must be encoded as do not use an asterisk, colon, or hash mark", "type": "string", "default": ", ", "required": false }, "author-separator": { "label": "Author separator", "description": "Changes the separator between authors; defaults to a semicolon and space; a space must be encoded as do not use an asterisk, colon, or hash mark", "type": "string", "default": "; ", "required": false }, "display-authors": { "label": "Display authors", "description": "number of authors to display before 'et al.' is used; default is to do so after 8 of 9 are listed; alias of 'displayauthors'", "type": "number", "default": "8", "required": false }, "lastauthoramp": { "label": "Last author ampersand", "description": "When set to any value, changes the separator between the last two names of the author list to 'space ampersand space'", "type": "string", "required": false } }
} </TemplateData>
See also
Sjabloon:Citation Style 1 {{#invoke: Navbox | navbox }} This template produces COinS metadata; see COinS in Wikipedia for background information.
The above documentation is transcluded from Sjabloon:Cite web/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |