“模板:文字图标化”的版本间的差异
跳到导航
跳到搜索
BlackWhite(讨论 | 贡献) |
BlackWhite(讨论 | 贡献) |
||
第3行: | 第3行: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#switch:{{{类型|}}} | {{#switch:{{{类型|}}} | ||
− | |无需编辑=<div style="background:#ffdd22;padding:. | + | |无需编辑=<div style="background:#ffdd22;padding:.1rem .5rem;display: inline-table;color:#292929;font-weight: bold;font-size:12px"> |
<i class="fas fa-hourglass-half" style="font-size:14px"></i> 无需编辑</div> | <i class="fas fa-hourglass-half" style="font-size:14px"></i> 无需编辑</div> | ||
− | |自动化=<div style="background:#ffdd22;padding:. | + | |自动化=<div style="background:#ffdd22;padding:.1rem .5rem;display: inline-table;color:#292929;font-weight: bold;font-size:12px"> |
<i class="fas fa-redo-alt" style="font-size:14px"></i> 自动化</div> | <i class="fas fa-redo-alt" style="font-size:14px"></i> 自动化</div> | ||
− | |自定义=<div style="background:{{{底色|}}};padding:. | + | |自定义=<div style="background:{{{底色|}}};padding:.1rem .5rem;display: inline-table;color:{{{字体颜色|}}};font-weight: bold;font-size:12px"> |
<i class="fas fa-{{{图标|}}}" style="font-size:14px"></i> {{{描述|}}}</div> | <i class="fas fa-{{{图标|}}}" style="font-size:14px"></i> {{{描述|}}}</div> | ||
}} | }} | ||
</includeonly> | </includeonly> |
2022年2月2日 (三) 09:16的版本
这是“文字图标化”模板。调用它时应该采用如下格式:
{{文字图标化 |= }}
编辑页面以阅读模板文本。