跳到正文
编写
登录

模板:介绍(无警告):修订间差异

更多
Musicraft​(留言 | 贡献)
无编辑摘要
迷雾样式迁移​(留言 | 贡献)
统一编年史字体、正文组件与编辑模板;保留原始内容和历史
第1行: 第1行:
<div style="background:#161b22; border:1px solid #30363d; border-top:3px solid #58a6ff; border-radius:10px; padding:0; margin:16px 0; box-shadow:0 4px 20px rgba(0,0,0,0.25); overflow:hidden;">
<includeonly><div class="mc-introduction"><div class="mc-component-label">{{{标题|介绍}}}</div><div class="mc-prose">
<div style="padding:14px 20px; border-bottom:1px solid #21262d; display:flex; align-items:center; gap:10px;">
{{{主要内容|}}}
<span style="color:#58a6ff; font-size:1.1rem; line-height:1; flex-shrink:0;">📖</span>
</div></div></includeonly><noinclude>
<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;">{{{标题|介绍}}}</span>
[[编写模板|← 编辑组件手册]]
</div>
 
<div style="padding:18px 20px; 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;">
编年史统一编辑组件。用法和示例见 [[编写模板]]。
{{{主要内容|在此填写ARG的主要介绍内容。}}}
</div>
</div>
<noinclude>
<templatedata>
<templatedata>
{
{
    "params": {
  "description": "编年史统一编辑组件。用法和示例见 [[编写模板]]。",
        "标题": {
  "format": "block",
            "label": "标题",
  "params": {
            "description": "介绍框的标题",
    "标题": {
            "type": "string",
      "label": "标题",
            "default": "介绍",
      "type": "content"
            "required": false
        },
        "主要内容": {
            "label": "主要内容",
            "description": "ARG或条目的主要介绍内容,支持wiki文本",
            "type": "content",
            "required": true
        }
     },
     },
     "description": "迷雾Wiki风格的介绍/正文卡片模板"
     "主要内容": {
      "label": "主要内容",
      "type": "content"
    }
  }
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

2026年10月13日 (二) 13:33的版本

← 编辑组件手册

编年史统一编辑组件。用法和示例见 编写模板。

编年史统一编辑组件。用法和示例见 [[编写模板]]。

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

此模板首选参数换行的代码块格式。

参数描述类型状态
标题标题

无描述

内容可选
主要内容主要内容

无描述

内容可选
迷雾 Wiki
搜索迷雾 Wiki
阅读设置