Skabelon:Tq
Example text
Usage
Template {{tq}} serves two common purposes:
- It is used on talk pages (and Wikipedia process pages, e.g. noticeboards) to highlight quoted material (of other editors' comments or from an article or source).
- It is also used to format examples of style, especially when using quotation marks or italics could be confusing. In this use, it is an alternative to
{{xt}}, useful when inline typeface changes are needed.
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 with color blindness.
For block quotations on talk pages that break onto their own line, or contain paragraph breaks, editors can use {{talkquote}} instead.
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.
|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.
|roman=yes or |serif=yes (default) will force the content to green and roman (serif) font only (no italicisation); any value may be used.
|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.
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.
See also
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.









