“模板:InfoBox”的版本间的差异
跳到导航
跳到搜索
(未显示同一用户的10个中间版本) | |||
第1行: | 第1行: | ||
− | {{ | + | <noinclude> |
− | + | <pre> | |
− | + | {{InfoBox|image=图片文件|content=正文}} | |
− | + | </pre> | |
− | + | </noinclude>{{Box | |
− | < | + | |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> | |
}} | }} |