Template:Cite web

From TechInfoDepot
Jump to navigationJump to search

.

Documentation icon Template documentation[view] [edit] [history] [purge]

Template:AWB standard installation

Template:Citation Style documentation/cs1 Template:Citation Style documentation/lead

Usage

Template:Citation Style documentation/usage Template:Citation Style documentation/usage common For references with author credit

{{cite web |url= |title= |last= |first= |date= |website= |publisher= |access-date= |quote=}}

For references without author credit

{{cite web |url= |title= |author=<!--Not stated--> |date= |website= |publisher= |access-date= |quote=}}

Template:End Template:Citation Style documentation/usage vertical common Template:Tj Template:End Template:Citation Style documentation/usage full

{{cite web |url= |url-access= |title= |last= |first= |author= |author-link= |last2= |first2= |author2= |author-link2= |date= |year= |orig-date= |editor-last= |editor-first= |editor= |editor-link= |editor-last2= |editor-first2= |editor-link2= |editors= |department= |website= |series= |publisher= |agency= |location= |page= |pages= |at= |language= |script-title= |trans-title= |type= |format= |arxiv= |asin= |bibcode= |doi= |doi-broken-date= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |access-date= |url-status= |archive-url= |archive-date= |via= |quote= |trans-quote= |ref= |postscript=}}

Template:End Template:Citation Style documentation/usage vertical

{{cite web
| url          = 
| url-access   = 
| title        = 
| last         = 
| first        = 
| author-link  = 
| last2        = 
| first2       = 
| author-link2 = 
| date         = 
| year         = 
| orig-date    = 
| editor-last  = 
| editor-first = 
| editor-link  = 
| editor2-last = 
| editor2-first= 
| editor2-link = 
| department   = 
| website      = 
| series       = 
| publisher    = 
| agency       = 
| location     = 
| page         = 
| pages        = 
| at           = 
| language     = 
| script-title = 
| trans-title  = 
| type         = 
| format       = 
| arxiv        = 
| asin         = 
| bibcode      = 
| doi          = 
| doi-broken-date= 
| isbn         = 
| issn         = 
| jfm          = 
| jstor        = 
| lccn         = 
| mr           = 
| oclc         = 
| ol           = 
| osti         = 
| pmc          = 
| pmid         = 
| rfc          = 
| ssrn         = 
| zbl          = 
| id           = 
| access-date  = 
| url-status   = 
| archive-url  = 
| archive-date = 
| via          = 
| quote        = 
| ref          = 
| postscript   = }}

Template:Citation Style documentation/usage vertical mid

 
 
 
 
 
last
 
last
last2
 
 
 
 
 
editor-last
 
editor-last
editor2-last
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
url
url, archive-url
url, archive-date
archive-url
 
 
 
 
 
 

Template:Citation Style documentation/usage vertical mid

 
required
 
required
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Template:Citation Style documentation/usage vertical end

Choosing between Template:cite web and Template:cite news

Before 2014, editors had to decide whether to use {{cite web}} or {{cite news}} based on their features. In 2014, most of the differences between the two templates were eliminated.

As of 29 July 2016, {{cite web}} and {{cite news}} have the following differences:

  • {{cite news}} can be used for offline (paper) sources whereas {{cite web}} generates a missing URL error when no URL is provided
  • {{cite news}} accepts |issue= and |volume= parameters while {{cite web}} does not (See Template:Slink; see also {{cite magazine}}).

But given the same set of valid parameters, their output is exactly the same:

cite web: Silverman, Dwight (July 15, 2011). "Microsoft envisions a universal OS, but it might not be called Windows". Houston Chronicle (Hearst Corporation). https://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/.
cite news: Silverman, Dwight (July 15, 2011). "Microsoft envisions a universal OS, but it might not be called Windows". Houston Chronicle (Hearst Corporation). https://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/.

Examples

Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2 Template:Markup2

Using "format="

When this template detects a link whose URL includes an extension of ".pdf" or ".PDF", typical of PDF files, it automatically displays a PDF icon after the link (regardless of whether the link goes to a PDF file or to an HTML landing page, typical of paysites). It also internally acts as if |format=PDF had been specified, which displays " (PDF)" after the icon. (In this case, an explicit |format=PDF parameter would be redundant, so it is not recommended to add it. Users may remove it. Citation bot, when invoked, will remove it. (ref))

If the link is to a PDF file that is not automatically recognizable by its extension, this template does not display the PDF icon. You may add the parameter |format=PDF, which displays " (PDF)" after the link (but no PDF icon).

For links to files in other formats, no icon is displayed. For example, for an .odt file, you may add the parameter |format=ODT, which displays " (ODT)" after the link.

Foreign language and translated title

Template:Markup2

Using author-link

Template:Markup2

Multiple authors

Template:Markup2

No author

Template:Markup2

No author, no publisher

Template:Markup2 Template:Markup2 Template:Markup2

Using "archive-url" and "archive-date" (and optionally "url-status") for webpages that have been archived

By default, if "archive-url" is used, the parameter |url-status=dead is assumed and the resulting main link is to the archived version:

Template:Markup2

When |url-status=live is specified, the resulting main link is to the original page:

Template:Markup2

With |url-status=unfit or usurped, the original is not linked at all:

Template:Markup2

Using quote

Parameters

Syntax

Template:Citation Style documentation/syntax Template:Citation Style documentation/sep period

COinS

Template:Citation Style documentation/coins

What's new

Template:Citation Style documentation/whats new

Deprecated

Template:Citation Style documentation/deprecated

Description

Authors

Template:Citation Style documentation/author

Title

Template:Citation Style documentation/web Template:Citation Style documentation/type Template:Citation Style documentation/language

Date

Template:Citation Style documentation/date

Website

Template:Citation Style documentation/journal

Publisher

Template:Citation Style documentation/publisher Template:Citation Style documentation/agency

Series

Template:Citation Style documentation/series

In-source locations

Template:Citation Style documentation/pages

URL

Template:Citation Style documentation/url

Access-date

See Template:Slink.

Anchor

Not to be confused with #Identifiers.

Template:Citation Style documentation/ref

Identifiers

Not to be confused with #Anchor.

Template:Citation Style documentation/id1 Template:Citation Style documentation/id2

Quote

Template:Citation Style documentation/quote

Editors

Template:Citation Style documentation/editor

Display options

Template:Citation Style documentation/display

Subscription or registration required

Template:Citation Style documentation/registration

Notes

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