Template:Cite web/doc

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 Cite sources. A general discussion of the use of templates for adding citation of open-source web content to Wikipedia articles is available at Citation templates.

Usage
Note: None of the parameters should be capitalised, in order to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc. - not "URL", "Title", etc.

Common forms with authors in any format
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 authors parameter, using any format. Also shown below are three separate date formats that are commonly used in Wikipedia:


 * YYYY-MM-DD:


 * Day Month Year:


 * Month Day, Year:

Common forms with last1, first1; last2, first2
The examples below will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:


 * YYYY-MM-DD:


 * Day Month Year:


 * Month Day, Year:

All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.


 * All parameters, horizontal layout:


 * All parameters, vertical layout:

Required parameters

 * url: URL of online item. Start the url with the communications protocol, e.g. http://.
 * title: Title of online item. This title will appear as the citation itself, hyperlinked to the URL.

Optional parameters

 * author: Author
 * last works with first to produce
 * authorlink works either with author or with last & first to link to the appropriate wikipedia article. Does not work with URLs.
 * coauthors: allows additional authors
 * a date parameter:
 * either date: Full date of publication. Should not be wikilinked.
 * or year: Year of publication, and month: Name of the month of publication. If you also have the day, use date instead. Should not be wikilinked.
 * format: Format, e.g. PDF. HTML implied if not specified.
 * work: If this item is part of a larger "work", such as a book, periodical or website, write the name of that work.
 * publisher: Publisher, if any—for example if the website is hosted by a government service, educational institution, or company. The publisher is not usually the name of the website (that is usually the work). If the publisher cannot be found on the site, try whois. For self-published works, e.g. blogs, use ; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value harv generates an anchor suitable for the harv template; see anchors for Harvard referencing templates.
 * separator / postscript: The punctuation to use between fields / at the end of the citation

Duplicate periods
By default, cite web separates fields with periods, so don't encode a field ending with a period or a duplicate period will be added. Example: "publisher=Camelot, Inc" will correctly show as  but "publisher=Camelot, Inc." will incorrectly show as

Examples

 * Some standard use cases












 * Using format


 * Foreign language and translated title


 * coauthors




 * No author

This abbreviated format should only be used when the editor cannot determine the publisher and author.
 * No author, no publisher






 * Using "archiveurl" and "archivedate" for webpages that have been archived




 * Using "quote"

af:Sjabloon:Webaanhaling be-x-old:Шаблён:Спасылка bg:Шаблон:Цитат уеб ca:Plantilla:Citar web cs:Šablona:Citace elektronické monografie 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 ia:Patrono:Cite web it:Template:Cita web ja:Template:Cite web ko:틀:웹 인용 hu:Sablon:Cite web mk:Шаблон:Cite web 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 vi:Tiêu bản:Chú thích web tr:Şablon:Cite web zh:Template:Cite web