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

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

来自迷雾wiki
创建页面,内容为“<div style="background: #161616; border: 1px solid #333; border-left: 4px solid #ff3333; border-radius: 4px; padding: 25px; margin-bottom: 25px;"> <h2 style="border-bottom: 1px dashed #444; margin-top: 0; color: #fff; font-size: 1.4rem; padding-bottom: 10px; letter-spacing: 1px;"> <span style="background: #ff3333; color: #000; padding: 2px 6px; font-size: 0.8rem; vertical-align: middle; margin-right: 10px; font-weight: bold;">{{{tag|TOP_SECRET}}}</s…”
 
无编辑摘要
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
<div style="background: #161616; border: 1px solid #333; border-left: 4px solid #ff3333; border-radius: 4px; padding: 25px; margin-bottom: 25px;">
<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;">
<div style="display:flex; align-items:center; gap:10px; margin-bottom:14px; padding-bottom:12px; border-bottom:1px solid #21262d;">
        <span style="background: #ff3333; color: #000; padding: 2px 6px; font-size: 0.8rem; vertical-align: middle; margin-right: 10px; font-weight: bold;">{{{tag|TOP_SECRET}}}</span>
<span style="color:#f85149; font-size:1.25rem; line-height:1; flex-shrink:0;"></span>
        {{{title}}}
<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.7; margin-top: 15px;">
<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 style="margin-top: 20px; text-align: right;">
</div>
            [[{{{link}}}|<span style="border: 1px solid #ff3333; color: #ff3333; padding: 8px 20px; text-decoration: none; font-size: 0.9rem; transition: 0.3s;">{{{linktext|ACCESS FILE >>}}}</span>]]
        </div>
    </div>
</div>
</div>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
    "params": {
"tag": {},
        "title": {
"title": {},
            "label": "标题",
"content": {},
            "description": "警告框的标题",
"link": {},
            "type": "string",
"linktext": {}
            "required": true
}
        },
        "content": {
            "label": "内容",
            "description": "具体的警告内容,支持多行文本",
            "type": "content",
            "required": true
        }
    },
    "description": "迷雾Wiki风格的警告/提示卡片"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

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

System Warning

{{{content}}}

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

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

参数描述类型状态
标题title

警告框的标题

字符串必需
内容content

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

内容必需