跳到正文
编写
登录

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

更多
Musicraft​(留言 | 贡献)
无编辑摘要
迷雾样式迁移​(留言 | 贡献)
统一编年史字体、正文组件与编辑模板;保留原始内容和历史
第1行: 第1行:
<div style="background:#161b22; border:1px solid #30363d; border-top:3px solid #58a6ff; border-radius:10px; margin:16px 0; box-shadow:0 4px 20px rgba(0,0,0,0.25); overflow:hidden;">
<includeonly>{{介绍(无警告)|标题={{{标题|介绍}}}|主要内容={{{主要内容|}}}}}
{{#if:{{{警告内容|}}}|{{信息提示|类型=警告|标题=阅读前须知|内容={{{警告内容}}}}}}}</includeonly><noinclude>
[[编写模板|← 编辑组件手册]]


<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>
<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; border-bottom:1px solid #21262d;">
{{{主要内容|在此填写ARG的主要介绍内容。}}}
</div>
 
<div style="margin:0; padding:14px 20px; background:#1c1810; border-left:3px solid #f0883e; display:flex; align-items:flex-start; gap:10px; font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;">
<span style="color:#f0883e; font-size:1rem; flex-shrink:0; margin-top:2px;">⚠️</span>
<div style="color:#8b949e; font-size:0.85rem; line-height:1.75; word-break:break-word;">
{{{警告内容|请在此填写附加说明或注意事项。如需附上外部链接,请使用链接地址参数。}}}
</div>
</div>
 
</div>
<noinclude>
<templatedata>
<templatedata>
{
{
    "params": {
  "description": "编年史统一编辑组件。用法和示例见 [[编写模板]]。",
        "标题": {
  "format": "block",
            "label": "标题",
  "params": {
            "description": "卡片的标题",
    "标题": {
            "type": "string",
      "label": "标题",
            "default": "介绍",
      "type": "content"
            "required": false
    },
        },
    "主要内容": {
        "主要内容": {
      "label": "主要内容",
            "label": "主要内容",
      "type": "content"
            "description": "ARG或条目的主要介绍内容,支持wiki文本",
            "type": "content",
            "required": true
        },
        "警告内容": {
            "label": "附加说明",
            "description": "底部的附加说明或注意事项,支持wiki文本和外部链接",
            "type": "content",
            "required": false
        },
        "链接地址": {
            "label": "外部链接地址",
            "description": "附加说明中引用的外部链接URL",
            "type": "url",
            "required": false
        }
     },
     },
     "description": "迷雾Wiki风格的ARG介绍卡片,包含标题、正文与附加说明三个区块"
     "警告内容": {
      "label": "警告内容",
      "type": "content"
    }
  }
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

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

← 编辑组件手册

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

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

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

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

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

无描述

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

无描述

内容可选
警告内容警告内容

无描述

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