用法

编辑

模板{{talk quote inline}}(即{{talk quotation}}{{tq}})用于讨论页(和维基百科流程页,比如公告板) to highlight a short excerpt of quoted material of other editors' comments or from an article or source. To do so in a block, use {{talk quote block}} (a.k.a. {{talkquote}} or the shortcut {{tq2}}).

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

本模板预设将文字显示为绿色的衬线体文字。为了使色盲人士能够完全接受此模板,亦提供变通的楷体形式(维基百科,自由的百科全书)。

For block quotations on talk pages that break onto their own line, or contain paragraph breaks, editors can use {{talk quote block}} instead.

参数

编辑

|1=填入欲使用此模板强调的文字。 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|i=yes会将内容变成楷体;可以填入任何值,如|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= or |quotes=yes adds quotation marks around the colored text.

范例

编辑
您输入的源代码:
甲於前次討論表示{{tq|啦'''啦啦啦啦'''啦啦啦啦啦llala}},並稱{{tq|啦'''啦啦啦啦'''啦啦啦啦啦llala|i=yes|title=浮動提示}}。
显示:
甲于前次讨论表示啦啦啦啦啦啦啦啦啦llala,并称啦啦啦啦啦啦啦啦啦llala
您输入的源代码:
甲於前次討論表示{{tq|啦'''啦啦啦啦'''啦啦啦啦啦llala|q=yes}},並稱{{tq|啦'''啦啦啦啦'''啦啦啦啦啦llala|q=yes|i=yes|title=浮動提示}}。
显示:
甲于前次讨论表示啦啦啦啦啦啦啦啦啦llala,并称啦啦啦啦啦啦啦啦啦llala

相关模板

编辑
  • {{Quote}}——不带边框的引用,可设定高度。
    • {{QuoteH}}——和{{QuoteF}}成对使用,作为{{Quote}}的补充。
    • {{Poemquote}}——引用诗歌、歌词等频频断行的引文,与{{Quote}}相同。
  • {{Verse translation}}——引用外文诗歌、歌词等引文,并附上译文

带边框式

  • {{Wquote}}——带柔和渐变的灰色阴影,采用圆角。
  • {{现代显示框}}——同样带柔和渐变的灰色阴影,但更为柔和、没有圆角,且更为美观。
  • {{现代蓝边、渐变底纹显示框}}——框内由上至下呈现白色至蓝色的渐变,非常柔和,边线偏蓝且较为柔和。
  • {{Quote box}}——带边框的引用,在一个缩小的浮动框中。
  • {{Quote frame}}——带边框的引用。
  • {{Squote}}——带边框的引用,有立体感。

带引号式

  • {{Cquote}}——带引号标记的抬升式引用,采用页面宽度。
  • {{Rquote}}——带引号标记的抬升式引用,在一个缩小的区域中。

讨论页

Template:Inline talk templates