更多操作
创建页面,内容为“<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行: | ||
<div style="background: #161616; border: 1px solid #333; border-left: 4px solid #ff3333; border-radius: 4px; padding: 25px; margin-bottom: 25px;"> | <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;"> | ||
<h2 style="border-bottom: 1px dashed #444; margin-top: 0; color: #fff; font-size: 1.4rem; padding-bottom: 10px; letter-spacing: 1px;"> | <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;"> | ||
<span style=" | <span style="color: #ff3333; margin-right: 10px; font-size: 1.2em;">⚠</span> | ||
{{{title}}} | <span>{{{title|System Warning}}}</span> | ||
</h2> | </h2> | ||
<div style="color: #bbb; line-height: 1. | <div style="color: #bbb; line-height: 1.6; margin-top: 15px; font-size: 0.95rem; word-wrap: break-word;"> | ||
{{{content}}} | |||
</div> | </div> | ||
</div> | </div> | ||
| 第14行: | 第11行: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | |||
"title": { | |||
"label": "标题", | |||
"description": "警告框的标题", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"content": { | |||
"label": "内容", | |||
"description": "具体的警告内容,支持多行文本", | |||
"type": "content", | |||
"required": true | |||
} | |||
}, | |||
"description": "MIST风格的警告/提示卡片" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
2025年11月30日 (日) 08:14的最新版本
MIST风格的警告/提示卡片
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 标题 | title | 警告框的标题 | 字符串 | 必需 |
| 内容 | content | 具体的警告内容,支持多行文本 | 内容 | 必需 |