模板:quote:修订间差异

添加288字节 、​ 2022年7月13日 (星期三)
无编辑摘要
(0202年啦 有人还在用table排版 我真tm屑屑你哦()
无编辑摘要
 
(未显示4个用户的7个中间版本)
<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> }}
<div style="font-size: 3.3em; color: #ff9900; font-family: Times, serif; font-weight: bold;">-{}-</div>
<div class="kai" style="align-self: center;">{{{1}}}</div>
<div style="font-size: 3.3em; color: #ff9900; font-family: Times, serif; font-weight: bold; line-height: 0.75em; align-self: end;">-{}-</div>
{{{1}}}
</div>
<div style="font-size: 3.3em; color: #ff9900; font-family: Times, serif; font-weight: bold; line-height: 0.75em; align-self: end;">-{”}-</div>
{{#if: {{{author|{{{2|}}}}}}{{{custom|}}} | <div style="grid-column: {{#if: {{{image|{{{4|}}}}}} | 3 / 4 | 2 / 3 }}; text-align: right; font-size: smaller;">——'''{{#if: {{{custom|}}} | {{{custom}}} | {{{author|{{{2|[[Minecraft|某人]]}}}}}}{{#if: {{{topic|{{{3|}}}}}} |<nowiki/>评论于{{{topic|{{{3}}}}}} }} }}'''</div> }}
</div></div></includeonly><noinclude>
{{Documentation}}
== 用法 ==
[[Category:格式模板]]<templatedata>
<pre>
{
{{Quote|话|某人|某事}}
"params": {
 
"1": {
{{Quote|话|某人}}
"label": "内容",
 
"type": "content",
{{Quote|话}}
"required": true
</pre>
},
== 效果 ==
"author": {
[[文件:(WA5ONVLBD`E8 F$MVKTZUU.png|缩略图|左|话某人某事]]
"aliases": [
[[文件:OCAWBZVU(~ 1$GC)%I AQ H.png|缩略图|左|话某人]]
"2"
[[文件:)IZ5M3L@ %0V(RME(G@M)BX.png|缩略图|左|话]]
],
[[Category:格式模板]]
"label": "某人"
</noinclude>
},
"topic": {
"aliases": [
"3"
],
"label": "某事",
"type": "string"
},
"image": {
"aliases": [
"4"
],
"label": "插图",
"example": "mcbbs.png",
"type": "string"
},
"custom": {
"label": "自定义签名",
"type": "content"
}
},
"description": "引言",
"paramOrder": [
"1",
"author",
"topic",
"image",
"custom"
]
}
</templatedata></noinclude>