更改

跳转至: 导航搜索

Template:Ambox/small

添加109字节, 11年前
无编辑摘要
<table classnoinclude>==用法="metadata plainlinks ambox mbox-small-left {{{class|}}}" style="{{{style|}}}"> <trnowiki>{{#switch:{{{smallimageAmbox/small|}}}img= 在消息框左边显示的Wiki内图片文件名(必须)|blank20px|content= 小字正文(必须)|none bdcolor= <td class="mbox-empty-cell">左边框粗线条颜色(可选,默认为“grey”)}}</tdnowiki==示例与效果== |#default = <td class="mbox-image"nowiki>{{#if:{{{smallimageAmbox/small|}}} img=Yanggen1.jpg|{{{smallimage}}}20px |content=汪星人罔顾历史,妄图窃取自古以来就属于喵星人的[[File:{{#switch用户:{{{typeBiscuiT|}}}饼干]]。<br>喵星人将采取一切手段予以反击。 |speedy bdcolor= Ambox speedy deletion.png#EEBBBB}}</nowiki> |delete = Ambox deletion.png |content = {{Ambox content.png/small |style img= Edit-clearYanggen1.svg jpg|move = Ambox move.png20px |protection content= Ambox protection.png 汪星人罔顾历史,妄图窃取自古以来就属于喵星人的[[用户:BiscuiT|notice 饼干]]。<!-- notice = default --br>喵星人将采取一切手段予以反击。 |bdcolor=#default = Ambox notice.pngEEBBBB }}|20x20px|link=|alt=]] }}</tdnoinclude><includeonly>}}<td classtable style="mboxborder-text" style=": solid; border-width: 1px 1px 1px 10px; border-color:grey grey grey {{{textstylebdcolor|grey}}}; width: 90%; margin: 0px 5%;"> <tr> <span classth rowspan="mbox-text-span2" style=">{{#ifwidth:{{{smalltext|}}} |{{{smalltext}}} |{{{issue}}}}}{{#if20px; height:{{{date|}}} |&#3220px;<smallpadding: 2px 10px 2px 10px">''([[Image:{{{dateimg}}})'']]</smallth>}} </span></td>{{#switch:{{{smallimageright|}}} | |none = <!-- No image --> |#default = <td classdiv style="mboxfont-imagerightfamily:sans;">{{{smallimagerightcontent}}}</div></td>}} </tr></table></includeonly>

导航菜单