跳到正文
编写
登录

模板:终端日志:修订间差异

更多
Musicraft​(留言 | 贡献)
无编辑摘要
迷雾样式迁移​(留言 | 贡献)
统一编年史字体、正文组件与编辑模板;保留原始内容和历史
第1行: 第1行:
<div style="background:#0d1117; border:1px solid #30363d; border-radius:6px; padding:20px 24px; margin:12px 0 16px; position:relative; font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;">
<includeonly><div class="mc-terminal"><div class="mc-terminal-title"><span aria-hidden="true">&gt;_</span> {{{title|记录日志}}}</div><div class="mc-terminal-body">
<div style="position:absolute; top:-1px; left:-1px; width:12px; height:12px; border-top:2px solid #58a6ff; border-left:2px solid #58a6ff; border-radius:2px 0 0 0;"></div>
{{{content|}}}
<div style="position:absolute; bottom:-1px; right:-1px; width:12px; height:12px; border-bottom:2px solid #58a6ff; border-right:2px solid #58a6ff; border-radius:0 0 2px 0;"></div>
</div></div></includeonly><noinclude>
<div style="color:#58a6ff; font-size:0.95rem; font-weight:600; margin-bottom:12px; display:flex; align-items:center; gap:6px;">
[[编写模板|← 编辑组件手册]]
<span style="color:#484f58;">></span> {{{title|最新动态}}}
 
</div>
编年史统一编辑组件。用法和示例见 [[编写模板]]。
<div style="font-size:0.85rem; line-height:1.8; color:#8b949e; word-break:break-word;">
{{{content}}}
</div>
</div>
<noinclude>
<templatedata>
<templatedata>
{"params": {
{
        "title": {
  "description": "编年史统一编辑组件。用法和示例见 [[编写模板]]。",
            "label": "标题",
  "format": "block",
            "description": "终端日志的标题",
  "params": {
            "type": "string",
    "title": {
            "default": "最新动态",
      "label": "title",
            "required": false
      "type": "content"
        },
        "content": {
            "label": "内容",
            "description": "终端日志的正文内容,支持wiki文本",
            "type": "content",
            "required": true
        }
     },
     },
     "description": "迷雾Wiki风格的终端日志卡片模板"
     "content": {
      "label": "content",
      "type": "content"
    }
  }
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

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

← 编辑组件手册

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

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

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

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

参数描述类型状态
titletitle

无描述

内容可选
contentcontent

无描述

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