සැකිල්ල:cite-web
- පහත දැක්වෙන උපදෙස්, සැකිල්ල:cite-web/documentation හි පිහිටා ඇත. සැකිල්ල:cite-web/documentation]]. [සංස්කරණය]
- ප්රයෝජනවත් සබැඳි: උප පිටු ලැයිස්තුව • සබැඳි • යළි යොමු • transclusions • errors (parser/module) • sandbox
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=|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.
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: " |
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 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 |
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 " |
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:
|
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}}
.
TemplateData
[සංස්කරණය]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).
Parameter | Description | Type | Status | |
---|---|---|---|---|
URL | url | The URL or web address of the webpage. Do not link to any webpage that has content in breach of copyright.
| URL | required |
Page title | title | The title of the webpage.
| String | suggested |
Website name | work site blog | The name of the website containing the webpage.
| String | required |
Publication date | date | The date the webpage was published.
| String | suggested |
Access date | accessdate | 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.
| String | optional |
Author | author | The name of the author of the webpage quoted. Additional authors can be added using the parameters "author2" to "author5".
| String | suggested |
Wikipedia author page | authorlink | English Wikipedia article about the author.
| String | optional |
Quoted text | passage 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. | Content | optional |
Text block | text_block passage_block | Use "no" to ensure that the quote is not displayed in a separate text block (see text or passage above). | Boolean | optional |
Translation | translation t | If the quoted text is not in English, this parameter can be used to provide an English translation of it. | Content | optional |
Language | lang | 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.
| String | optional |
Archive URL | archiveurl | Use "archiveurl" to indicate the URL of a webpage on a website such as the Internet Archive at which the webpage has been archived.
| URL | optional |
Archive date | archivedate | The date on which "archiveurl" was archived.
| String | optional |
Section | section | Use this parameter to identify a page or other portion of a website that does not have page numbers. | String | optional |
Section URL | 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. | URL | optional |
Format | format | The format of the webpage.
| String | optional |
Publisher | publisher | The name of one or more publishers of the website. If more than one publisher is stated, separate the names with semicolons.
| String | optional |
Page | page pages | The page number or range of page numbers of a document on the website. | Number | optional |
author2 | author2 | additional author | String | optional |
authorlink2 | authorlink2 | additional author Wikipedia article | String | optional |
author3 | author3 | additional author | String | optional |
authorlink3 | authorlink3 | additional author Wikipedia article | String | optional |
author4 | author4 | additional author | String | optional |
authorlink4 | authorlink4 | additional author Wikipedia article | String | optional |
author5 | author5 | additional author | String | optional |
authorlink5 | authorlink5 | additional author Wikipedia article | String | optional |
See also
[සංස්කරණය]{{quote-web}}
– for quotations in dictionary entries{{cite web}}
– the corresponding template at the English Wikipedia.
|