模板:信息框:修订间差异
来自罪人堂Wiki
(未显示2个用户的11个中间版本) | |||
第1行: | 第1行: | ||
<table style=" | <table style="{{{style|}}}" class="plainlinks esu-ambox" style="font-size: 95%; width: 80%; margin: 0 auto; margin-top: -1px; border: 1px #AAA solid; border-left: 10px solid #228b22; border-collapse: collapse; background-color: #EEE; color: #000; {{#switch:{{{border|}}} | ||
| red = border-left: 10px solid #b22222; | |||
| orange = border-left: 10px solid #f28500; | |||
| yellow = border-left: 10px solid #f4c430; | |||
| purple = border-left: 10px solid #9932cc; | |||
| pink = border-left: 10px solid #FFC0CB; | |||
| blue = border-left: 10px solid #1e90ff; | |||
| green = border-left: 10px solid #228b22; | |||
| gray = border-left: 10px solid #bba; | |||
| #default = border-left: 10px solid #228b22; | |||
}}"> | |||
<tr> | <tr> | ||
<td style="width: {{{ | <td style="width: 60px; padding: 2px 0px 2px 0.5em; text-align: center;"> | ||
<td style="padding: | {{#if:{{{image|}}} | ||
<div style="font-size: smaller; margin: | | {{#ifexist:File:{{{image}}} | ||
| [[File:{{{image}}}|50px]] | |||
| {{{image}}} | |||
</div></td></tr></table> | }} | ||
| [[File:yangyang.jpg|50px]] | |||
}} | |||
< | </td> | ||
<td style="padding: 0.25em 0.5em;">'''{{{type|标题}}}''' | |||
<div style="font-size: smaller; margin-top:0.5em; margin-left:0.8em;"> | |||
{{{info|这是一个信息框}}} | |||
</div></td></tr></table><noinclude>[[Category:文档管理模板]]</noinclude> | |||