模板:Quote:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的10个中间版本) | |||
| 第1行: | 第1行: | ||
<includeonly>{{# |
<includeonly>{{CSS|Quote|10}}<table class="quotetable lang-{{#ifeq:{{{lang|}}}|en|en|zh}}"> |
||
|{{ns:SVE}}={{Quote/SVE|quote={{{quote|}}}|speaker={{{speaker|}}}}} |
|||
|#default=<nowiki /> |
|||
<table class="quotetable"> |
|||
<tr> |
<tr> |
||
<td rowspan="2" class=" |
<td rowspan="2" class="decorativequote"></td> |
||
<td class="quotetext">“{{#invoke:Templates|quoteSVE|{{{quote|{{{1|引文}}}}}}}}”</td> |
|||
</ |
</tr> |
||
<td class="quotetext">“{{{1}}}” |
|||
| ⚫ | |||
</td></tr> |
|||
| ⚫ | |||
<tr> |
<tr> |
||
<td class="quotesource |
<td class="quotesource">— {{{2|{{{speaker|}}}}}}</td> |
||
</tr> |
|||
| ⚫ | |||
}}</table>}}{{#if:{{#varexists:Quote}}||{{#vardefineecho:Quote|{{#css:.quotetable { |
|||
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; |
|||
| ⚫ | |||
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。