模板:quote:修订间差异

添加209字节 、​ 2020年5月10日 (星期日)
0202年啦 有人还在用table排版 我真tm屑屑你哦(
无编辑摘要
(0202年啦 有人还在用table排版 我真tm屑屑你哦()
第1行: 第1行:
<includeonly>{| style="background:transparent"
<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: {{{4|}}} | {{!}} {{ #if: {{{2|}}} | rowspan="2" {{!}} }} [[File:{{{4}}}|64px]] }}
<div style="font-size: 3.3em; color: #ff9900; font-family: Times, serif; font-weight: bold;">-{“}-</div>
| style="color: #ff9900; font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: top;" | “
<div class="kai" style="align-self: center;">
| face ="Kai" |{{{1}}}
{{{1}}}
| style="color: #ff9900; font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: bottom;" |
</div>
{{#if: {{{2|}}} |
<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> }}
{{!}} <!-- 空cell -->
</div></div></includeonly><noinclude>
{{!}} style="text-align:right;" {{!}} <small>——'''{{#if:{{{custom|}}}|{{{custom}}}|{{{author|{{{2}}}}}}{{#if:{{{topic|{{{3|}}}}}}|<nowiki />评论于{{{topic|{{{3}}}}}}|说}}}}'''</small>
{{!}} <!-- 防止潜在渲染错误的空cell --> }}
|}</includeonly><noinclude>
== 用法 ==
== 用法 ==
<pre>
<pre>
145

个编辑