සැකිල්ල:quote-web/documentation
Uses Lua: |
This template can be used in a dictionary entry to provide a quotation from a webpage. Do not use the template for online versions of books or journal articles (including magazines and newspapers) – use {{quote-book}}
or {{quote-journal}}
instead.
For citations in "References" sections and on talk pages, use {{cite-web}}
.
Sample templates
සංස්කරණය- Most basic parameters for English quotations
#* {{quote-web|1=|date=|author=|work=|url=|text=}}
- Most basic parameters for non-English quotations
#* {{quote-web|1=|date=|author=|work=|url=|text=|t=}}
- Commonly used parameters
#* {{quote-web|1=|author=|authorlink=|title=|work=|url=|archiveurl=|archivedate=|location=|publisher=|date=|accessdate=|text=|t=|tr=}}
- All available parameters
#* {{quote-web|1=|author=|last=|first=|authorlink=|author2=|last2=|first2=|authorlink2=|author3=|last3=|first3=|authorlink3=|author4=|last4=|first4=|authorlink4=|author5=|last5=|first5=|authorlink5=|coauthors=|quotee=|translator=|translators=|title=|trans-title=|work=|trans-work=|url=|archiveurl=|archivedate=|format=|worklang=|location=|publisher=|month=|year=|year_published=|date=|accessdate=|nodate=|page=|pages=|pageurl=|section=|sectionurl=|text=|passage=|lang=|brackets=|t=|translation=|lit=|tr=|transliteration=|subst=}}
Examples
සංස්කරණය{{quote-web|en|title=Why you should read the Madicken (Mardie) books|url=http://kattahj.tumblr.com/post/72567245752/i-made-a-presentation-on-madicken-because|work=Market Chipping|format=blog|date=7 January 2014|accessdate=8 March 2016|text=Let me tell you about Madicken. (Mardie in English. Or Meg, but that’s in the American translation and that’s '''bowdlerized''' and you should never read it.)}}
produces this:
- 2014 ජනවාරි 7, “Why you should read the Madicken (Mardie) books”, in Market Chipping[1] (blog), retrieved 8 March 2016:
- Let me tell you about Madicken. (Mardie in English. Or Meg, but that’s in the American translation and that’s bowdlerized and you should never read it.)
- (මෙම quotation සඳහා වන සිංහල පරිවර්තනය එක් කිරීමට කාරුණික වන්න)
Parameters
සංස්කරණයAll parameters are optional except those marked "Mandatory", and may contain inline interwiki or external links as needed.
Parameter | Remarks |
---|---|
1
|
A comma-separated list of language codes indicating the language(s) of the quoted text; for a list of the codes, see Wiktionary:List of languages. If the language is other than English, the template will indicate this fact by displaying "(in [language])" (for one language), or "(in [language] and [language])" (for two languages), or "(in [language], [language] ... and [language])" (for three or more languages). The entry page will also be added to a category in the form "Category:[Language] terms with quotations" for the first listed language (unless termlang is specified, in which case that language is used for the category, or nocat is specified, in which case the page will not be added to any category). The first listed language also determines the font to use and the appropriate transliteration to display, if the text is in a non-Latin script.
Use |
first and last or author
|
The name of the author of the webpage quoted. Use either author , or last and first (for the first name, and middle names or initials), 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 name(s) specified using author , or first and last . 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 the coauthor(s) of the webpage. Separate multiple names with semicolons. |
quotee
|
The name of the person being quoted, if the whole quoted text is a quotation of someone other than the author. |
tlr , translator , or translators
|
The name(s) of the translator(s) of the webpage. Separate multiple names with semicolons. |
title
|
The title of the webpage. |
trans-title
|
If the title of the webpage is not in English, this parameter can be used to provide an English translation of the title. |
url
|
The URL or web address of the webpage. Do not link to any webpage 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". |
work
|
Mandatory: the name of the website containing the webpage. In addition to work , 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 year (and month )
|
The date, or year (and month), that the webpage was published. Use either date , or year (and month ), not both.
If no year or date is specified, the template first tries to use |
year_published
|
If year is used to state the year when the original version of the webpage 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".
|
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. |
text or passage
|
The portion of the website being quoted. Highlight the term defined in bold in the quoted text like this: "'''cyberspace'''". |
worklang
|
A comma-separated list of language codes indicating the language(s) that the website itself is written in, if different from the quoted text; for a list of the codes, see Wiktionary:List of languages. |
termlang
|
A language code indicating the language of the term being illustrated, if different from the quoted text; for a list of the codes, see Wiktionary:List of languages. If specified, this language is the one used when adding the page to a category of the form "Category:[Language] terms with quotations"; otherwise, the first listed language specified using 1 is used. Only specify this parameter if the language of the quotation is different from the term's language, e.g. a Middle English quotation used to illustrate a modern English term or an English definition of a Vietnamese term in a Vietnamese-English dictionary.
|
nocat
|
Use nocat=y or nocat=1 or nocat=on to suppress adding the page to a category of the form "Category:[Language] terms with quotations". This should not normally be done. |
brackets
|
Use "brackets=on" to surround a quotation with brackets. This indicates that the quotation either contains a mere mention of a term (for example, "some people find the word manoeuvre hard to spell") rather than an actual use of it (for example, "we need to manoeuvre carefully to avoid causing upset"), or does not provide an actual instance of a term but provides information about related terms. |
t or translation
|
If the quoted text is not in English, this parameter can be used to provide an English translation of it. |
lit
|
If the quoted text is not in English and the translation supplied using t or translation is idiomatic, this parameter can be used to provide a literal English translation.
|
footer
|
This parameter can be used to specify arbitrary text to insert in a separate line at the bottom, to specify a comment, footnote, etc. |
tr or transliteration
|
If the quoted text uses a different writing system from the Latin alphabet (the usual alphabet used in English), this parameter can be used to provide a transliteration of it into the Latin alphabet. Note that many languages provide an automatic transliteration if this argument is not specified. |
subst
|
Phonetic substitutions to be applied to handle irregular transliterations in certain languages with a non-Latin writing system and automatic transliteration (e.g. Russian and Yiddish). If specified, should be one or more substitution expressions separated by commas, where each substitution expression is of the form FROM//TO (FROM/TO is also accepted), where FROM specifies the source text in the source script (e.g. Cyrillic or Hebrew) and TO is the corresponding replacement text, also in the source script. The intent is to respell irregularly-pronounced words phonetically prior to transliteration, so that the transliteration reflects the pronunciation rather than the spelling. The substitutions are applied in order. Note that Lua patterns can be used in FROM and TO in lieu of literal text; see WT:LUA. See also {{ux}} for an example of using subst (the usage is identical to that template).
|
TemplateData
සංස්කරණයTemplateData for quote-web
This template can be used in a dictionary entry to provide a quotation from a webpage. Do not use the template for online versions of books or journal articles (including magazines and newspapers).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language | 1 | A comma-separated list of language codes indicating the language(s) of the quoted text.
| String | required |
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 | 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 | The portion of the website being quoted. Highlight the term defined in bold. | Content | required |
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 |
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. Note: not needed for links to the "Internet Archive".
| String | optional |
DOI | doi | Digital object identifier
| 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 |
Brackets | brackets | Use "on" to surround a quotation with brackets. This indicates that the quotation contains a mere mention of a term or does not provide an actual instance of a term but provides information about related terms.
| Boolean | 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
සංස්කරණය{{cite-web}}
– for citations in reference sections and on talk pages{{cite web}}
– the corresponding template at the English Wikipedia.
|