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

Template:Info:修订间差异

模板页面
琪露若
琪露若留言 | 贡献 ([IPE-NEXT] Quick edit)
 
(未显示2个用户的10个中间版本)
第1行: 第1行:
<div class="info-box-stack {{{class|}}}"  
<templatestyles src="Template:Info/styles.css"/>
    style="max-width:{{{width|}}}; border-left-color:{{{color|}}}; background-color:{{{backgroundColor|}}}; {{{style|}}}">
<div class="info-stack-container {{{class|}}}" style="max-width:{{{width|}}}; border-left-color:{{{color|var(--color-primary, #36c)}}}; background-color:{{{backgroundColor|var(--color-surface-0, #fff)}}}; border-color:{{{borderColor|var(--color-surface-border, #a2a9b1)}}}; {{{style|}}}">{{#if:{{{title|{{{标题|}}}}}}|<div class="info-stack-header" style="padding: {{{titlePadding|8px 12px}}}; text-align: {{{titleAlign|left}}}; font-weight: {{{titleFontWeight|700}}}; font-size: {{{titleFontSize|0.85em}}}; background-color: {{{titleBackgroundColor|var(--color-surface-2, #f0f0f0)}}}; color: {{{titleColor|var(--color-base, #202122)}}}; border-bottom: 1px solid {{{borderColor|var(--color-surface-border, #a2a9b1)}}};">{{{title|{{{标题}}}}}}</div>}}<div class="info-stack-body" style="padding: {{{contentPadding|12px 16px}}}; line-height: {{{contentLineHeight|1.6}}}; color: {{{contentColor|var(--color-base, #202122)}}}; background-color: {{{contentBackgroundColor|transparent}}}; font-size: {{{contentFontSize|0.95em}}};"><div class="info-stack-icon">{{#if:{{{leftimage|{{{图片|}}}}}}|{{{leftimage|{{{图片}}}}}}|[[File:Icon-info.png|{{#if:{{{smallimage|}}}|25px|40px}}]]}}</div><div class="info-stack-content">{{{text|{{{content|{{{1|{{{内容|'''提示内容'''}}}}}}}}}}}}</div></div></div><noinclude>{{Documentation}}[[分类:元模板]]</noinclude>
   
<includeonly>[[分类:使用了Info模板的页面]]</includeonly>
    <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;">
            {{#if:{{{title|{{{标题|}}}}}}|
                <div style="font-weight:bold; margin-bottom:4px;">{{{title|{{{标题}}}}}}</div>
            }}
            <div style="line-height:1.45;">
                {{{text|{{{content|{{{1|{{{内容|'''提示内容'''}}}}}}}}}}}}
            </div>
        </div>
    </div>
</div>

2026年5月25日 (一) 08:15的最新版本

提示内容