小 (已保护“Template:Cquote”([编辑=仅允许模板编辑员](无限期)[移动=仅允许模板编辑员](无限期))) |
(// Edit via Wikiplus) |
||
(未显示2个用户的3个中间版本) | |||
第4行: | 第4行: | ||
| #default = margin:auto |
| #default = margin:auto |
||
}}; display:table; border-collapse: collapse; border: none; background-color: {{{bgcolor|transparent}}}; width: {{#if: {{{wide|}}} | 100% | {{{width|auto}}}}}; {{#if: {{{bgcolor|}}} | border: 1px solid #AAAAAA;}}" |
}}; display:table; border-collapse: collapse; border: none; background-color: {{{bgcolor|transparent}}}; width: {{#if: {{{wide|}}} | 100% | {{{width|auto}}}}}; {{#if: {{{bgcolor|}}} | border: 1px solid #AAAAAA;}}" |
||
| style="width: 20px; vertical-align: top; border: none; color: {{{qcolor|# |
| style="width: 20px; vertical-align: top; border: none; color: {{{qcolor|#328C60}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{4|20px}}}}}}}}}}}} |
||
|10px=20px |
|10px=20px |
||
|30px=60px |
|30px=60px |
||
第12行: | 第12行: | ||
|#default=40px}}; font-family: {{#if:{{{rtl|}}}|Roman|'Times New Roman', Times}}, serif; font-weight: bold; line-height: .6em; text-align: left; padding: {{#if:{{{small|}}}|10px 2px|10px}}; text-orientation: upright" | {{#if:{{{rtl|}}}|”|“}} |
|#default=40px}}; font-family: {{#if:{{{rtl|}}}|Roman|'Times New Roman', Times}}, serif; font-weight: bold; line-height: .6em; text-align: left; padding: {{#if:{{{small|}}}|10px 2px|10px}}; text-orientation: upright" | {{#if:{{{rtl|}}}|”|“}} |
||
| style="vertical-align: top; border: none;{{#if:{{{rtl|}}}|direction:rtl;}} padding: {{#if:{{{small|}}}|4px 2px|4px 10px}};" | {{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}} |
| style="vertical-align: top; border: none;{{#if:{{{rtl|}}}|direction:rtl;}} padding: {{#if:{{{small|}}}|4px 2px|4px 10px}};" | {{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}} |
||
| style="width: 20px; vertical-align: bottom; border: none; color: {{{qcolor|# |
| style="width: 20px; vertical-align: bottom; border: none; color: {{{qcolor|#328C60}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{4|20px}}}}}}}}}}}} |
||
|10px=20px |
|10px=20px |
||
|30px=60px |
|30px=60px |
||
第20行: | 第20行: | ||
|#default=40px}}; font-family: {{#if:{{{rtl|}}}|Roman|'Times New Roman', Times}}, serif; font-weight: bold; line-height: .6em; text-align: right; padding: {{#if:{{{small|}}}|10px 2px|10px}}; text-orientation: upright" | {{#if:{{{rtl|}}}|“|”}} |
|#default=40px}}; font-family: {{#if:{{{rtl|}}}|Roman|'Times New Roman', Times}}, serif; font-weight: bold; line-height: .6em; text-align: right; padding: {{#if:{{{small|}}}|10px 2px|10px}}; text-orientation: upright" | {{#if:{{{rtl|}}}|“|”}} |
||
|- |
|- |
||
{{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{2|{{{3|}}}}}}}}}}}}}}}}}}}}}}}}|{{#if:{{NAMESPACE}}||[[Category:使用抬升式引用的 |
{{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{2|{{{3|}}}}}}}}}}}}}}}}}}}}}}}}|{{#if:{{NAMESPACE}}||[[Category:使用抬升式引用的条目]]}} |
||
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%; font-size: smaller; text-align: right;" {{!}} <cite>——{{#if:{{{author|{{{personquoted|{{{2|}}}}}}}}}|{{{author|{{{personquoted|{{{2}}}}}}}}}{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{3|}}}}}}}}}}}}}}}|,{{{source|{{{publication|{{{title|{{{quotesource|{{{3}}}}}}}}}}}}}}}}}|{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{3|}}}}}}}}}}}}}}}|{{{source|{{{publication|{{{title|{{{quotesource|{{{3}}}}}}}}}}}}}}}}}}}</cite> |
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%; font-size: smaller; text-align: right;" {{!}} <cite>——{{#if:{{{author|{{{personquoted|{{{2|}}}}}}}}}|{{{author|{{{personquoted|{{{2}}}}}}}}}{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{3|}}}}}}}}}}}}}}}|,{{{source|{{{publication|{{{title|{{{quotesource|{{{3}}}}}}}}}}}}}}}}}|{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{3|}}}}}}}}}}}}}}}|{{{source|{{{publication|{{{title|{{{quotesource|{{{3}}}}}}}}}}}}}}}}}}}</cite> |
||
}} |
}} |
2024年1月28日 (日) 12:28的最新版本
“ | 本文为测试文本。这段文本用于说明格式,请勿删除。 | ” |
{{Cquote}}是一个适合于抬升式引用(pull quote)的模板,此类引用从一个页面的文本中独立展示出来。当抬升式引用被用在一个章节的开头或结尾做简短的引用,用以帮助强调该章节的内容,此时这种引用效果最好。
注意:本模板不应当用于条目文本中的块引用(Block quote)。对于文本中很长的引用,格式手册中建议使用HTML的<blockquote>元素,就像通过使用{{Quote}}模板那样。
用法
{{Cquote|text=引用文本|author=引用来源|source=引用出处}}
参数
- 参数
1
或quote
- 引用的文本;用
<p>...</p>
包着第二个起每个段落。另见{{Poemquote}}。 - 注意:如果引用的文本含有一个或更多“=”(等号),那幺此模板必须以{{cquote|1=引用文本}}的形式调用。
接下来的两个参数能够用来提供引文的出处。
- 参数
author
- 人的名字,引文即是他/她所述或所着。可以包含链接。
- 参数
source
- 该引文的来源(演讲、出版物标题,等等)。可以包含链接。
语法
{{Cquote|<引用内容>|<引用来源>|<引用出处>}}
“ | <引用内容> | ” |
——<引用来源>,<引用出处> |
相关模板
- {{Quote}}——不带边框的引用,可设定高度。
带边框式
- {{Wquote}}——带柔和渐变的灰色阴影,采用圆角。
- {{现代显示框}}——同样带柔和渐变的灰色阴影,但更为柔和、没有圆角,且更为美观。
- {{现代蓝边、渐变底纹显示框}}——框内由上至下呈现白色至蓝色的渐变,非常柔和,边线偏蓝且较为柔和。
- {{Quote box}}——带边框的引用,在一个缩小的浮动框中。
- {{Quote frame}}——带边框的引用。
- {{Squote}}——带边框的引用,有立体感。
带引号式
讨论页
- {{Talk quote inline}}——引用讨论页的内容。
- {{Talk quote block}}——引用讨论页的内容,文字内容会自动添加“绿色”的底色。
- Category:引文模板——更多模板。