Template:quote-web

From Wiktionary, the free dictionary
Jump to navigation Jump to search
2018 May 7, Meg Downey, “Marvel’s Comic Soul Stone could Explain the Jump from Infinity War’s Ending to Avengers 4: A Brief History of Crazy Multidimensional Power”, in Polygon[1], archived from the original on 24 June 2018:
There’s a very real chance that, rather than crumbling into the dust and floating off into the ether, Thanos’s victims [in the film Avengers: Infinity War] were actually sucked up into the Soul Stone.

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 January 7, “Why you should read the Madicken (Mardie) books”, in Market Chipping[2] (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.)

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 |worklang= to specify the language(s) that the website itself is written in: see below.

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 accessdate to indicate when its URL was accessed. (If the webpage has been archived, it is unnecessary to use this parameter.)

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 accessdate if this has been stated. If not, it displays the message "(Can we date this quote?)". The message can be suppressed using "nodate=yes", but rather than do so it is recommended that you use year to provide a date or approximate date, for example, "c. 2010–2011" or "After 2005".

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

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

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

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Language1

A comma-separated list of language codes indicating the language(s) of the quoted text.

Example
en
Stringrequired
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

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

The portion of the website being quoted. Highlight the term defined in bold.

Contentrequired
Translationtranslation t

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

Contentoptional
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. Note: not needed for links to the "Internet Archive".

Example
2012-02-10
Stringoptional
DOIdoi

Digital object identifier

Example
10.3352/jeehp.2013.10.3
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
Bracketsbrackets

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.

Example
on
Booleanoptional
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

See also

  • {{cite-web}} – for citations in reference sections and on talk pages
  • {{cite web}} – the corresponding template at the English Wikipedia.