|
|
| (未显示同一用户的12个中间版本) |
| 第1行: |
第1行: |
| <includeonly>{| class="quotetable" | | <includeonly>{{CSS|Quote|10}}<table class="quotetable lang-{{#ifeq:{{{lang|}}}|en|en|zh}}"> |
| |-
| | <tr> |
| |rowspan="2" class="decorativesquote"|
| | <td rowspan="2" class="decorativesquote"></td> |
| |class="squotetext{{#ifeq:{{{text|}}}|english|english|}}"|“{{{1}}}”<!--
| | <td class="squotetext">“{{{1|引文}}}”</td> |
| -->{{#if:{{{2|}}}|<nowiki />
| | </tr> |
| {{!}}-
| | {{#if:{{{2|}}}|<nowiki /> |
| {{!}}class="quotesource{{#ifeq:{{{text|}}}|english|english|}}"{{!}}— {{{2|}}} }}
| | <tr> |
| |-
| | <td class="quotesource">— {{{2|}}}</td> |
| |}{{#if:{{#varexists:Squote}}||{{#vardefineecho:Squote|{{#css:.quotetable {
| | </tr> |
| margin: 6px 0px 6px 0px;
| | }}</table></includeonly><noinclude>{{Documentation}}</noinclude> |
| min-width: unset !important;
| |
| overflow-x: hidden;
| |
| }
| |
| | |
| .decorativesquote {
| |
| font-family: "Georgia", "Times New Roman", "Times", serif;
| |
| font-size: 3em;
| |
| line-height: 0.02em;
| |
| font-weight: bold;
| |
| color: rgb(41, 129, 178);
| |
| border-right: 1px solid rgb(47, 148, 204);
| |
| padding: 18px 4px 0 4px;
| |
| }
| |
| | |
| .decorativesquote::before {
| |
| content: "“";
| |
| }
| |
| | |
| .squotetext {
| |
| padding-left: 8px;
| |
| font-weight: 500;
| |
| }
| |
| | |
| .quotesource {
| |
| text-align: left;
| |
| font-size: 0.9em;
| |
| margin-top: 0;
| |
| padding-left: 120px;
| |
| }
| |
| | |
| .squotetextenglish {
| |
| font-family: "Georgia", "Times New Roman", "Times", serif;
| |
| font-size: 1em;
| |
| font-style: italic;
| |
| line-height: 1.4em;
| |
| padding-left: 8px;
| |
| }
| |
| | |
| .quotesourceenglish {
| |
| text-align: left;
| |
| font-size: 0.9em;
| |
| font-style: italic;
| |
| margin-top: 0;
| |
| padding-left: 120px;
| |
| }
| |
| }} }}}}</includeonly><noinclude>{{Squote|引文}}{{Englishdoc}}</noinclude>
| |
描述
当前模板用于展示一条简洁的引文。
用法
在相关页面通过以下格式调用本模板:
{{Squote|被引用文本}}
如果展示的引文是纯英语文本,可设置 |lang=en。
示例
基础引用
模板:模板
纯英语文本引用
模板:模板
另见