Template:quote-wikipedia

From Wiktionary, the free dictionary
Jump to navigation Jump to search
2019 October 10, Wikipedia contributors, “Peter Johnstone (mathematician)”, in English Wikipedia[1], Wikimedia Foundation:
He is a great-great nephew of the Reverend George Gilfillan who was apostrophised in William McGonagall's first poem.

Usage

This template can be used to provide a quotation from the English Wikipedia. However, please note that according to Wiktionary's attestation standards in its criteria for inclusion, Wikipedia and other Wikimedia sites should not be used as sources for quotations. Thus, this template should be used with caution – it should not be used to indicate quotations in dictionary entries, but can be used on the "Citations:" pages of terms that have not yet been created (for example, on "Citations:foo" where "foo" is still non-existent) to gather evidence for the potential future inclusion of those terms in the dictionary.

At the moment, the template does not link to other language Wikipedias.

Sample template

Most basic parameters for English quotations
#* {{quote-wikipedia|1=|date=|article=|text=}}
Most basic parameters for non-English quotations
#* {{quote-wikipedia|1=|date=|article=|text=|t=}}
All available parameters
#* {{quote-wikipedia|1=|indent=|article=|revision=|date=|text=|passage=|lang=|brackets=|t=|translation=|lit=|tr=|transliteration=|subst=}}

Parameters

All parameters are optional except those marked "Mandatory".

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 entry is written in: see below.

The parameter |lang= is a deprecated synonym for this parameter; please do not use. If this is used, all numbered parameters move down by one.

article Mandatory: the full name of the Wikipedia article quoted. If the article name includes a qualifier in parentheses (for example, "John Smith (explorer)"), the qualifier must be added too.
revision To link to a specific revision of a Wikipedia article, indicate the revision number using this parameter. For example, to link to the revision of the article "John Smith (explorer)" with the URL "https://en.wikipedia.org/w/index.php?title=John_Smith_%28explorer%29&oldid=698753285", type "revision=698753285".
date
or
year
Mandatory: the date or year of the revision of the Wikipedia article quoted. Use either date or year, not both.
text or passage Mandatory: the portion of the Wikipedia article being quoted. Highlight the term defined in bold in the quoted text like this: "'''Wiktionary'''".
worklang A comma-separated list of language codes indicating the language(s) that the overall entry 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-wikipedia|..."), you can use this parameter to specify the indent inside the template (for example, "{{quote-wikipedia|indent=#*|...")