模板: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:引文模板——更多模板。