模板:Talk quote inline/doc
Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted[[Category:模板:SUBJECTSPACE ZH说明文件]]
Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted
用法
模板{{-{}-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
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.
|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}}——不带边框的引用,可设定高度。
带边框式
- {{Wquote}}——带柔和渐变的灰色阴影,采用圆角。
- {{现代显示框}}——同样带柔和渐变的灰色阴影,但更为柔和、没有圆角,且更为美观。
- {{现代蓝边、渐变底纹显示框}}——框内由上至下呈现白色至蓝色的渐变,非常柔和,边线偏蓝且较为柔和。
- {{Quote box}}——带边框的引用,在一个缩小的浮动框中。
- {{Quote frame}}——带边框的引用。
- {{Squote}}——带边框的引用,有立體感。
带引号式
讨论页
- {{Talk quote inline}}——引用討論頁的內容。
- {{Template:Talk quote block}}——引用討論頁的內容,文字內容會自動添加「綠色」的底色。
- Category:引文模板——更多模板。