模板:Quote:修订间差异

(新增模板)
标签2017年版源代码编辑
 
(解除Image限制)
标签2017年版源代码编辑
第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>

2021年12月31日 (五) 05:44的版本

Template-info.png 模板文档  [查看] [编辑] [历史] [刷新]

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

本模板来源于MCBBS Wiki。

用法

无参数用法:

{{Quote|Content|PersonName|PersonTopic|[[File:Icon-Info.png|64px]]}}
{{Quote|Content|PersonName|PersonTopic}}
{{Quote|Content|PersonName}}
{{Quote|Content}}
Icon-Info.png
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}}
Icon-Info.png
Content
——PersonName评论于PersonTopic
Content
——PersonName评论于PersonTopic
Content
——PersonName
Content
Content
——Custom Text

无描述。

模板参数

参数描述类型状态
11

内容

未知可选
imageimage

作者头像

未知可选
作者名称author

无描述

未知可选
customcustom

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

未知可选
topictopic

话题

未知可选