跳转到内容

Template:Ombox:修订间差异

轻之舟百科,让知识轻装启航
云云​(留言 | 贡献)
创建页面,内容为“<table class="ombox ombox-{{{type|notice}}}" role="presentation" style="margin: 4px 10%; border-collapse: collapse; background: {{#switch: {{{type|notice}}} | speedy = #ffdbdb | delete = #ffdbdb | content = #ffd699 | style = #e1d3f9 | notice = #d8e8ff | move = #e0f8d8 | protection = #efefef | #default = #f8f9fa }}; border: {{#switch: {{{type|notice}}} | speedy = 2px solid #b32424 | delete = 2px solid #b32424 | content = 2px solid #f28500 | style = 2…”
云云​(留言 | 贡献)
无编辑摘要
第1行: 第1行:
<table class="ombox ombox-{{{type|notice}}}" role="presentation" style="margin: 4px 10%; border-collapse: collapse; background: {{#switch: {{{type|notice}}}
<table class="ombox" role="presentation" style="margin: 4px 10%; border-collapse: collapse; background: #f8f9fa; border: 1px solid #a2a9b1; width: 80%; margin-left: auto; margin-right: auto;">
| speedy = #ffdbdb
| delete = #ffdbdb
| content = #ffd699
| style = #e1d3f9
| notice = #d8e8ff
| move = #e0f8d8
| protection = #efefef
| #default = #f8f9fa
}}; border: {{#switch: {{{type|notice}}}
| speedy = 2px solid #b32424
| delete = 2px solid #b32424
| content = 2px solid #f28500
| style = 2px solid #9932cc
| notice = 1px solid #a2a9b1
| move = 2px solid #4b7
| protection = 2px solid #a2a9b1
| #default = 1px solid #a2a9b1
}}; width: 80%; margin-left: auto; margin-right: auto;">
<tr>
<tr>
{{#if: {{{image|}}} |
<td style="border: none; padding: 0.5em 0.9em; width: 100%;">
<td class="mbox-image" style="border: none; padding: 2px 8px; text-align: center; vertical-align: middle;">
{{{image}}}
</td>
}}
<td class="mbox-text" style="border: none; padding: 0.5em 0.9em; width: 100%; vertical-align: middle;">
{{{text}}}
{{{text}}}
</td>
</td>
</tr>
</tr>
</table>
</table>

2026年8月3日 (一) 05:55的版本