跳转到内容

Template:Talk quote inline/doc

维基百科,自由的百科全书

用法

模板{{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