Jump to content

සැකිල්ල:cite-web

Wiktionary වෙතින්

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=|entry=|trans-entry=|entryurl=|title=|trans-title=|titleurl=|mainauthor=|mainauthors=|editor=|editors=|work=|trans-work=|url=|archiveurl=|archivedate=|edition=|format=|location=|publisher=|date=|month=|year=|year_published=|nodate=|accessdate=|volume=|page=|pages=|pageurl=|section=|sectionurl=|column=|columns=|columnurl=|doi=|text=|passage=|text_block=|passage_block=|t=|translation=|lang=|usenodot=|nodot=}}

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), chapter The Choctaw Expression ‘Okeh’ and the Americanism ‘Okay’, in Illinoisprairie.info[1], archived from the original on 24 December 2010.

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.
mainauthor or mainauthors If you wish to indicate who a part of a book such as a foreword or introduction was written by, use |author= to do so, and use |mainauthor= to indicate the author(s) of the main part of the book.
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.
doi The digital object identifier (DOI) of the website.
date
or
both month and year
The date, or both month and year, that the webpage was published. Use either date, or both month and year, not both.

If no year or date is specified, the template displays the message "(Can we date this quote?)". The message can be suppressed using "nodate=1" or "nodate=yes", but it is recommended that you try to provide a date or approximate date rather than do so.

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.
usenodot If |usenodot=1 or |usenodot=yes is specified, a full stop (period) is added to the end of the citation by default. The parameter |nodot=1 or |nodot=yes can then be used to suppress this punctuation.

Technical information

[සංස්කරණය]

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

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for cite-web

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

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
URLurl

The URL or web address of the webpage. Do not link to any webpage that has content in breach of copyright.

Example
https://www.nytimes.com/2020/10/12/books/review-silence-don-delillo.html
URLrequired
Page titletitle

The title of the webpage.

Example
Don DeLillo, an Old Hand at Paranoia and Dread, Meets Us Where We Are
Stringsuggested
Website namework site blog

The name of the website containing the webpage.

Example
New York Times
Stringrequired
Publication datedate

The date the webpage was published.

Example
"2020-10-12", "October 12 2020"
Stringsuggested
Access dateaccessdate

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 this parameter.

Auto value
{{SUBST:CURRENTYEAR}}-{{SUBST:CURRENTMONTH}}-{{SUBST:CURRENTDAY2}}
Stringoptional
Authorauthor

The name of the author of the webpage quoted. Additional authors can be added using the parameters "author2" to "author5".

Example
Dwight Garner
Stringsuggested
Wikipedia author pageauthorlink

English Wikipedia article about the author.

Example
Dwight Garner
Stringoptional
Quoted textpassage text

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.

Contentoptional
Text blocktext_block passage_block

Use "no" to ensure that the quote is not displayed in a separate text block (see text or passage above).

Booleanoptional
Translationtranslation t

If the quoted text is not in English, this parameter can be used to provide an English translation of it.

Contentoptional
Languagelang

A code indicating the language that the webpage is written in. It is unnecessary to indicate the language if the webpage is written in English.

Example
fr
Stringoptional
Archive URLarchiveurl

Use "archiveurl" to indicate the URL of a webpage on a website such as the Internet Archive at which the webpage has been archived.

Example
https://web.archive.org/web/20120210005807/https://time.com/time/magazine/article/0,9171,912563,00.html
URLoptional
Archive datearchivedate

The date on which "archiveurl" was archived.

Example
2012-02-10
Stringoptional
Sectionsection

Use this parameter to identify a page or other portion of a website that does not have page numbers.

Stringoptional
Section URLsectionurl

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.

URLoptional
Formatformat

The format of the webpage.

Example
blog
Stringoptional
Publisherpublisher

The name of one or more publishers of the website. If more than one publisher is stated, separate the names with semicolons.

Example
The New York Times Company
Stringoptional
Pagepage pages

The page number or range of page numbers of a document on the website.

Numberoptional
author2author2

additional author

Stringoptional
authorlink2authorlink2

additional author Wikipedia article

Stringoptional
author3author3

additional author

Stringoptional
authorlink3authorlink3

additional author Wikipedia article

Stringoptional
author4author4

additional author

Stringoptional
authorlink4authorlink4

additional author Wikipedia article

Stringoptional
author5author5

additional author

Stringoptional
authorlink5authorlink5

additional author Wikipedia article

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



"https://si.wiktionary.org/w/index.php?title=සැකිල්ල:cite-web&oldid=164209" වෙතින් සම්ප්‍රවේශනය කෙරිණි