跳至內容

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