「模板:Cquote」修訂間的差異
跳至導覽
跳至搜尋
(test) |
|||
行 1: | 行 1: | ||
{| style="margin:auto; border-collapse:collapse; border | {| class="cquote" role="presentation" {{#if:{{{rtl|}}}|dir="rtl"}} style="{{#switch:{{{float|}}} | ||
#if: {{{bgcolor|}}} | | left = float:left | ||
| right = float:right | |||
}} | | #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|{{{2|20px}}}}}}}}}}}} | |||
|10px=20px | |10px=20px | ||
|30px=60px | |30px=60px | ||
行 9: | 行 10: | ||
|50px=100px | |50px=100px | ||
|60px=120px | |60px=120px | ||
|#default= | |#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|}}}|-{”}-|-{“}-}} | ||
| | | 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 | |10px=20px | ||
|30px=60px | |30px=60px | ||
行 17: | 行 18: | ||
|50px=100px | |50px=100px | ||
|60px=120px | |60px=120px | ||
|#default= | |#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|}}}|-{“}-|-{”}-}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{2|{{{3|}}}}}}}}}}}}}}}}}}}}}}}}| | ||
{{!}} colspan="3" style="padding-right: 4%" {{!}} {{#if:{{{ | {{!}} 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>}} | ||
}} | }} | ||
|}<!-- {{subst:FULLPAGENAME}} --><noinclude> | |}<!-- {{subst:FULLPAGENAME}} --><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
於 2017年8月24日 (四) 15:43 的修訂
{{#if:|
left = float:left | right = float:right | #default = margin:auto
}}; border-collapse: collapse; border: none; background-color: transparent; width: {{#if: | 100% | auto}}; {{#if: | border: 1px solid #AAAAAA;}}" |
style="width: 20px; vertical-align: top; border: none; color: #B2B7F2; font-size: {{#switch:20px | 10px=20px | 30px=60px | 40px=80px | 50px=100px | 60px=120px | Roman|'Times New Roman', Times}}, serif; font-weight: bold; line-height: .6em; text-align: left; padding: {{#if:|10px 2px|10px 10px}};" | {{#if:|-{”}-|-{“}-}} | direction:rtl;}} padding: {{#if:|4px 2px|4px 10px}};" | 模板:Loop | style="width: 20px; vertical-align: bottom; border: none; color: #B2B7F2; font-size: {{#switch:20px | 10px=20px | 30px=60px | 40px=80px | 50px=100px | 60px=120px | Roman|'Times New Roman', Times}}, serif; font-weight: bold; line-height: .6em; text-align: right; padding: {{#if:|10px 2px|10px 10px}};" | {{#if:|-{“}-|-{”}-}} |
— {{#if:|{{{2}}}{{#if:|,{{{3}}}}}|{{#if:|{{{3}}}}}}}
}} |
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}