Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Cite web/doc: Difference between revisions

Template page
Updated documentation to explain use of {{{editor-last}}}, {{{editor-first}}}, {{{editorlink}}}/{{{editor-link}}}, {{{coeditors}}} and {{{editor-type}}}
Fix language-code links to use Wikipedia interwiki prefixes
 
(11 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{esoteric}}
{{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]].}}
{{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/row}} as well. Experiments can be conducted in the template [[Template:Cite web/sandbox|sandbox]].}}
===Usage===
===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}}.
This template may be used to cite websites which are not serial publications (journals, magazines and newspapers) – for such sources, use {{tl|Cite journal}}.
Line 9: Line 9:


;Common form for situations where no author of the web page is stated (with current date)
;Common form for situations where no author of the web page is stated (with current date)
<tt><nowiki>{{cite web |title= |url= |format= |work= |publisher= |date= |dateformat= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |postscript= }}</nowiki></tt>
<code><nowiki>{{cite web |title= |url= |format= |work= |publisher= |date= |dateformat= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |postscript= }}</nowiki></code>


;Using the {{para|author}} parameter (with current date)
;Using the {{para|author}} parameter (with current date)
<tt><nowiki>{{cite web |author= |authorlink= |coauthors= |editor= |editor-link= |coeditors= |editor-type= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |page= |pages= |language= |quote= |postscript= }}</nowiki></tt>
<code><nowiki>{{cite web |author= |authorlink= |coauthors= |editor= |editor-link= |coeditors= |editor-type= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |page= |pages= |language= |quote= |postscript= }}</nowiki></code>


;Using the {{para|last}} and {{para|first}} parameters (with current date)
;Using the {{para|last}} and {{para|first}} parameters (with current date)
<tt><nowiki>{{cite web |last= |first= |authorlink= |coauthors= |editor-last= |editor-first= |editor-link= |coeditors= |editor-type= |title= |url= |format= |archiveurl= |archivedate= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |page= |pages= |language= |quote= |postscript= }}</nowiki></tt>
<code><nowiki>{{cite web |last= |first= |authorlink= |coauthors= |editor-last= |editor-first= |editor-link= |coeditors= |editor-type= |title= |url= |format= |archiveurl= |archivedate= |work= |publisher= |date= |dateformat= |month= |year= |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> |page= |pages= |language= |quote= |postscript= }}</nowiki></code>


;All parameters in a horizontal format (delete the ones you do not need)
;All parameters in a horizontal format (delete the ones you do not need)
<tt><nowiki>{{cite web |last= |first= |author= |authorlink= |coauthors= |editor-last= |editor-first= |editor= |editor-link= |coeditors= |editor-type= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate= |accessdaymonth= |accessmonthday= |accessyear= |page= |pages= |language= |quote= |postscript= }}</nowiki></tt>
<code><nowiki>{{cite web |last= |first= |author= |authorlink= |coauthors= |editor-last= |editor-first= |editor= |editor-link= |coeditors= |editor-type= |title= |url= |archiveurl= |archivedate= |format= |work= |publisher= |date= |dateformat= |month= |year= |accessdate= |accessdaymonth= |accessmonthday= |accessyear= |page= |pages= |language= |quote= |postscript= }}</nowiki></code>


;All parameters, vertical format
;All parameters, vertical format
Line 63: Line 63:
!Description
!Description
|-
|-
|colspan=2 bgcolor=silver|'''Names of author(s)'''
|colspan=2 bgcolor=silver|'''Authors and editors'''
|-
|-
|align=center|last
|align=center|last
Line 74: Line 74:
|-
|-
|align=center|authorlink
|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).
|The name of a Wikipedia article about the author, like this: "<code>w:Mark Twain</code>" (for the article "{{w|Mark Twain}}" in the English Wikipedia) or "<code>w:de:Friedrich Schiller</code>" (for the article "[[ww:de:Friedrich Schiller|Friedrich Schiller]]" in the German Wikipedia).
|-
|-
|align=center|coauthors
|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>".)
|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: "<code><nowiki>[[w:Harry Woolf, Baron Woolf|Lord Woolf]]; Jeffrey Jowell; Andrew Le Sueur; Catherine M. Donnelly</nowiki></code>". (You may also link to an article at the English Wikipedia like this: "<code><nowiki>[[w:Mark Twain|Mark Twain]]</nowiki></code>" or "<code><nowiki>{{w|Mark Twain}}</nowiki></code>".)
|-
|align=center|editor
|rowspan=3|The name of the editor of the web page. Alternatively, specify the editor's first and last names using {{para|editor-first}} and {{para|editor-last}}.
|-
|-
|align=center|editor-last
|align=center|editor-last
|rowspan=2|The last and first names of the primary editor of the web page. Alternatively, specify the primary editor's name using {{para|editor}}.
|-
|-
|align=center|editor-first
|align=center|editor-first
|-
|-
|align=center|editor-link<br>editorlink
|align=center|editor
|The name of the editor of the web page. Alternatively, specify the editor's first and last names using {{para|editor-first}} and {{para|editor-last}}.
|-
|align=center|editor-link<br />editorlink
|The name of a Wikipedia article about the editor. For guidance on how to use this parameter, see {{para|authorlink}} above.
|The name of a Wikipedia article about the editor. For guidance on how to use this parameter, see {{para|authorlink}} above.
|-
|-
Line 104: Line 105:
|-
|-
|align=center|archiveurl
|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.
|The URL of the web page at which the original web page has been archived using a service such as the [https://archive.org Internet Archive] or [https://www.webcitation.org WebCite]. If you use this parameter, {{para|archivedate}} must be used as well.
|-
|-
|align=center|archivedate
|align=center|archivedate
Line 110: Line 111:
|-
|-
|align=center|format
|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.
|The format of the document at the web page, such as "<code>DOC</code>" for a {{w|Microsoft Word}} document or "<code>PDF</code>" for a document in the {{w|Portable Document Format}}. It is not necessary to specify "<code>HTML</code>" as a web page is assumed to be in HTML if no format is specified.
|-
|-
|align=center|accessdate
|align=center|accessdate
Line 117: Line 118:
|align=center|accessdaymonth
|align=center|accessdaymonth
|rowspan=3|The parameters {{para|accessdaymonth}}, {{para|accessmonthday}} and {{para|accessyear}} can be used instead of {{para|accessdate}}, like this:
|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 2010".
*<code><nowiki>accessdaymonth=10 May</nowiki></code> and <code><nowiki>accessyear=2010</nowiki></code> produce "Retrieved on 10 May 2010".
*<tt><nowiki>accessmonthday=May 10</nowiki></tt> and <tt><nowiki>accessyear=2010</nowiki></tt> produce "Retrieved on May 10, 2010".
*<code><nowiki>accessmonthday=May 10</nowiki></code> and <code><nowiki>accessyear=2010</nowiki></code> produce "Retrieved on May 10, 2010".
|-
|-
|align=center|accessmonthday
|align=center|accessmonthday
Line 127: Line 128:
|-
|-
|align=center|work
|align=center|work
|The name of the website in which the web page appears. The name may be wikilinked, like this: "<tt><nowiki>{{w|Singapore Infopedia}}</nowiki></tt>" (for the English Wikipedia), "<tt><nowiki>[[:fr:Wikipédia|Wikipédia]]</nowiki></tt>".
|The name of the website in which the web page appears. The name may be wikilinked, like this: "<code><nowiki>{{w|Singapore Infopedia}}</nowiki></code>" (for the English Wikipedia), "<code><nowiki>[[:fr:Wikipédia|Wikipédia]]</nowiki></code>".
|-
|-
|align=center|publisher
|align=center|publisher
Line 133: Line 134:
|-
|-
|align=center|date
|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}}.
|The date when the article appeared in the journal. It may be entered a format such as "<code>4 July 2010</code>", "<code>July 4, 2010</code>" or "<code>2010-07-04</code>". Alternatively, state just the month and year of publication or the year of publication alone using {{para|month}} and {{para|year}}.
|-
|-
|align=center|dateformat
|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>".
|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: "<code>dmy</code>", "<code>mdy</code>", "<code>ymd</code>" or "<code>{{w|ISO 8601#Calendar dates|ISO 8601}}</code>".
|-
|-
|align=center|month
|align=center|month
Line 146: Line 147:
|-
|-
|align=center|page
|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>".
|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: "<code>520–534</code>".


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>".
For a PDF document, you can use {{para|page}} to link to a specific page within the document like this: "<code><nowiki>page=[http://www.example.org/file.pdf#page=123 123]</nowiki></code>".
|-
|-
|align=center|pages
|align=center|pages
|-
|-
|align=center|language
|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.
|The language of the web page, wikilinked to a Wikipedia article if desired. It is not necessary to specify "<code>English</code>" as this it is assumed that a web page is in English if no language is specified.
|-
|-
|align=center|quote
|align=center|quote
Line 159: Line 160:
|-
|-
|align=center|postscript
|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>".
|By default, a {{w|full stop}} (period) is displayed at the end of the citation. To suppress the full stop, use "<code>postscript=no</code>". To specify a comma or some other punctuation mark, use "<code>postscript=,</code>". Colons and semicolons must be surrounded by <nowiki><nowiki></nowiki> tags, like this: "<code><nowiki>postscript=<nowiki>;</nowiki></nowiki></code>".
|}
|}


Line 168: Line 169:
!width=50%|Result
!width=50%|Result
|- valign=top
|- 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>
|<code><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></code>
|{{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}}
|{{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
|- 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>
|<code><nowiki>{{cite web |last=Twain |first=Mark |authorlink=w:Mark Twain |coauthors=Smith, Peter; Smythe, Jim |editor=Shakespeare, William, ed. |editorlink=w: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></code>
|{{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}}
|{{cite web |last=Twain |first=Mark |authorlink=w:Mark Twain |coauthors=Smith, Peter; Smythe, Jim |editor=Shakespeare, William, ed. |editorlink=w: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
|- 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>
|<code><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></code>
|{{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}}
|{{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
|- 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>
|<code><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></code>
|{{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}}
|{{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
|- 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>
|<code><nowiki>{{cite web |title=My Favorite Things Part II |date=April 30, 2005 |url=http://www.example.org | accessdate=July 6, 2005}}</nowiki></code>
|{{cite web |title=My Favorite Things Part II |date=April 30, 2005 |url=http://www.example.org | accessdate=July 6, 2005}}
|{{cite web |title=My Favorite Things Part II |date=April 30, 2005 |url=http://www.example.org | accessdate=July 6, 2005}}
|- valign=top
|- 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>
|<code><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></code>
|{{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}}
|{{cite web |title=List of psychotropic substances under international control |url=http://www.incb.org/pdf/e/list/green.pdf |format=PDF |archiveurl=https://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
|- 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>
|<code><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></code>
|{{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.}}
|{{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===
{{Citation templates}}
*{{tl|Citation}}
*{{tl|Cite book}}
*{{tl|Cite journal}}


<!--ADD INTERWIKIS AND CATEGORIES HERE.-->
<!-- ADD INTERWIKIS ON WIKIDATA 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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.