打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Template:Info:修订间差异

模板页面
琪露若
琪露若留言 | 贡献 ([IPE-NEXT] Quick edit)
第1行: 第1行:
<div class="infoTop {{{class|}}}" style="max-width:{{{width|100%}}};border-left:10px solid {{{color|#36c}}};background:{{{backgroundColor|#f8f9fa}}};padding:10px 12px;margin:8px 0;">
<div class="info-box-stack {{{class|}}}"  
<div class="infoTopContent" style="display:flex;align-items:center; background-color:{{{backgroundColor|#f8f9fa}}}; border-style: none;">
    style="max-width:{{{width|}}}; border-left-color:{{{color|}}}; background-color:{{{backgroundColor|}}}; {{{style|}}}">
   
    <div class="info-content">
        <div style="margin-right:10px; line-height:0; max-width:50px;">
            {{#if:{{{leftimage|{{{图片|}}}}}}|{{{leftimage|{{{图片}}}}}}|[[File:Icon-info.png|{{#if:{{{smallimage|}}}|25px|40px}}]]}}
        </div>


<!-- 左侧图标 -->
        <div style="flex:1; min-width:0;">
<div class="infoTopIcon" style="margin-right:10px;line-height:0;max-width:50px;{{{icon-style|}}}">
            {{#if:{{{title|{{{标题|}}}}}}|
{{#if:{{{leftimage|{{{图片|}}}}}}|{{{leftimage|{{{图片}}}}}}|[[File:Icon-info.png|{{#if:{{{smallimage|}}}|25px|40px}}|link={{{link|}}}]]}}
                <div style="font-weight:bold; margin-bottom:4px;">{{{title|{{{标题}}}}}}</div>
            }}
            <div style="line-height:1.45;">
                {{{text|{{{content|{{{1|{{{内容|'''提示内容'''}}}}}}}}}}}}
            </div>
        </div>
    </div>
</div>
</div>
<!-- 右侧内容 -->
<div class="infoTopContentWrapper" style="flex:1;min-width:0;">
<!-- 标题 -->
{{#if:{{{title|{{{标题|}}}}}}|
<div class="infoTopTitle" style="font-weight:bold;margin-bottom:4px;{{{title-style|text-align:left;}}}">
{{{title|{{{标题}}}}}}
</div>
}}
<!-- 正文 -->
<div class="infoTopText" style="line-height:1.45;{{{text-style|}}}{{{content-style|}}}">
{{#vardefine:infotext|{{{text|{{{content|{{{1|{{{内容|'''警告!你还没有添加任何内容'''}}}}}}}}}}}}}}
{{#var:infotext}}
</div>
<!-- 底部附加文字 -->
{{#if:{{{below|}}}|
<div class="infoTopBelow" style="margin-top:4px;font-size:85%;opacity:0.85;{{{below-style|}}}">
{{{below}}}
</div>
}}
</div>
</div>
</div>
<noinclude>{{Documentation}}[[分类:元模板]]</noinclude>

2026年2月6日 (五) 11:12的版本

           
               提示内容