Template:Talk quote inline
- العربية
- مصرى
- অসমীয়া
- Azərbaycanca
- تۆرکجه
- भोजपुरी
- বাংলা
- Dansk
- Eesti
- فارسی
- Suomi
- Føroyskt
- Français
- ગુજરાતી
- हिन्दी
- Bahasa Indonesia
- Jawa
- Qaraqalpaqsha
- Latina
- Lietuvių
- Latviešu
- മലയാളം
- Монгол
- Bahasa Melayu
- မြန်မာဘာသာ
- नेपाली
- Nederlands
- Norsk bokmål
- Português
- Română
- Русский
- Scots
- سنڌي
- Srpskohrvatski / српскохрватски
- တႆး
- සිංහල
- Simple English
- Slovenščina
- Soomaaliga
- Српски / srpski
- తెలుగు
- ไทย
- Türkçe
- Українська
- اردو
- Oʻzbekcha / ўзбекча
- Tiếng Việt
- 文言
- 粵語
- 中文
Example text
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
- {{tq Template:Tq }}
- {{tpq Template:Tpq }}
- {{TQ Template:TQ }}
Template {{talk quote inline }} (a.k.a. {{talk quotation}} or the shortcut {{tq}}) is used on talk pages (and in Wikipedia process pages, e.g. noticeboards) to highlight a short excerpt of quoted material of other editors' comments or from an article or source.
Usage
To quote a multi-paragraph excerpt or other block content instead of an inline entry, use {{talk quote block }} (a.k.a. {{talkquote }} or the shortcut {{tq2 }}) (for "talk quote, option 2").
To format examples, especially when using quotation marks or italics could be confusing and an inline typeface change is needed, use {{xt }} or one of its subtemplates (used frequently in the Manual of Style).
By default, the template changes the given text to serif typeface and green color
. The accompanying change in typeface to a serif (roman) or italic type style (example text
) is to make it fully accessible for those readers with red/green color blindness.
This template is not intended for use in articles, and displays an error message if it is used in the article namespace.
Parameters
|1= The text to highlight with the template. As with all templates, when the text, given as the template parameter, contains an equals character (=), prefixing the text with |1= is required to ensure the character is correctly interpreted as being part of the normal text; otherwise it will break the template. Incorrect usages (no |1= where needed or outright no text) are tracked in Category:Pages incorrectly using the talk quote inline template(110).
|italic=yes or |i=yes will force the content to be green and italicised only
(no change to serif font style); any value may be used, e.g. |i=y. This is typically used inside a block of text that is already serif-styled to make the highlighted text stand out better.
|title= takes text, which cannot be marked up in any way, and displays it as a pop-up "tooltip" (in most browsers) when the cursor hovers over the span. The most common use of this is to provide attribution.
|q=yes or |quotes=yes adds quotation marks around the colored text.
Examples
- What you write
...when you said, {{tq|Lorem ipsum '''dolor''' sit}}, and, {{tq|consectetur adipiscing elit|i=yes|title=This is a tooltip}}.- What you get
- ...when you said,
Lorem ipsum dolor sit
, and,consectetur adipiscing elit
. - What you write
...when you said, {{tq|Lorem ipsum '''dolor''' sit|q=yes}}, and, {{tq|consectetur adipiscing elit|q=yes|i=yes|title=This is a tooltip}}.- What you get
- ...when you said,
Lorem ipsum dolor sit
, and,consectetur adipiscing elit
.
(Run your mouse over the words "consectetur adipiscing elit" and in a second you will see a tooltip pop up next to the mouse cursor which says, "This is a tooltip".)
Maintenance categories
TemplateData
TemplateData for Talk quote inline
Highlights a short excerpt of quoted material of other editors' comments or from an article or source
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | Text to highlight | Content | required |
| Title | title | Takes text, which cannot be marked up in any way, and displays it as a pop-up "tooltip" (in most browsers) when the cursor hovers over the span. The most common use of this is to provide attribution. | String | optional |
| Italic? | italic i | Makes the content italicised and the same sans-serif font as normal text | Boolean | optional |
| Quotes? | quotes q | Use 'yes' or any non-blank value to add quotation marks around the colored text | Boolean | optional |
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.