编辑“Template:Ambox/small”

跳转至: 导航搜索

警告:您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您登录创建一个账户,您的编辑将归属于您的用户名,且将享受其他好处。

该编辑可以被撤销。请检查下面的对比以核实您想要撤销的内容,然后保存下面的更改以完成撤销。
最后版本 您的文字
第1行: 第1行:
<noinclude>
+
<table class="metadata plainlinks ambox mbox-small-left {{{class|}}}" style="{{{style|}}}"><tr>{{#switch:{{{smallimage|}}}
<div style="font-size:18px; font-weight:bold; padding 5px 0px 0px 0px"> 警告:本模板为元模板,仅用于制作其他模板,请勿在条目中直接使用。</div>
+
|blank
== 用法==
+
|none    = <td class="mbox-empty-cell"></td>
<nowiki>{{Ambox/small
+
|#default = <td class="mbox-image">{{#if:{{{smallimage|}}}
|img= 在消息框左边显示的Wiki内图片文件名(必须)
+
  |{{{smallimage}}}
|content= 小字正文(必须)
+
  |[[File:{{#switch:{{{type|}}}
|bdcolor= 左边框粗线条颜色(可选,默认为“grey”)
+
  |speedy    = Ambox speedy deletion.png
}}</nowiki>
+
  |delete    = Ambox deletion.png
 
+
  |content    = Ambox content.png
== 示例与效果==
+
  |style      = Edit-clear.svg
<nowiki>{{Ambox/small
+
  |move      = Ambox move.png
|img=Yanggen1.jpg
+
  |protection = Ambox protection.png
|content= 看我大[[用户:StephDC|Steph]]来拯救世界!
+
  |notice <!-- notice = default -->
|bdcolor=#EEBBBB
+
  |#default  = Ambox notice.png
}}</nowiki>
+
  }}|20x20px|link=|alt=]]
 
+
}}</td>
{{Ambox/small
+
}}<td class="mbox-text" style="{{{textstyle|}}}"> <span class="mbox-text-span">{{#if:{{{smalltext|}}}
|img=Yanggen1.jpg
+
|{{{smalltext}}}
|content= 看我大[[用户:StephDC|Steph]] 来拯救世界!
+
|{{{issue}}}
|bdcolor=#EEBBBB
+
}}{{#if:{{{date|}}}
}}
+
|&#32;<small>''({{{date}}})''</small>
 
+
}}</span></td>{{#switch:{{{smallimageright|}}}
</noinclude><includeonly><table style="border-style: solid; border-width: 1px 1px 1px 10px; border-color:grey grey grey {{{bdcolor|grey}}}; width: 30%; margin: 0px 5%;">
+
|
  <tr>
+
|none    = <!-- No image -->
    <th rowspan="2" style="width:20px; height:20px; padding: 2px 10px 2px 10px">[[Image:{{{img}}}|20px]]</th>
+
|#default = <td class="mbox-imageright">{{{smallimageright}}}</td>
    <td><div style="font-family:sans;">{{{content}}}</div></td>
+
}}</tr></table>
  </tr>
 
</table></includeonly>
 

请注意您对汉服百科的所有贡献都被认为是在GNU自由文檔許可證1.3或更高版本下发布,请查看在汉服百科:版权的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。不要在未获授权的情况下发表!

取消 | 编辑帮助(在新窗口中打开)

该页面使用的模板: