Template:Cite web/doc: Difference between revisions
More actions
cat |
Updated documentation subpage |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
This template is used | {{esoteric}} | ||
{{mbox|type=notice|text=This template is used by {{tl|Published}}. If you add or remove parameters from this template, please update {{tl|Published}} and {{tl|Published/core}} as well. Experiments can be conducted in the template [[Template:Cite web/sandbox|sandbox]].}} | |||
===Usage=== | |||
This template may be used to cite websites which are not serial publications (journals, magazines and newspapers) – for such sources, use {{tl|Cite journal}}. | |||
===Template=== | |||
You may copy the sample templates below for use in other pages. Unused parameters can be omitted. | |||
;Common form for situations where no author of the web page is stated (with current date) | |||
;Common form for | <tt><nowiki>{{cite web |title= |url= |format= |work= |publisher= |date= |dateformat= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |postscript= }}</nowiki></tt> | ||
<tt><nowiki>{{cite web |url= | | |||
;Using | ;Using the {{para|author}} parameter (with current date) | ||
<tt><nowiki>{{cite web |url= | | <tt><nowiki>{{cite web |author= |authorlink= |coauthors= |editor= |editorlink= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |page= |pages= |language= |quote= |postscript= }}</nowiki></tt> | ||
;Using | ;Using the {{para|last}} and {{para|first}} parameters (with current date) | ||
<tt><nowiki>{{cite web |url= | | <tt><nowiki>{{cite web |last= |first= |authorlink= |coauthors= |editor= |editorlink= |title= |url= |format= |archiveurl= |archivedate= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |page= |pages= |language= |quote= |postscript= }}</nowiki></tt> | ||
; | ;All parameters in a horizontal format (delete the ones you do not need) | ||
<tt><nowiki>{{cite web | | <tt><nowiki>{{cite web |last= |first= |author= |authorlink= |coauthors= |editor= |editorlink= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate= |accessdaymonth= |accessmonthday= |accessyear= |page= |pages= |language= |quote= |postscript= }}</nowiki></tt> | ||
;All parameters, vertical format | ;All parameters, vertical format | ||
<pre>{{cite web | <pre>{{cite web | ||
| | |last = | ||
| | |first = | ||
| | |author = | ||
| | |authorlink = | ||
| | |coauthors = | ||
| | |editor = | ||
| | |editorlink = | ||
| | |title = | ||
| | |url = | ||
| | |archiveurl = | ||
| | |archivedate = | ||
| date = | |format = | ||
| | |work = | ||
| month = | |publisher = | ||
| | |date = | ||
| | |dateformat = | ||
| | |month = | ||
| | |year = | ||
| | |accessdate = | ||
| | |accessdaymonth = | ||
| | |accessmonthday = | ||
| quote = | |accessyear = | ||
|page = | |||
|pages = | |||
|language = | |||
|quote = | |||
|postscript = | |||
}}</pre> | }}</pre> | ||
=== | ===Parameters=== | ||
All parameters are optional unless otherwise indicated. | |||
; | {| class=wikitable | ||
|- | |||
| | !Parameter | ||
| | !Description | ||
| url=http://www. | |- | ||
| | |colspan=2 bgcolor=silver|'''Names of author(s)''' | ||
| | |- | ||
}}</nowiki>< | |align=center|last | ||
| | |rowspan=2|The last and first names of the primary author of the web page. Alternatively, specify the primary author's name using {{para|author}}. | ||
| | |- | ||
| | |align=center|first | ||
|- | |||
|align=center|author | |||
|The primary author's name. Alternatively, specify the author's first and last names using {{para|first}} and {{para|last}}. | |||
|- | |||
|align=center|authorlink | |||
|The name of a Wikipedia article about the author, like this: "<tt>:en:Mark Twain</tt>" (for the article "{{w|Mark Twain}}" in the English Wikipedia) or "<tt>:de:Friedrich Schiller</tt>" (for the article "[[:de:Friedrich Schiller|Friedrich Schiller]]" in the German Wikipedia). | |||
|- | |||
|align=center|coauthors | |||
|The name(s) of the co-author(s) of the web page. Names can be {{w|Help:Link#Wikilinks|wikilinked}}, if desired. Separate a series of names with semicolons, like this: "<tt><nowiki>[[:en:Harry Woolf, Baron Woolf|Lord Woolf]]; Jeffrey Jowell; Andrew Le Sueur; Catherine M. Donnelly</nowiki></tt>". (You may also link to an article at the English Wikipedia like this: "<tt><nowiki>[[w:Mark Twain|Mark Twain]]</nowiki></tt>" or "<tt><nowiki>{{w|Mark Twain}}</nowiki></tt>".) | |||
|- | |||
|align=center|editor | |||
|The name of the editor of the web page. | |||
|- | |||
|align=center|editorlink | |||
|The name of a Wikipedia about the editor. | |||
|- | |||
|colspan=2 bgcolor=silver|'''Title''' | |||
|- | |||
|align=center|title | |||
|'''Mandatory''': The title of the article. | |||
|- | |||
|align=center|url | |||
|'''Mandatory''': The {{w|Universal Resource Locator|URL}} (Internet address) of the web page. | |||
|- | |||
|align=center|archiveurl | |||
|The URL of the web page at which the original web page has been archived using a service such as the [http://www.archive.org Internet Archive] or [http://www.webcitation.org WebCite]. If you use this parameter, {{para|archivedate}} must be used as well. | |||
|- | |||
|align=center|archivedate | |||
|The date when the original web page was archived. This parameter must be used together with {{para|archiveurl}}. | |||
|- | |||
|align=center|format | |||
|The format of the document at the web page, such as "<tt>DOC</tt>" for a {{w|Microsoft Word}} document or "<tt>PDF</tt>" for a document in the {{w|Portable Document Format}}. It is not necessary to specify "<tt>HTML</tt>" as a web page is assumed to be in HTML if no format is specified. | |||
|- | |||
|align=center|accessdate | |||
|The date when the web page on which the article appears was accessed. | |||
|- | |||
|align=center|accessdaymonth | |||
|rowspan=3|The parameters {{para|accessdaymonth}}, {{para|accessmonthday}} and {{para|accessyear}} can be used instead of {{para|accessdate}}, like this: | |||
*<tt><nowiki>accessdaymonth=10 May</nowiki</tt> and <tt><nowiki>accessyear=2010</nowiki></tt> produce "Retrieved on 10 May 2006". | |||
*<tt><nowiki>accessmonthday=May 10</nowiki</tt> and <tt><nowiki>accessyear=2010</nowiki></tt> produce "Retrieved on May 10, 2006". | |||
|- | |||
|align=center|accessmonthday | |||
|- | |||
|align=center|accessyear | |||
|- | |||
|colspan=2 bgcolor=silver|'''Imprint''' | |||
|- | |||
|align=center|work | |||
|The name of the website in which the web page appears. The name may be wikilinked, like this: "<tt><nowiki>[[Singapore Infopedia]]</nowiki></tt>". | |||
|- | |||
|align=center|publisher | |||
|The name of the publisher of the journal. The name may be wikilinked. | |||
|- | |||
|align=center|date | |||
|The date when the article appeared in the journal. It may be entered a format such as "<tt>4 July 2010</tt>", "<tt>July 4, 2010</tt>" or "<tt>2010-07-04</tt>". Alternatively, state just the month and year of publication or the year of publication alone using {{para|month}} and {{para|year}}. | |||
|- | |||
|align=center|dateformat | |||
|If {{para|dateformat}} is not specified, readers who are logged in will see the date formatted according to their "Date format" preferences. Alternatively, one of the following date formats can be specified: "<tt>dmy</tt>", "<tt>mdy</tt>", "<tt>ymd</tt>" or "<tt>{{w|ISO 8601#Calendar dates|ISO 8601}}</tt>". | |||
|- | |||
|align=center|month | |||
|rowspan=2|Use {{para|month}} and {{para|year}} to state the month and the year of the web page, or {{para|year}} alone to specify the year of publication. Alternatively, provide a full date using {{para|date}}. | |||
|- | |||
|align=center|year | |||
|- | |||
|colspan=2 bgcolor=silver|'''Other parameters''' | |||
|- | |||
|align=center|page | |||
|rowspan=2|If the document at a web page has page numbers, use {{para|page}} to specify the first page number, or {{para|pages}} to specify the first and last page numbers. Separate a span of pages with an {{w|dash#En dash|en dash}}, like this: "<tt>520–534</tt>". | |||
For a PDF document, you can use {{para|page}} to link to a specific page within the document like this: "<tt><nowiki>page=[http://www.example.org/file.pdf#page=123 123]</nowiki></tt>". | |||
|- | |||
|align=center|pages | |||
|- | |||
|align=center|language | |||
|The language of the web page, wikilinked to a Wikipedia article if desired. It is not necessary to specify "<tt>English</tt>" as this it is assumed that a web page is in English if no language is specified. | |||
|- | |||
|align=center|quote | |||
|A quotation from the article. | |||
|- | |||
|align=center|postscript | |||
|By default, a {{w|full stop}} (period) is displayed at the end of the citation. To suppress the full stop, use "<tt>postscript=no</tt>". To specify a comma or some other punctuation mark, use "<tt>postscript=,</tt>". Colons and semicolons must be surrounded by <nowiki><nowiki></nowiki> tags, like this: "<tt><nowiki>postscript=<nowiki>;</nowiki></nowiki></tt>". | |||
|} | |||
==Examples== | |||
{| class=wikitable | |||
}}</nowiki>< | |- | ||
!Wikitext | |||
!Result | |||
|- valign=top | |||
|<tt><nowiki>{{cite web |author=John Doe |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}}</nowiki></tt> | |||
|{{cite web |author=John Doe |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}} | |||
|- valign=top | |||
|<tt><nowiki>{{cite web |last=Twain |first=Mark |authorlink=:en:Mark Twain |coauthors=Smith, Peter; Smythe, Jim |editor=Shakespeare, William, ed. |editorlink=:en:William Shakespeare |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=2005-04-30 |accessdate=2006-05-16}}</nowiki></tt> | |||
|{{cite web |last=Twain |first=Mark |authorlink=:en:Mark Twain |coauthors=Smith, Peter; Smythe, Jim |editor=Shakespeare, William, ed. |editorlink=:en:William Shakespeare |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=2005-04-30 |accessdate=2006-05-16}} | |||
|- valign=top | |||
|<tt><nowiki>{{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |publisher=International Narcotics Control Board |accessdate=July 6, 2005}}</nowiki></tt> | |||
|{{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |publisher=International Narcotics Control Board |accessdate=July 6, 2005}} | |||
|- valign=top | |||
|<tt><nowiki>{{cite web |author=François Joliet |title=Honnit soit qui mal y pense |url=http://www.example.org |date=30 April 2005 |language={{w|French language|French}} |accessdate=6 July 2005}}</nowiki></tt> | |||
|{{cite web |author=François Joliet |title=Honnit soit qui mal y pense |url=http://www.example.org |date=30 April 2005 |language={{w|French language|French}} |accessdate=6 July 2005}} | |||
|- valign=top | |||
|<tt><nowiki>{{cite web |title=My Favorite Things Part II |date=April 30, 2005 |url=http://www.example.org | accessdate=July 6, 2005}}</nowiki></tt> | |||
|{{cite web |title=My Favorite Things Part II |date=April 30, 2005 |url=http://www.example.org | accessdate=July 6, 2005}} | |||
|- valign=top | |||
|<tt><nowiki>{{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 |date=30 April 2005 |accessdate=6 July 2005}}</nowiki></tt> | |||
|{{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 |date=30 April 2005 |accessdate=6 July 2005}} | |||
|- valign=top | |||
|<tt><nowiki>{{cite web |title=My Favorite Things Part II |url=http://www.example.org |work=Encyclopedia of Things |accessdate=6 July 2005 |quote=Lorem ipsum dolor.}}</nowiki></tt> | |||
|{{cite web |title=My Favorite Things Part II |url=http://www.example.org |work=Encyclopedia of Things |accessdate=6 July 2005 |quote=Lorem ipsum dolor.}} | |||
|} | |||
===See also=== | |||
*{{tl|Citation}} | |||
*{{tl|Cite book}} | |||
*{{tl|Cite journal}} | |||
* | |||
* | |||
* | |||
| | |||
<!--ADD INTERWIKIS AND CATEGORIES HERE.--> | |||
<includeonly> | <includeonly> | ||
[[Category:Citation templates|{{PAGENAME}}]] | [[Category:Citation templates|{{PAGENAME}}]] | ||
[[fa:الگو:یادکرد وب]] | |||
[[af:Sjabloon:Webaanhaling]] | |||
[[ar:قالب:مرجع وب]] | |||
[[az:Şablon:Cite web]] | |||
[[be-x-old:Шаблён:Спасылка]] | |||
[[bg:Шаблон:Цитат уеб]] | |||
[[ca:Plantilla:Citar web]] | |||
[[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]] | |||
[[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]] | |||
[[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> | </includeonly> | ||
Revision as of 15:54, 14 December 2010
Usage
This template may be used to cite websites which are not serial publications (journals, magazines and newspapers) – for such sources, use {{Cite journal}}.
Template
You may copy the sample templates below for use in other pages. Unused parameters can be omitted.
- Common form for situations where no author of the web page is stated (with current date)
{{cite web |title= |url= |format= |work= |publisher= |date= |dateformat= |accessdate=21 August 2026 |postscript= }}
- Using the
|author=parameter (with current date)
{{cite web |author= |authorlink= |coauthors= |editor= |editorlink= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=21 August 2026 |page= |pages= |language= |quote= |postscript= }}
- Using the
|last=and|first=parameters (with current date)
{{cite web |last= |first= |authorlink= |coauthors= |editor= |editorlink= |title= |url= |format= |archiveurl= |archivedate= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=21 August 2026 |page= |pages= |language= |quote= |postscript= }}
- All parameters in a horizontal format (delete the ones you do not need)
{{cite web |last= |first= |author= |authorlink= |coauthors= |editor= |editorlink= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate= |accessdaymonth= |accessmonthday= |accessyear= |page= |pages= |language= |quote= |postscript= }}
- All parameters, vertical format
{{cite web
|last =
|first =
|author =
|authorlink =
|coauthors =
|editor =
|editorlink =
|title =
|url =
|archiveurl =
|archivedate =
|format =
|work =
|publisher =
|date =
|dateformat =
|month =
|year =
|accessdate =
|accessdaymonth =
|accessmonthday =
|accessyear =
|page =
|pages =
|language =
|quote =
|postscript =
}}
Parameters
All parameters are optional unless otherwise indicated.
| Parameter | Description |
|---|---|
| Names of author(s) | |
| last | The last and first names of the primary author of the web page. Alternatively, specify the primary author's name using |author=.
|
| first | |
| author | The primary author's name. Alternatively, specify the author's first and last names using |first= and |last=.
|
| authorlink | The name of a Wikipedia article about the author, like this: ":en:Mark Twain" (for the article "Mark Twain" in the English Wikipedia) or ":de:Friedrich Schiller" (for the article "Friedrich Schiller" in the German Wikipedia). |
| coauthors | The name(s) of the co-author(s) of the web page. Names can be wikilinked, if desired. Separate a series of names with semicolons, like this: "[[:en:Harry Woolf, Baron Woolf|Lord Woolf]]; Jeffrey Jowell; Andrew Le Sueur; Catherine M. Donnelly". (You may also link to an article at the English Wikipedia like this: "[[w:Mark Twain|Mark Twain]]" or "{{w|Mark Twain}}".) |
| editor | The name of the editor of the web page. |
| editorlink | The name of a Wikipedia about the editor. |
| Title | |
| title | Mandatory: The title of the article. |
| url | Mandatory: The URL (Internet address) of the web page. |
| archiveurl | The URL of the web page at which the original web page has been archived using a service such as the Internet Archive or WebCite. If you use this parameter, |archivedate= must be used as well.
|
| archivedate | The date when the original web page was archived. This parameter must be used together with |archiveurl=.
|
| format | The format of the document at the web page, such as "DOC" for a Microsoft Word document or "PDF" for a document in the Portable Document Format. It is not necessary to specify "HTML" as a web page is assumed to be in HTML if no format is specified. |
| accessdate | The date when the web page on which the article appears was accessed. |
| accessdaymonth | The parameters |accessdaymonth=, |accessmonthday= and |accessyear= can be used instead of |accessdate=, like this:
|
| accessmonthday | |
| accessyear | |
| Imprint | |
| work | The name of the website in which the web page appears. The name may be wikilinked, like this: "[[Singapore Infopedia]]". |
| publisher | The name of the publisher of the journal. The name may be wikilinked. |
| date | The date when the article appeared in the journal. It may be entered a format such as "4 July 2010", "July 4, 2010" or "2010-07-04". Alternatively, state just the month and year of publication or the year of publication alone using |month= and |year=.
|
| dateformat | If |dateformat= is not specified, readers who are logged in will see the date formatted according to their "Date format" preferences. Alternatively, one of the following date formats can be specified: "dmy", "mdy", "ymd" or "ISO 8601".
|
| month | Use |month= and |year= to state the month and the year of the web page, or |year= alone to specify the year of publication. Alternatively, provide a full date using |date=.
|
| year | |
| Other parameters | |
| page | If the document at a web page has page numbers, use |page= to specify the first page number, or |pages= to specify the first and last page numbers. Separate a span of pages with an en dash, like this: "520–534".
For a PDF document, you can use |
| pages | |
| language | The language of the web page, wikilinked to a Wikipedia article if desired. It is not necessary to specify "English" as this it is assumed that a web page is in English if no language is specified. |
| quote | A quotation from the article. |
| postscript | By default, a full stop (period) is displayed at the end of the citation. To suppress the full stop, use "postscript=no". To specify a comma or some other punctuation mark, use "postscript=,". Colons and semicolons must be surrounded by <nowiki> tags, like this: "postscript=<nowiki>;</nowiki>". |
Examples
| Wikitext | Result |
|---|---|
| {{cite web |author=John Doe |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=30 April 2005 |work=Encyclopedia of Things |accessdate=6 July 2005}} | John Doe (30 April 2005). My Favorite Things Part II. Encyclopedia of Things. Open Publishing. Retrieved on 6 July 2005. |
| {{cite web |last=Twain |first=Mark |authorlink=:en:Mark Twain |coauthors=Smith, Peter; Smythe, Jim |editor=Shakespeare, William, ed. |editorlink=:en:William Shakespeare |title=My Favorite Things Part II |url=http://www.example.org |publisher=Open Publishing |date=2005-04-30 |accessdate=2006-05-16}} | Twain, Mark; Smith, Peter; Smythe, Jim; Shakespeare, William, ed., ed. (2005-04-30). My Favorite Things Part II. Open Publishing. Retrieved on 2006-05-16. |
| {{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |publisher=International Narcotics Control Board |accessdate=July 6, 2005}} | List of psychotropic substances under international control (PDF). International Narcotics Control Board. Retrieved on July 6, 2005. |
| {{cite web |author=François Joliet |title=Honnit soit qui mal y pense |url=http://www.example.org |date=30 April 2005 |language={{w|French language|French}} |accessdate=6 July 2005}} | François Joliet (30 April 2005). Honnit soit qui mal y pense (french). Retrieved on 6 July 2005. |
| {{cite web |title=My Favorite Things Part II |date=April 30, 2005 |url=http://www.example.org | accessdate=July 6, 2005}} | My Favorite Things Part II (April 30, 2005). Retrieved on July 6, 2005. |
| {{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf |archivedate=11 September 2005 |date=30 April 2005 |accessdate=6 July 2005}} | List of psychotropic substances under international control (PDF) (30 April 2005). Archived from the original on 11 September 2005. Retrieved on 6 July 2005. |
| {{cite web |title=My Favorite Things Part II |url=http://www.example.org |work=Encyclopedia of Things |accessdate=6 July 2005 |quote=Lorem ipsum dolor.}} | My Favorite Things Part II. Encyclopedia of Things. Retrieved on 6 July 2005. "Lorem ipsum dolor." |
See also