打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Quote:修订间差异

来自星露谷物语扩展百科
Sizau留言 | 贡献
无编辑摘要
Sizau留言 | 贡献
无编辑摘要
 
(未显示同一用户的9个中间版本)
第1行: 第1行:
<includeonly>{{#switch:{{NAMESPACE}}
<includeonly>{{CSS|Quote|10}}<table class="quotetable lang-{{#ifeq:{{{lang|}}}|en|en|zh}}">
|{{ns:SVE}}={{Quote/SVE|quote={{{quote|{{{1|}}}}}}|speaker={{{speaker|}}}}}
|#default=<nowiki />
<table class="quotetable">
<tr>
<tr>
<td rowspan="2" class="decorativequotemark">&ldquo;
<td rowspan="2" class="decorativequote"></td>
</td>
<td class="quotetext">“{{#invoke:Templates|quoteSVE|{{{quote|{{{1|引文}}}}}}}}”</td>
<td class="quotetext">&ldquo;{{{1}}}&rdquo;
</tr>
</td></tr>
{{#if:{{{speaker|{{{2|}}}}}}|<nowiki />
{{#if:{{{2|}}}|<nowiki />
<tr>
<tr>
<td class="quotesource{{#ifeq:{{{text|}}}|english|english|}}">&mdash; {{{2|}}}
<td class="quotesource">&mdash; {{{2|{{{speaker|}}}}}}</td>
</td></tr>
</tr>
}}</table>}}{{#if:{{#varexists:Quote}}||{{#vardefineecho:Quote|{{#css:.quotetable {
}}</table></includeonly><noinclude>{{Documentation}}</noinclude>
    margin: 6px 0px 6px 0px;
    min-width: unset !important;
    overflow-x: hidden;
}
 
.decorativequotemark {
    font-family: "Georgia", "Times New Roman", "Times", serif;
    font-size: 5em;
    line-height: 0.02em;
    font-weight: bold;
    color: rgb(41, 129, 178);
    border-right: 1px solid rgb(47, 148, 204);
    padding: 25px 0.06em 0em 0.2em;
}
 
.quotetext {
    padding-left: 15px;
    font-weight: 550;
    font-family: 'Source Han Serif CN for Display', 'Noto Serif SC';
    font-size: 1.25em;
    text-shadow: 0.25px 0.25px 0px rgb(48 47 47 / 80%);
}
 
.quotesource {
    text-align: left;
    font-size: 0.9em;
    margin-top: 0;
    padding-left: 120px;
}
 
.quotetextenglish {
    font-family: "Georgia", "Times New Roman", "Times", serif;
    font-size: 1.1em;
    font-style: italic;
    line-height: 1.5em;
    padding-left: 15px;
}
 
.quotesourceenglish {
    text-align: left;
    font-size: 0.9em;
    font-style: italic;
    margin-top: 0;
    padding-left: 120px;
} }} }}}}</includeonly><noinclude>{{Englishdoc|usage=yes}}</noinclude>

2025年12月20日 (六) 23:11的最新版本

[ 查看 | 编辑 | 历史 | 刷新 ]文档页面

描述

当前模板用于展示一条引文。

用法

在相关页面通过以下格式调用本模板:

{{Quote|被引用文本|作者}}

如果展示的引文是纯英语文本,可设置 |lang=en

示例

基础引用

{{Quote|示例文本。}}

“示例文本。”

带来源的引用

{{Quote|被引用文本内容|作者姓名}}

“被引用文本内容”
— 作者姓名

带链接来源的引用

{{Quote|被引用文本内容|[[新手指南|作者条目]]}}

“被引用文本内容”
作者条目

纯英语文本引用

{{Quote|Christmas lights glisten<br />I've got my eye on the door<br />Just waiting for you to walk in<br />But the time is ticking|lang=en}}

“Christmas lights glisten
I've got my eye on the door
Just waiting for you to walk in
But the time is ticking”


另见

[ 查看 | 编辑 | 历史 | 刷新 ]上述文档的内容来自模板:Quote/doc