小 (更新样式) |
小 (更新样式) |
||
| 第1行: | 第1行: | ||
<includeonly> | <includeonly> | ||
<div class="infoBox {{{class|}}}" style="width:{{{width|80%}}};margin: 0 auto; border-left: 10px solid {{{color|#1e90ff}}}; padding: 15px; background-color: #f9f9f9 | <div class="infoBox {{{class|}}}" style="width:{{{width|80%}}};margin: 0 auto; border-left: 10px solid {{{color|#1e90ff}}}; padding: 15px; background-color: #f9f9f9;"> | ||
{{#if:{{{title|}}}|<div class="infoBoxTitle" style="text-align: center; font-weight: bold; margin-bottom: 10px; {{{title-style|}}}">{{{title}}}</div>}} | {{#if:{{{title|}}}|<div class="infoBoxTitle" style="text-align: center; font-weight: bold; margin-bottom: 10px; {{{title-style|}}}">{{{title}}}</div>}} | ||
<div class="infoBoxContent" style="display: flex; align-items: | <div class="infoBoxContent" style="display: flex; align-items: center; gap: 15px;"> | ||
<div class="infoBoxIcon" style="flex-shrink: 0; {{{icon-style|}}}">{{{leftimage|[[image:Icon-info.png|{{#if:{{{smallimage|}}}|25px|50px}}|link=]]}}}</div> | <div class="infoBoxIcon" style="flex-shrink: 0; {{{icon-style|}}}">{{{leftimage|[[image:Icon-info.png|{{#if:{{{smallimage|}}}|25px|50px}}|link=]]}}}</div> | ||
<div class="infoBoxText" style="flex: 1; line-height: 1.5; {{{text-style|}}}{{{content-style|}}}">{{{text|{{{content|{{{1|'''警告!你还没有添加任何内容'''}}}}}}}}}</div> | <div class="infoBoxText" style="flex: 1; line-height: 1.5; {{{text-style|}}}{{{content-style|}}}">{{{text|{{{content|{{{1|'''警告!你还没有添加任何内容'''}}}}}}}}}</div> | ||