Шаблон:quote-web/док

Usage[уреди]

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 commonly used parameters
#* {{quote-web|author=|authorlink=|title=|work=|url=|archiveurl=|archivedate=|location=|publisher=|date=|accessdate=|passage=|lang=}}
All available parameters
#* {{quote-web|indent=|author=|last=|first=|authorlink=|author2=|last2=|first2=|authorlink2=|author3=|last3=|first3=|authorlink3=|author4=|last4=|first4=|authorlink4=|author5=|last5=|first5=|authorlink5=|coauthors=|quotee=|title=|trans-title=|work=|trans-work=|url=|archiveurl=|archivedate=|format=|location=|publisher=|month=|year=|year_pub lished=|date=|accessdate=|nodate=|page=|pages=|pageurl=|section=|sectionurl=|passage=|brackets=|translation=|transliteration=|lang=}}

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

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

This will not work if any of the parameters contains an equals ("=") sign. The value of any parameter containing an equals sign must be surrounded by <nowiki> tags, like this: "<nowiki>http://foo.com?id=bar</nowiki>". Alternatively, use a named parameter like url.

The following example:

{{quote-web|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|passage=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, (Please specify the language of the quote)), retrieved 8 March 2016:
Lua грешка in Модул:languages/errorGetBy at line 14: Please specify a language or etymology language code in the first parameter; the value "<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-51fddb02">Script error: The function &quot;first_lang&quot; does not exist.</span></strong>" is not valid (see Wiktionary:List of languages)..

Parameters[уреди]

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

Parameter Remarks
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 passage quoted is a quotation of someone other than the author.
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, 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
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.
passage The portion of the website being quoted. Highlight the term defined in bold in the passage quoted like this: "'''cyberspace'''".
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.
translation If the passage quoted is not in English, this parameter can be used to provide an English translation of it.
transliteration If the passage quoted 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.
lang or language A code indicating the language of the quotation; for a list of the codes, see Wiktionary:List of languages. The entry page will be added to a category in the form "Category:[Language] terms with quotations". If the webpage is written in a language other than English, the template will also indicate this fact by displaying "(in [language])".
indent Instead of using wikitext outside the quotation template to indent it (for example, "#* {{quote-web|..."), you can use this parameter to specify the indent inside the template (for example, "{{quote-web|indent=#*|...")

Technical information[уреди]

This template makes use of {{quote-meta}} and {{quote-meta/source}}.

See also[уреди]

  • {{cite-web}} – for citations in reference sections and on talk pages