ઢાંચો:cite-web/documentation

વિકિકોશમાંથી
Documentation for ઢાંચો:cite-web. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Usage[ફેરફાર કરો]

This template may be used for creating citations in "References" sections and on discussion pages. Do not use the template for online versions of books or journal articles (including magazines and newspapers) – use {{cite-book}} or {{cite-journal}} instead.

For indicating quotations in dictionary entries, use {{quote-web}}.

Sample templates[ફેરફાર કરો]

Most commonly used parameters
{{cite-web|author=|authorlink=|title=|url=|archiveurl=|archivedate=|work=|publisher=|date=|accessdate=|text=}}
All available parameters
{{cite-web|author=|last=|first=|authorlink=|author2=|last2=|first2=|authorlink2=|author3=|last3=|first3=|authorlink3=|author4=|last4=|first4=|authorlink4=|author5=|last5=|first5=|authorlink5=|coauthors=|quotee=|editor=|editors=|title=|trans-title=|titleurl=|entry=|trans-entry=|entryurl=|work=|trans-work=|url=|archiveurl=|archivedate=|edition=|format=|location=|publisher=|date=|month=|year=|year_published=|accessdate=|volume=|page=|pages=|pageurl=|section=|sectionurl=|column=|columns=|columnurl=|text=|passage=|text_block=|passage_block=|t=|translation=|lang=}}

Certain basic parameters can be used in the template without any named parameters, as follows:

#* {{cite-web|[date]|[author]|[title]|[work]|[url]|[passage]|[translation]}}

These numbered parameters will not work if any of the parameters contains an equals ("=") sign. To work around this, replace the equals sign with the {{==}} template (which generates an equals sign in the output): http://foo.com?id{{=}}bar in place of http://foo.com?id=bar.

The following example:

{{cite-web|author=Jim Fay|title=The Choctaw Expression ‘Okeh’ and the Americanism ‘Okay’|url=http://www.illinoisprairie.info/chocokeh.htm|archiveurl=https://web.archive.org/web/20101224185657/http://www.illinoisprairie.info/chocokeh.htm|archivedate=24 December 2010|work=Illinoisprairie.info|date=16 September 2009}}.

produces this:

Jim Fay (16 September 2009), “The Choctaw Expression ‘Okeh’ and the Americanism ‘Okay’”, in Illinoisprairie.info[૧], archived from the original on 24 December 2010.

Parameters[ફેરફાર કરો]

All parameters are optional except for those marked "Mandatory", and may contain inline interwiki or external links as needed.

Parameter Description
author
or
last and first
The author's name. Use either author, or last and first, not both. Additional authors can be added using the parameters author2 to author5, or last2 and first2 to last5 and first5.
authorlink The name of an English Wikipedia article about the author, which will be linked to the author's name. Additional articles can be linked to other authors' names using the parameters authorlink2 to authorlink5. Do not add the prefix ":en:" or "w:".

Alternatively, link each person's name directly, like this: "author=[[w:Kathleen Taylor (biologist)|Kathleen Taylor]]" or "author={{w|Samuel Johnson}}".

coauthors The names of one or more coauthors. If there is more than one, separate the names with semicolons.
quotee The name of the person being quoted, if the whole passage quoted is a quotation of someone other than the author.
trans, translator, or translators The name(s) of the translator(s) of the webpage. Separate multiple names with semicolons.
editor or editors The name of one or more editors of the website.
title
or
entry
The title of the webpage.
trans-title
or
trans-entry
If the title of the webpage is not in English, use one of these parameters to provide an English translation of the title.
titleurl or entryurl, and url The parameters |titleurl= and |entryurl= can be used to specify the URL or web address of a webpage to be linked to |title= or |entry= respectively, when it is desired to use |url= to link to the home page of the website.

If |entry= is specified but |entryurl= is not, and |url= is also specified, the value of |url= is linked to the value of |entry=.

Do not link to any website that has content in breach of copyright.

archiveurl and archivedate
or
accessdate
Use archiveurl and archivedate (which must be used together) to indicate the URL or web address of a webpage on a website such as the Internet Archive or Perma.cc at which the webpage has been archived, and the date on which the webpage was archived.

Alternatively, if the webpage cannot be archived, use accessdate to indicate when its URL was accessed. (If the webpage has been archived, it is unnecessary to use these parameters.)

format The format of the webpage, for example, "blog" or "PDF".
work Mandatory: the name of the website containing the webpage. In addition to work, blog or site can also be used.
trans-work If the name of the website is not in English, this parameter can be used to provide an English translation of the name.
location The location(s) where the website was published. If more than one location is stated, separate the locations with semicolons, like this: "London; New York, N.Y.".
publisher The name of one or more publishers of the website. If more than one publisher is stated, separate the names with semicolons.
date
or
(month and) year
The date, or (month and) year, that the webpage was published. Use either date, or year (and month), not both.
year_published If year is used to state the year when the original version of the website was published, year_published can be used to state the year in which the version quoted from was published, for example, "|year=2005|year_published=2015".
volume The volume number, if the website has one.
page or pages The page number or range of page numbers of a document on the website. Use page to indicate a single page, and pages to indicate a range of pages. For example, "pages=1–2" will display "pages 1–2". Use an en dash to separate the page numbers in the range.
pageurl The URL or web address of a specific page or pages of a document on the website. The page number(s) will be linked to this webpage.
section Use this parameter to identify a page or other portion of a website that does not have page numbers.
sectionurl The URL or web address of the webpage containing the section of the website referred to. The section number will be linked to this webpage.
column
or
columns
The column number or range of column numbers of the webpage. Use an en dash to separate the column numbers in the range.
columnurl The URL or web address of the webpage containing the column(s) of the website referred to. The column number(s) will be linked to this webpage.
text or passage A passage from the website that you wish to quote. If the passage exceeds 300 characters, it is automatically displayed in a separate text block. To suppress this, use text_block=no or passage_block=no.
text_block=no or passage_block This parameter can be used in two ways:
  • To have the template display a quote in a separate text block.
  • Use text_block=no or passage_block=no together with text or passage to ensure that the quote is not displayed in a separate text block (see text or passage above).
t or translation A translation of the passage.
lang, language, or worklang A code indicating the language that the webpage is written in (preferred; for a list of the codes, see Wiktionary:List of languages), or the names of one or more languages written in full. It is unnecessary to indicate the language if the webpage is written in English.

Technical information[ફેરફાર કરો]

This template makes use of {{cite-meta}}.

See also[ફેરફાર કરો]

  • {{quote-web}} – for quotations in dictionary entries
  • {{cite web}} – the corresponding template at the English Wikipedia.