模板:InfoBox:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的6个中间版本) | |||
| 第3行: | 第3行: | ||
{{InfoBox|image=图片文件|content=正文}} | {{InfoBox|image=图片文件|content=正文}} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude>{{Box | ||
{{Box|style=min-width:60%; text-align:center; margin-top:0. | |style=min-width:{{{minwidth|60%}}}; text-align:center; margin:0.2rem; display: grid; grid-template-columns: auto 1fr; grid-gap: 0.5rem; padding-left: 1rem; padding-right: 1rem; padding-top: 0.2rem; padding-bottom: 0.2rem | ||
|content= | |||
<div style="display: grid; place-items: center">[[Image:{{{image|Icon_Warning.svg}}}|frameless|50px]]</div> | |||
<div style="text-align: left; color: {{{color|black}}}; font-size: {{{size|1}}}rem; margin: 1rem;"> | |||
{{{content|提示信息}}} | |||
</div> | |||
</ | |||
}} | }} | ||