模板:Cquote:修订间差异

来自SS唯基
跳到导航 跳到搜索
(from zhwiki)
 
(moegirl?)
第1行: 第1行:
{| class="cquote pullquote" role="presentation" {{#if:{{{rtl|}}}|dir="rtl"}} style="{{#switch:{{{float|}}}
<includeonly><div style="display:table;margin: auto; background-color:{{{bgcolor|transparent}}};width:{{{width|auto}}};{{#if: {{{bgcolor|}}}|border: 1px solid #AAAAAA;}}">
  | left = float:left
<div>
  | right = float:right
<div style="display: table-cell;vertical-align: top; color:#B2B7F2;font-size:{{#switch:{{{size|{{{4|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
  | #default = margin:auto
  }}; 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|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{4|20px}}}}}}}}}}}}
|10px=20px
|10px=20px
|30px=60px
|30px=60px
第10行: 第7行:
|50px=100px
|50px=100px
|60px=120px
|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}};" | {{#if:{{{rtl|}}}|-{}-|-{“}-}}
|#default=36px}};font-family:'Times New Roman',serif;font-weight:bold;text-align:left;padding:10px 10px;line-height:100%">{{{open|-{}-}}}</div>
| 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>}}}}}}}}}}}}}}}
<div style="display: table-cell;text-align: left; padding: 1em; vertical-align: middle;">{{{1|}}}</div>
| style="width: 20px; vertical-align: bottom; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{4|20px}}}}}}}}}}}}
<div style="display: table-cell; vertical-align: bottom; color:#B2B7F2;font-size:{{#switch:{{{size|{{{4|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|10px=20px
|10px=20px
|30px=60px
|30px=60px
第18行: 第15行:
|50px=100px
|50px=100px
|60px=120px
|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:{{{rtl|}}}|-{}-|-{”}-}}
|#default=36px}};font-family:'Times New Roman',serif;font-weight:bold;text-align:left;padding:10px 10px;line-height:100%">{{{close|-{}-}}}</div>
|-
</div>{{#if:{{{2|}}}|
{{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{2|{{{3|}}}}}}}}}}}}}}}}}}}}}}}}|{{#if:{{NAMESPACE}}||[[Category:使用抬升式引用的條目]]}}
<div style="font-size: smaller; text-align: right; padding-right: 4%;"><cite style="font-style:normal;">——{{{2}}}{{#if:{{{3|}}}|{{{3}}}|}}</cite>
{{!}} 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>
</div>}}
}}
</div></includeonly><noinclude>
|}<!-- {{subst:FULLPAGENAME}} --><noinclude>
{{documentation}}
</noinclude>

2020年3月7日 (六) 15:55的版本