打开/关闭菜单
切换首选项菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:警告卡片:修订间差异

来自迷雾wiki
无编辑摘要
无编辑摘要
 
第1行: 第1行:
<div style="background: #161616; border: 1px solid #333; border-left: 4px solid #ff3333; border-radius: 4px; padding: 25px; margin-bottom: 25px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); overflow: hidden;">
<div style="background:#161b22; border:1px solid #30363d; border-left:4px solid #f85149; border-radius:10px; padding:20px 24px; margin:16px 0; box-shadow:0 4px 20px rgba(248,81,73,0.08); overflow:hidden;">
    <h2 style="border-bottom: 1px dashed #444; margin-top: 0; color: #fff; font-size: 1.4rem; padding-bottom: 10px; letter-spacing: 1px; font-family: Consolas, monospace; display: flex; align-items: center;">
<div style="display:flex; align-items:center; gap:10px; margin-bottom:14px; padding-bottom:12px; border-bottom:1px solid #21262d;">
        <span style="color: #ff3333; margin-right: 10px; font-size: 1.2em;">⚠</span>
<span style="color:#f85149; font-size:1.25rem; line-height:1; flex-shrink:0;">⚠</span>
        <span>{{{title|System Warning}}}</span>
<span style="color:#e6edf3; font-size:1rem; font-weight:700; letter-spacing:0.3px; font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;">{{{title|System Warning}}}</span>
    </h2>
</div>
    <div style="color: #bbb; line-height: 1.6; margin-top: 15px; font-size: 0.95rem; word-wrap: break-word;">
<div style="color:#8b949e; font-size:0.875rem; line-height:1.75; font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; word-break:break-word;">
{{{content}}}
{{{content}}}
    </div>
</div>
</div>
</div>
<noinclude>
<noinclude>
第25行: 第25行:
         }
         }
     },
     },
     "description": "MIST风格的警告/提示卡片"
     "description": "迷雾Wiki风格的警告/提示卡片"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

2026年2月26日 (四) 15:51的最新版本

System Warning

{{{content}}}

迷雾Wiki风格的警告/提示卡片

模板参数[编辑模板数据]

参数描述类型状态
标题title

警告框的标题

字符串必需
内容content

具体的警告内容,支持多行文本

内容必需