Template:Talk quote inline
样例文字
本模板使用以下模板样式: |
用法
模板{{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}}——不带边框的引用,可设定高度。
- {{Verse translation}}——引用外文詩歌、歌詞等引文,並附上譯文
带边框式
- {{Wquote}}——带柔和渐变的灰色阴影,采用圆角。
- {{现代显示框}}——同样带柔和渐变的灰色阴影,但更为柔和、没有圆角,且更为美观。
- {{现代蓝边、渐变底纹显示框}}——框内由上至下呈现白色至蓝色的渐变,非常柔和,边线偏蓝且较为柔和。
- {{Quote box}}——带边框的引用,在一个缩小的浮动框中。
- {{Quote frame}}——带边框的引用。
- {{Squote}}——带边框的引用,有立體感。
带引号式
讨论页
- {{Talk quote inline}}——行内引用討論頁的內容。
- {{Talk quote block}}——块状引用討論頁的內容,文字內容會自動添加「綠色」的底色。
- {{Talk quote block general}}——自定義版。
- {{Talk quote block minimalist}}——极简主义版。
- Category:引文模板——更多模板。