Template:Cite web/doc

From Roovet | Articles
Jump to navigation Jump to search

Lua error in Module:Effective_protection_level at line 63: attempt to index field 'TitleBlacklist' (a nil value).

Template:AWB standard installation Template:Csdoc Template:Csdoc

Template:Csdoc Do not use this template in the "External links" section of articles.

Usage[edit source]

Template:Csdoc Template:Csdoc 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:Csdoc

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

Template:End Template:Csdoc

{{cite web |url= |url-access= |title= |last= |first= |author= |author-link= |last2= |first2= |author2= |author-link2= |date= |year= |orig-year= |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= |ref= |postscript=}}

Template:End Template:Csdoc

{{cite web
 |url=
 |url-access=
 |title=
 |last=
 |first=
 |author-link=
 |last2=
 |first2=
 |author-link2=
 |date=
 |year=
 |orig-year=
 |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:Csdoc

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

Template:Csdoc

 
required
 
required
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Template:Csdoc

Choosing between Template:cite web and Template:cite news[edit source]

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

As of Template:Diff, {{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: Script error: No such module "citation/CS1".
cite news: Template:Cite news

Examples[edit source]

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

Using "format="[edit source]

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))

Template:Markup2

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.

Template:Markup2

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.

Template:Markup2

Foreign language and translated title[edit source]

Template:Markup2

Using author-link[edit source]

Template:Markup2

Multiple authors[edit source]

Template:Markup2

No author[edit source]

Template:Markup2

No author, no publisher[edit source]

Template:Markup2 Template:Markup2 Template:Markup2

Using "archive-url" and "archive-date" (and optionally "url-status") for webpages that have been archived Template:Anchor[edit source]

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

Template:Markup2

With |url-status=live, the main link is to the original:

Template:Markup2

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

Template:Markup2

Using quote[edit source]

Template:Markup2