This template can be used in a dictionary entry to provide a quotation from a Usenet newsgroup.

To create a citation in a "References" section or on a discussion page, use {{cite-newsgroup}}.

Sample templates

уреди
Most basic parameters for English quotations
#* {{quote-newsgroup|date=|author=|title=|newsgroup=|url=|text=|lang=}}
Most basic parameters for non-English quotations
#* {{quote-newsgroup|date=|author=|title=|newsgroup=|url=|text=|lang=|t=}}
Commonly used parameters
#* {{quote-newsgroup|author=|authorlink=|email=|title=|newsgroup=|id=|url=|date=|accessdate=|text=|lang=|t=|tr=}}
All available parameters
#* {{quote-newsgroup|indent=|author=|authorlink=|last=|first=|email=|title=|trans-title=|newsgroup=|id=|url=|date=|year=|accessdate=|text=|passage=|lang=|brackets=|t=|translation=|lit=|tr=|transliteration=|subst=}}

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

#* {{quote-newsgroup|[date]|[author]|[title]|[newsgroup]|[url]|[text]|[translation]}}

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 such as url.

The following example:

{{quote-newsgroup|lang=en|author=Peter da Silva|title=Re:Microsoft versus Digital Equipment Corporation|newsgroup=alt.folklore.computers|id=g0hq1u$2hkn$3@monolith.in.taronga.com|url=http://groups.google.com/group/alt.folklore.computers/msg/032c30495567b213|date=16 March 2008|text={{...}} otherwise the pager needs to start doing a bunch of unnecessary '''yak shaving'''.}}

produces this:

2008 март 16, Peter da Silva, “Re:Microsoft versus Digital Equipment Corporation”, in alt.folklore.computers[1] (Usenet), message-ID <g0hq1u$2hkn$3@monolith.in.taronga.com>:
[] otherwise the pager needs to start doing a bunch of unnecessary yak shaving.

Parameters

уреди

All parameters are optional, and may contain inline interwiki or external links as needed.

Parameter Remarks
author
or
last and first
The name of the author of the newsgroup post quoted. Use either author, or last and first (for the first name, and middle names or initials), not both.
authorlink The name of an English Wikipedia article about the author, which will be linked to the name(s) specified using author, or last and first. 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}}".)
email The author's e-mail address.
title The title of the newsgroup post, typically the "Subject:" header.
trans-title If the title of the newsgroup post is not in English, this parameter can be used to provide an English translation of the title.
newsgroup The newsgroup the post was posted to. If it was posted to multiple newsgroups, indicate the main one.
id The message ID from the "Message-ID:" header of the post. Do not include the angle brackets as these will be inserted by the template.
url The URL or web address of the newsgroup post, for example, on Google Groups.
accessdate The date when the URL was accessed.
date
or
year
The date or year that the newsgroup post was posted. Use either date, or year, not both.
text or passage The portion of the newsgroup post being quoted. Highlight the term defined in bold in the quoted text like this: "'''cyberspace'''".
lang 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 overall posting is written in: see below.

worklang A comma-separated list of language codes indicating the language(s) that the overall posting 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 lang 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).
indent Instead of using wikitext outside the quotation template to indent it (for example, "#* {{quote-newsgroup|..."), you can use this parameter to specify the indent inside the template (for example, "{{quote-newsgroup|indent=#*|...")

Technical information

уреди

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

See also

уреди
  • {{cite-newsgroup}} – for citations in "References" sections and discussion pages
  • {{cite newsgroup}} – the English Wikipedia template that this template was originally based on