Neidio i'r cynnwys

Nodyn:Cite web/doc

Oddi ar Wicidestun

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

[golygu]

Common forms with authors in any format

[golygu]

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=1 Rhagfyr 2024}}
Month Day, Year
{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=Rhagfyr 1, 2024}}

Common forms with last1, first1; last2, first2

[golygu]

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=1 Rhagfyr 2024}}
Month Day, Year
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |work= |publisher= |accessdate=Rhagfyr 1, 2024}}

All parameters

[golygu]

When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed. None of the parameters should be capitalised, or the template will not work as intended. For example, use "url", "title", etc. - not "URL", "Title", etc.

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
All parameters,
vertical layout
Common parameters,
vertical layout,
multiple authors
Common parameters,
vertical layout,
single author
{{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 =
}}
{{cite web
 | url = 
 | title = 
 | last1 = 
 | first1 = 
 | last2 = 
 | first2 = 
 | date = 
 | work = 
 | publisher = 
 | accessdate = 
}}
{{cite web
 | url = 
 | title = 
 | author = 
 | date = 
 | work = 
 | publisher = 
 | accessdate = 
}}

Examples

[golygu]

{{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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

{{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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |date=30 April 2005 |accessdate=6 July 2005 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |author=Doe, John |accessdate=6 July 2005 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=6 July 2005 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=6 July 2005 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.
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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.
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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.
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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.
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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

{{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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.
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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.
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}}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=6 July 2005}}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

{{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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.
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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

{{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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

{{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 }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.
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 ...' }}

  • Lua error in package.lua at line 80: module 'Module:Citation/CS1/Configuration' not found.

Parameters

[golygu]

Syntax

[golygu]

Nodyn:Csdoc

Nodyn:Csdoc

Nodyn:Csdoc

Description

[golygu]

Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc Nodyn:Csdoc

Nodyn:Citation Style 1 Nodyn:Wikipedia referencing Nodyn:UF-COinS

Mae'n fformatio'r cyfeiriad i wefan gan ddefnyddio'r wybodaeth a ddarperir ee URL a theitl. Dylid ei defnyddio ar gyfer ffynonellau pan na ellir defnyddio Nodion eraill ee llyfr, cylchgrawn, newyddion ayb.

Paramedrau'r nodyn

This template prefers inline formatting of parameters.

ParamedrDisgrifiadMathStatws
URLurl URL

The URL of the online location where the text of the publication can be found. Requires schemes of the type "http://..." or maybe even the  protocol relative scheme "//..."

Enghraifft
gov.wales/...
Llinynangenrheidiol
Teitltitle

The title of the source page on the website; will display with quotation marks added. Usually found at the top of you web browser. Not the name of the website.

Llinynangenrheidiol
Source datedate

Full date when the source was published; if unknown, use access-date instead; do not wikilink

Dyddiadsuggested
URL access dateaccess-date accessdate

The full date when the original URL was accessed; do not wikilink

Dyddiadsuggested
Gwefanwebsite work

Name of the website; may be wikilinked; will display in italics. Having both 'Publisher' and 'Website' is redundant in most cases

Enghraifft
Llywodraeth Cymru
Llinynsuggested
Publisherpublisher

Name of the publisher; may be wikilinked. Having both 'Publisher' and 'Website' is redundant in most cases.

Enghraifft
"CBS Interactive" which owns "Metacritic.com"
Llinyndewisol
Cyfenwlast last1 author author1 author1-last author-last surname1 author-last1 subject1 surname author-last subject

The surname of the author; don't wikilink, use 'authorlink'; can suffix with a numeral to add additional authors

Llinellsuggested
Enw cyntaffirst given author-first first1 given1 author-first1 author1-first

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

Llinellsuggested
Author linkauthorlink author-link subjectlink subject-link authorlink1 author-link1 author1-link subjectlink1 author1link subject-link1 subject1-link subject1link

Title of existing Wikipedia article about the author; can suffix with a numeral to add additional authors

Page namedewisol
Last name 2last2 author2

The surname of the second author; don't wikilink, use 'authorlink2'.

Llinelldewisol
First name 2first2

Given or first name, middle names, or initials of the second author; don't wikilink.

Llinelldewisol
Author link 2authorlink2 author2-link

Title of existing Wikipedia article about the second author.

Page namedewisol
Year of publicationyear

Year of the source being referenced; use 'date' instead, if month and day are also known

Llinyndewisol
Original yearorigyear

Original year of publication; provide specifics

Llinyndewisol
Editor last nameeditor-last editor1-last editor editors

The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors.

Llinelldewisol
Editor first nameeditor-first editor1-first

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'

Llinelldewisol
Editor linkeditor-link editor1-link

Title of existing Wikipedia article about the editor; can suffix with a numeral to add additional editors

Page namedewisol
Series identifierseries

Series identifier when the source is part of a series, such as a book series or a journal

Llinyndewisol
Location of publicationlocation

Geographical place of publication; usually not wikilinked; omit when the publication name includes place; alias of 'place'

Llinyndewisol
Publication datepublication-date

Date of publication when different from the date the work was written; do not wikilink

Llinyndewisol
Pagepage

Page in the source that supports the content; displays after 'p.'

Llinyndewisol
Pagespages

Pages in the source that support the content (not an indication of the number of pages in the source; displays after 'pp.'

Llinyndewisol
No ppnopp

Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover')

Llinyndewisol
Atat

May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient

Llinyndewisol
Languagelanguage

The language in which the source is written, if not English; use the full language name; do not use icons or templates

Llinyndewisol
Translated titletrans-title trans_title

An English language title, if the source cited is in a foreign language; 'language' is recommended

Llinyndewisol
Formatformat

Format of the work referred to by 'url'; examples: PDF, DOC, XLS; do not specify HTML

Llinyndewisol
arXiv identifierarxiv

An identifier for arXive electronic preprints of scientific papers

Llinyndewisol
ASINasin

Amazon Standard Identification Number; 10 characters

Llinyndewisol
ASIN TLDasin-tld

ASIN top-level domain for Amazon sites other than the US

Llinyndewisol
Bibcodebibcode

Bibliographic Reference Code (REFCODE); 19 characters

Llinyndewisol
DOIdoi

Digital Object Identifier; begins with '10.'

Llinyndewisol
DOI broken datedoi-broken-date

The date that the DOI was determined to be broken

Llinyndewisol
ISBNisbn

International Standard Book Number; use the 13-digit ISBN where possible

Llinyndewisol
ISSNissn

International Standard Serial Number; 8 characters; may be split into two groups of four using a hyphen

Llinyndewisol
jfm codejfm

Jahrbuch über die Fortschritte der Mathematik classification code

Llinyndewisol
JSTORjstor

JSTOR identifier

Llinyndewisol
LCCNlccn

Library of Congress Control Number

Llinyndewisol
MRmr

Mathematical Reviews identifier

Llinyndewisol
OCLCoclc

Online Computer Library Center number

Llinyndewisol
OLol

Open Library identifier

Llinyndewisol
OSTIosti

Office of Scientific and Technical Information identifier

Llinyndewisol
PMCpmc

PubMed Center article number

Llinyndewisol
PMIDpmid

PubMed Unique Identifier

Llinyndewisol
RFCrfc

Request for Comments number

Llinyndewisol
SSRNssrn

Social Science Research Network

Llinyndewisol
Zblzbl

Zentralblatt MATH journal identifier

Llinyndewisol
idid

A unique identifier used where none of the specialized ones are applicable

Llinyndewisol
Archive URLarchiveurl

The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'

Llinynsuggested
Archive datearchivedate

Date when the original URL was archived; do not wikilink

Llinynsuggested
Dead URLdeadurl

If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live

Llinynsuggested
Quotequote

Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation

Llinyndewisol
Refref

An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv template

Llinyndewisol
Separatorseparator

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

Yn ddiofyn
.
Llinyndewisol
Postscriptpostscript

The closing punctuation for the citation; ignored if 'quote' is defined

Yn ddiofyn
.
Llinyndewisol
Lay sourcelaysource

Name of the source of the laysummary; displays in italics, preceded by an en dash

Llinyndewisol
Lay datelaydate

Date of the summary; displays in parentheses

Llinyndewisol
Author maskauthor-mask

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

Llinyndewisol
Last name 3last3 author3

The surname of the third author; don't wikilink, use 'authorlink3'.

Llinelldewisol
First name 3first3

Given or first name, middle names, or initials of the third author; don't wikilink.

Llinelldewisol
Author link 3authorlink3 author3-link

Title of existing Wikipedia article about the third author.

Page namedewisol
Last name 4last4 author4

The surname of the fourth author; don't wikilink, use 'authorlink4'.

Llinelldewisol
First name 4first4

Given or first name, middle names, or initials of the fourth author; don't wikilink.

Llinelldewisol
Author link 4authorlink4 author4-link

Title of existing Wikipedia article about the fourth author.

Page namedewisol
Last name 5last5 author5

The surname of the fifth author; don't wikilink, use 'authorlink5'.

Llinelldewisol
First name 5first5

Given or first name, middle names, or initials of the fifth author; don't wikilink.

Llinelldewisol
Author link 5authorlink5 author5-link

Title of existing Wikipedia article about the fifth author.

Page namedewisol
Last name 6last6 author6

The surname of the sixth author; don't wikilink, use 'authorlink6'.

Llinelldewisol
First name 6first6 author6-link

Given or first name, middle names, or initials of the sixth author; don't wikilink.

Llinelldewisol
Author link 6authorlink6

Title of existing Wikipedia article about the sixth author.

Page namedewisol
Last name 7last7 author7

The surname of the seventh author; don't wikilink, use 'authorlink7'.

Llinelldewisol
First name 7first7

Given or first name, middle names, or initials of the seventh author; don't wikilink.

Llinelldewisol
Author link 7authorlink7 author7-link

Title of existing Wikipedia article about the seventh author.

Page namedewisol
Last name 8last8 author8

The surname of the eighth author; don't wikilink, use 'authorlink8'.

Llinelldewisol
First name 8first8

Given or first name, middle names, or initials of the eighth author; don't wikilink.

Llinelldewisol
Author link 8authorlink8 author8-link

Title of existing Wikipedia article about the eighth author.

Page namedewisol
Last name 9last9 author9

The surname of the ninth author; don't wikilink, use 'authorlink9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author.

Llinelldewisol
First name 9first9

Given or first name, middle names, or initials of the ninth author; don't wikilink.

Llinelldewisol
Author link 9authorlink9 author9-link

Title of existing Wikipedia article about the ninth author.

Page namedewisol
Author name separatorauthor-name-separator

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

Yn ddiofyn
,
Llinyndewisol
Author separatorauthor-separator

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

Yn ddiofyn
;
Llinyndewisol
Display authorsdisplay-authors displayauthors

Number of authors to display before 'et al.' is used; default is to do so after 8 of 9 are listed.

Yn ddiofyn
8
Rhifdewisol
Last author ampersandlastauthoramp

When set to any value, changes the separator between the last two names of the author list to 'space ampersand space'

Llinyndewisol
Editor last name 2editor2-last editor2

The surname of the second editor; don't wikilink, use 'editor2-link'.

Llinelldewisol
Editor first name 2editor2-first

Given or first name, middle names, or initials of the second editor; don't wikilink.

Llinelldewisol
Editor last name 3editor3-last editor3

The surname of the third editor; don't wikilink, use 'editor3-link'.

Llinelldewisol
Editor first name 3editor3-first

Given or first name, middle names, or initials of the third editor; don't wikilink.

Llinelldewisol
Editor last name 4editor4-last editor4

The surname of the fourth editor; don't wikilink, use 'editor4-link'.

Llinelldewisol
Editor first name 4editor4-first

Given or first name, middle names, or initials of the fourth editor; don't wikilink.

Llinelldewisol
Editor last name 5editor5-last editor5

The surname of the fifth editor; don't wikilink, use 'editor5-link'.

Llinelldewisol
Editor first name 5editor5-first

Given or first name, middle names, or initials of the fifth editor; don't wikilink.

Llinelldewisol
Editor last name 6editor6-last editor6

The surname of the sixth editor; don't wikilink, use 'editor6-link'.

Llinelldewisol
Editor first name 6editor6-first

Given or first name, middle names, or initials of the sixth editor; don't wikilink.

Llinelldewisol
Editor last name 7editor7-last editor7

The surname of the seventh editor; don't wikilink, use 'editor7-link'.

Llinelldewisol
Editor first name 7editor7-first

Given or first name, middle names, or initials of the seventh editor; don't wikilink.

Llinelldewisol
Editor last name 8editor8-last editor8

The surname of the eighth editor; don't wikilink, use 'editor8-link'.

Llinelldewisol
Editor first name 8editor8-first

Given or first name, middle names, or initials of the eighth editor; don't wikilink.

Llinelldewisol
Editor last name 9editor9-last editor9

The surname of the ninth editor; don't wikilink, use 'editor9-link'.

Llinelldewisol
Editor first name 9editor9-first

Given or first name, middle names, or initials of the ninth editor; don't wikilink.

Llinelldewisol
Editor link 2editor2-link editor2link editorlink2

Title of existing Wikipedia article about the second editor.

Page namedewisol
Editor link 3editor3-link editor3link editorlink3

Title of existing Wikipedia article about the third editor.

Page namedewisol
Editor link 4editor4-link editor4link editorlink4

Title of existing Wikipedia article about the fourth editor.

Page namedewisol