“模板:InfoBox”的版本间的差异
跳到导航
跳到搜索
第3行: | 第3行: | ||
{{InfoBox|image=图片文件|content=正文}} | {{InfoBox|image=图片文件|content=正文}} | ||
</pre> | </pre> | ||
− | </noinclude> | + | </noinclude>{{Box |
− | {{Box|style=min-width:60%; text-align:center; margin-top:0.2rem; margin-bottom:0.2rem|content= | + | |style=min-width:60%; text-align:center; margin-top:0.2rem; margin-bottom:0.2rem; display: grid; grid-template-columns: 1fr 8fr |
− | + | |content= | |
− | + | <div style="display: grid; place-items: center">[[Image:{{{image|Icon_Warning.svg}}}|50px| frameless]]</div> | |
− | + | <div style="text-align: left; color: {{{color|black}}}; font-size: {{{size|1}}}rem; margin: 1rem;"> | |
− | + | {{{content|提示信息}}} | |
− | < | + | </div> |
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} |