跳转到内容

模板:Quote:修订间差异

Admin留言 | 贡献
新增模板
标签2017年版源代码编辑
 
Admin留言 | 贡献
修改模板数据
标签2017年版源代码编辑
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
<includeonly><div style="display: table;"><div style="display: inline-grid; grid-template-columns: {{#if: {{{image|{{{4|}}}}}} | 64px }} 23px 1fr 23px; grid-gap: 4px;">
<includeonly><div style="display: table;"><div style="display: inline-grid; grid-template-columns: {{#if: {{{image|{{{4|}}}}}} | 64px }} 23px 1fr 23px; grid-gap: 4px;">
{{#if: {{{image|{{{4|}}}}}} | <div style="grid-row: 1 / {{#if: {{{author|{{{2|}}}}}}{{{custom|}}} | 3 | 2 }}; align-self: center;">[[File:{{{image|{{{4|}}}}}}|64px]]</div> }}
{{#if: {{{image|{{{4|}}}}}} | <div style="grid-row: 1 / {{#if: {{{author|{{{2|}}}}}}{{{custom|}}} | 3 | 2 }}; align-self: center;">{{{image|{{{4|}}}}}}</div> }}
<div style="font-size: 3.3em; color: #9090dd; font-family: Times, serif; font-weight: bold;">“</div>
<div style="font-size: 3.3em; color: #9090dd; font-family: Times, serif; font-weight: bold;">“</div>
<div class="kai" style="align-self: center;">{{{1}}}</div>
<div class="kai" style="align-self: center;">{{{1}}}</div>
第11行: 第11行:
"description": "内容"
"description": "内容"
},
},
"2": {},
"3": {},
"4": {},
"image": {
"image": {
"description": "作者头像"
"description": "作者头像"
},
},
"author": {
"author": {
"label": "作者名称"
"description": "作者名称"
},
},
"custom": {
"custom": {
第29行: 第32行:
"author",
"author",
"custom",
"custom",
"topic"
"topic",
]
"4",
"2",
"3"
],
"description": "添加一段引言。"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

2021年12月31日 (五) 06:02的最新版本

模板文档  [查看] [编辑] [历史] [刷新]

此模板用于引用某人说的一段话。

本模板来源于MCBBS Wiki。

用法

无参数用法:

{{Quote|Content|PersonName|PersonTopic|[[File:Icon-Info.png|64px]]}}
{{Quote|Content|PersonName|PersonTopic}}
{{Quote|Content|PersonName}}
{{Quote|Content}}
Content
——PersonName评论于PersonTopic
Content
——PersonName评论于PersonTopic
Content
——PersonName
Content

有参数用法:

{{Quote|Content|author=PersonName|topic=PersonTopic|image=[[File:Icon-Info.png|64px]]}}
{{Quote|Content|author=PersonName|topic=PersonTopic}}
{{Quote|Content|author=PersonName}}
{{Quote|Content}}
{{Quote|Content|custom=Custom Text}}
Content
——PersonName评论于PersonTopic
Content
——PersonName评论于PersonTopic
Content
——PersonName
Content
Content
——Custom Text

添加一段引言。

模板参数[编辑模板数据]

参数描述类型状态
11

内容

未知可选
imageimage

作者头像

未知可选
authorauthor

作者名称

未知可选
customcustom

自定义引言说明文本,设置了则author和topic无效

未知可选
topictopic

话题

未知可选
44

无描述

未知可选
22

无描述

未知可选
33

无描述

未知可选