Documentation for සැකිල්ල:quote-newsgroup. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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

Most basic parameters for English quotations
#* {{quote-newsgroup|1=|date=|author=|title=|newsgroup=|url=|text=}}
Most basic parameters for non-English quotations
#* {{quote-newsgroup|1=|date=|author=|title=|newsgroup=|url=|text=|t=}}
Commonly used parameters
#* {{quote-newsgroup|1=|author=|authorlink=|email=|title=|newsgroup=|id=|url=|date=|accessdate=|text=|t=|tr=}}
All available parameters
#* {{quote-newsgroup|1=|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=}}
{{quote-newsgroup|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.
(මෙම quotation සඳහා වන සිංහල පරිවර්තනය එක් කිරීමට කාරුණික වන්න)

All parameters are optional, 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 overall posting is written in: see below.

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'''".
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 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).
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=#*|...")
This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for quote-newsgroup

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

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
Post authorauthor

The name of the author of the newsgroup post quoted.

Example
Peter da Silva
Stringoptional
Author's emailemail

The author's e-mail address.

Example
peterdasilva@example.com
Stringoptional
Post titletitle

The title of the newsgroup post, typically the "Subject" header.

Example
Re:Microsoft versus Digital Equipment
Stringsuggested
Post message IDid

The message ID from the "Message-ID:" header of the post. Do not include angle brackets.

Example
g0hq1u$2hkn$3@monolith.in.taronga.com
Stringoptional
Newsgroupnewsgroup

The newsgroup the post was posted to. If it was posted to multiple newsgroups, indicate the main one.

Example
alt.folklore.computers
Stringrequired
Publication datedate

The date or year that the newsgroup post was posted.

Example
16 March 2008
Stringsuggested
Page URLurl

The URL of the newsgroup post, for example, on Google Groups.

Example
http://groups.google.com/group/alt.folklore.computers/msg/032c30495567b213
URLoptional
Access dateaccessdate

The date when the URL was accessed.

Stringoptional
Quoted textpassage text

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

Example
{{...}} otherwise the pager needs to start doing a bunch of unnecessary '''yak shaving'''.
Contentrequired
Translationtranslation t

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

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



"https://si.wiktionary.org/w/index.php?title=සැකිල්ල:quote-newsgroup/documentation&oldid=167407" වෙතින් සම්ප්‍රවේශනය කෙරිණි