跳到内容

模板:Cquote:修订间差异

添加685字节 、​ 2020年4月24日 (星期五)
小
去除非必须分类
Cquote>Cdip150
小无编辑摘要
小 (去除非必须分类)
 
(未显示12个用户的30个中间版本)
第1行: 第1行:
{| align="center" style="border-collapse:collapse; border-style:none; background-color:transparent; margin: 5px auto;" class="cquote"
{| class="cquote pullquote" role="presentation" {{#if:{{{rtl|}}}|dir="rtl"}} style="{{#switch:{{{float|}}}
|-
  | left = float:left
| valign="top"  style="width:20px; color:#B2B7F2; font-size:{{{size|{{{quotewidth|{{{width|40px}}}}}}}}}; font-family:Elephant,'Times New Roman',serif; font-weight:bold; text-align:left; padding:10px 10px;" |-{“}-
  | right = float:right
| valign="top" style="padding:4px 10px;" | {{{1|在第一个参数插入引用内容,不要有引号。}}}
  | #default = margin:auto
| valign="bottom"  style="width:20px; color:#B2B7F2; font-size:{{{size|{{{quotewidth|{{{width|40px}}}}}}}}}; font-family:Elephant,'Times New Roman',serif; font-weight:bold; text-align:right; padding:10px 10px; " |-{”}-
  }}; border-collapse: collapse; border: none; background-color: {{{bgcolor|transparent}}}; width: {{#if: {{{wide|}}} | 100% | {{{width|auto}}}}}; {{#if: {{{bgcolor|}}} | border: 1px solid #AAAAAA;}}"
{{#if:{{{2|}}}{{{3|}}}<noinclude>有来源</noinclude>|
| style="width: 20px; vertical-align: top; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{4|20px}}}}}}}}}}}}
{{!}}-
|10px=20px
{{!}} colspan="3" style="padding-top: 10px" {{!}} {{#if:{{{2|<noinclude>来源</noinclude>}}}|<p style="font-size:smaller;line-height:1em;text-align: right; margin-right: 4em"><cite style="font-style:normal;">──{{{2<noinclude>|来源</noinclude>}}}{{#if:{{{3|<noinclude>出处</noinclude>}}}|,{{{3<noinclude>|出处</noinclude>}}}}}</cite></p>}}
|30px=60px
|40px=80px
|50px=100px
|60px=120px
|#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 10px}};" | “
| 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|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{4|20px}}}}}}}}}}}}
|10px=20px
|30px=60px
|40px=80px
|50px=100px
|60px=120px
|#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 10px}};" | ”
|-
{{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{2|{{{3|}}}}}}}}}}}}}}}}}}}}}}}}|
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%; font-size: smaller; text-align: right;" {{!}} <cite>——&thinsp;{{#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>
}}
}}
|}<noinclude>
|}<!-- {{subst:FULLPAGENAME}} --><noinclude>
==语法==
{{documentation}}
<pre>
{{Cquote|<引用内容>|<引用来源>|<引用出处>}}
</pre>
==效果==
<pre>
{{Cquote|子曰:学而时习之,不亦说乎?<br />
有朋自远方来,不亦乐乎?<br />
人不知而不愠,不亦君子乎?|<nowiki>[[孔丘]]|《[[论语]]》</nowiki>}}
</pre>
{{Cquote|子曰:学而时习之,不亦说乎?<br />有朋自远方来,不亦乐乎?<br />人不知而不愠,不亦君子乎?|[[孔丘]]|《[[论语]]》}}
[[Category:引用模板]]
[[en:Template:Cquote]]
</noinclude>
</noinclude>