NSun200512(對話 | 貢獻) 小 ([InPageEdit] 没有编辑摘要) |
(// Edit via Wikiplus) |
||
第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 |
於 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:引文模板——更多模板。