|
|
| 第1行: |
第1行: |
| == 📋 基本信息 == | | <includeonly>{{#ifeq:{{{显示标题|是}}}|否|| |
| | == 基本信息 == |
| | }} |
| | <dl class="mc-facts"> |
| | {{#if:{{{名称|}}}|<div><dt>名称</dt><dd>{{{名称}}}</dd></div>}} |
| | {{#if:{{{创作团队/个人|}}}|<div><dt>创作团队/个人</dt><dd>{{{创作团队/个人}}}</dd></div>}} |
| | {{#if:{{{开始时间|}}}|<div><dt>开始时间</dt><dd>{{{开始时间}}}</dd></div>}} |
| | {{#if:{{{结束时间|}}}|<div><dt>结束时间</dt><dd>{{{结束时间}}}</dd></div>}} |
| | {{#if:{{{状态|}}}|<div><dt>状态</dt><dd>{{状态标签|状态={{{状态}}}}}</dd></div>}} |
| | {{#if:{{{相关作品|}}}|<div><dt>相关作品</dt><dd>{{{相关作品}}}</dd></div>}} |
| | {{#if:{{{自定义标签1|}}}|<div><dt>{{{自定义标签1}}}</dt><dd>{{{自定义内容1|}}}</dd></div>}} |
| | {{#if:{{{自定义标签2|}}}|<div><dt>{{{自定义标签2}}}</dt><dd>{{{自定义内容2|}}}</dd></div>}} |
| | {{#if:{{{自定义标签3|}}}|<div><dt>{{{自定义标签3}}}</dt><dd>{{{自定义内容3|}}}</dd></div>}} |
| | {{#if:{{{自定义标签4|}}}|<div><dt>{{{自定义标签4}}}</dt><dd>{{{自定义内容4|}}}</dd></div>}} |
| | {{#if:{{{自定义标签5|}}}|<div><dt>{{{自定义标签5}}}</dt><dd>{{{自定义内容5|}}}</dd></div>}} |
| | </dl></includeonly><noinclude> |
| | [[编写模板|← 编辑组件手册]] |
|
| |
|
| <div style="background:#161b22; border:1px solid #30363d; border-radius:10px; margin:8px 0 16px; overflow:hidden; font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;">
| | 编年史统一编辑组件。用法和示例见 [[编写模板]]。 |
| <table style="width:100%; border-collapse:collapse;">
| |
| {{#if:{{{名称|}}}|<tr>
| |
| <td style="width:30%; padding:11px 16px; color:#8b949e; font-weight:600; font-size:0.8rem; letter-spacing:0.4px; background:#0d1117; border-bottom:1px solid #21262d; vertical-align:top; white-space:nowrap;">名称</td>
| |
| <td style="padding:11px 16px; color:#e6edf3; font-size:0.875rem; line-height:1.65; border-bottom:1px solid #21262d; border-left:1px solid #21262d;">{{{名称}}}</td>
| |
| </tr>|}}{{#if:{{{创作团队/个人|}}}|<tr>
| |
| <td style="width:30%; padding:11px 16px; color:#8b949e; font-weight:600; font-size:0.8rem; letter-spacing:0.4px; background:#0d1117; border-bottom:1px solid #21262d; vertical-align:top; white-space:nowrap;">创作团队 / 个人</td>
| |
| <td style="padding:11px 16px; color:#e6edf3; font-size:0.875rem; line-height:1.65; border-bottom:1px solid #21262d; border-left:1px solid #21262d;">{{{创作团队/个人}}}</td>
| |
| </tr>|}}{{#if:{{{开始时间|}}}|<tr>
| |
| <td style="width:30%; padding:11px 16px; color:#8b949e; font-weight:600; font-size:0.8rem; letter-spacing:0.4px; background:#0d1117; border-bottom:1px solid #21262d; vertical-align:top; white-space:nowrap;">开始时间</td>
| |
| <td style="padding:11px 16px; color:#e6edf3; font-size:0.875rem; line-height:1.65; border-bottom:1px solid #21262d; border-left:1px solid #21262d;">{{{开始时间}}}</td>
| |
| </tr>|}}{{#if:{{{结束时间|}}}|<tr>
| |
| <td style="width:30%; padding:11px 16px; color:#8b949e; font-weight:600; font-size:0.8rem; letter-spacing:0.4px; background:#0d1117; border-bottom:1px solid #21262d; vertical-align:top; white-space:nowrap;">结束时间</td>
| |
| <td style="padding:11px 16px; color:#e6edf3; font-size:0.875rem; line-height:1.65; border-bottom:1px solid #21262d; border-left:1px solid #21262d;">{{{结束时间}}}</td>
| |
| </tr>|}}{{#if:{{{状态|}}}|<tr>
| |
| <td style="width:30%; padding:11px 16px; color:#8b949e; font-weight:600; font-size:0.8rem; letter-spacing:0.4px; background:#0d1117; border-bottom:1px solid #21262d; vertical-align:top; white-space:nowrap;">状态</td>
| |
| <td style="padding:11px 16px; font-size:0.875rem; line-height:1.65; border-bottom:1px solid #21262d; border-left:1px solid #21262d;">{{#switch:{{{状态}}}
| |
| |进行中=<span style="color:#56d364; display:inline-flex; align-items:center; gap:6px;"><span style="width:7px;height:7px;border-radius:50%;background:#56d364;display:inline-block;"></span>进行中</span>
| |
| |已完结=<span style="color:#d2a8ff; display:inline-flex; align-items:center; gap:6px;"><span style="width:7px;height:7px;border-radius:50%;background:#d2a8ff;display:inline-block;"></span>已完结</span>
| |
| |停滞=<span style="color:#d29922; display:inline-flex; align-items:center; gap:6px;"><span style="width:7px;height:7px;border-radius:50%;background:#d29922;display:inline-block;"></span>停滞</span>
| |
| |#default=<span style="color:#e6edf3;">{{{状态}}}</span>}}</td>
| |
| </tr>|}}{{#if:{{{相关作品|}}}|<tr>
| |
| <td style="width:30%; padding:11px 16px; color:#8b949e; font-weight:600; font-size:0.8rem; letter-spacing:0.4px; background:#0d1117; border-bottom:1px solid #21262d; vertical-align:top; white-space:nowrap;">相关作品</td>
| |
| <td style="padding:11px 16px; color:#e6edf3; font-size:0.875rem; line-height:1.65; border-bottom:1px solid #21262d; border-left:1px solid #21262d;">{{{相关作品}}}</td>
| |
| </tr>|}}{{#if:{{{自定义标签1|}}}|<tr>
| |
| <td style="width:30%; padding:11px 16px; color:#8b949e; font-weight:600; font-size:0.8rem; letter-spacing:0.4px; background:#0d1117; border-bottom:1px solid #21262d; vertical-align:top; white-space:nowrap;">{{{自定义标签1}}}</td>
| |
| <td style="padding:11px 16px; color:#e6edf3; font-size:0.875rem; line-height:1.65; border-bottom:1px solid #21262d; border-left:1px solid #21262d;">{{{自定义内容1|}}}</td>
| |
| </tr>|}}{{#if:{{{自定义标签2|}}}|<tr>
| |
| <td style="width:30%; padding:11px 16px; color:#8b949e; font-weight:600; font-size:0.8rem; letter-spacing:0.4px; background:#0d1117; border-bottom:1px solid #21262d; vertical-align:top; white-space:nowrap;">{{{自定义标签2}}}</td>
| |
| <td style="padding:11px 16px; color:#e6edf3; font-size:0.875rem; line-height:1.65; border-bottom:1px solid #21262d; border-left:1px solid #21262d;">{{{自定义内容2|}}}</td>
| |
| </tr>|}}{{#if:{{{自定义标签3|}}}|<tr>
| |
| <td style="width:30%; padding:11px 16px; color:#8b949e; font-weight:600; font-size:0.8rem; letter-spacing:0.4px; background:#0d1117; border-bottom:1px solid #21262d; vertical-align:top; white-space:nowrap;">{{{自定义标签3}}}</td>
| |
| <td style="padding:11px 16px; color:#e6edf3; font-size:0.875rem; line-height:1.65; border-bottom:1px solid #21262d; border-left:1px solid #21262d;">{{{自定义内容3|}}}</td>
| |
| </tr>|}}{{#if:{{{自定义标签4|}}}|<tr>
| |
| <td style="width:30%; padding:11px 16px; color:#8b949e; font-weight:600; font-size:0.8rem; letter-spacing:0.4px; background:#0d1117; border-bottom:1px solid #21262d; vertical-align:top; white-space:nowrap;">{{{自定义标签4}}}</td>
| |
| <td style="padding:11px 16px; color:#e6edf3; font-size:0.875rem; line-height:1.65; border-bottom:1px solid #21262d; border-left:1px solid #21262d;">{{{自定义内容4|}}}</td>
| |
| </tr>|}}{{#if:{{{自定义标签5|}}}|<tr>
| |
| <td style="width:30%; padding:11px 16px; color:#8b949e; font-weight:600; font-size:0.8rem; letter-spacing:0.4px; background:#0d1117; vertical-align:top; white-space:nowrap;">{{{自定义标签5}}}</td>
| |
| <td style="padding:11px 16px; color:#e6edf3; font-size:0.875rem; line-height:1.65; border-left:1px solid #21262d;">{{{自定义内容5|}}}</td>
| |
| </tr>|}}
| |
| </table>
| |
| </div>
| |
| <noinclude>
| |
| <templatedata> | | <templatedata> |
| {"description": "迷雾Wiki风格的ARG基本信息卡片,所有行均可按需显示,支持最多5行自定义扩展", | | { |
| "params": {
| | "description": "编年史统一编辑组件。用法和示例见 [[编写模板]]。", |
| "名称": {
| | "format": "block", |
| "label": "名称",
| | "params": { |
| "type": "string"
| | "名称": { |
| },
| | "label": "名称", |
| "创作团队/个人": {
| | "type": "content" |
| "label": "创作团队 / 个人",
| | }, |
| "type": "string"
| | "创作团队/个人": { |
| },
| | "label": "创作团队/个人", |
| "开始时间": {
| | "type": "content" |
| "label": "开始时间",
| | }, |
| "type": "date"
| | "开始时间": { |
| },
| | "label": "开始时间", |
| "结束时间": {
| | "type": "content" |
| "label": "结束时间",
| | }, |
| "type": "date"
| | "结束时间": { |
| },
| | "label": "结束时间", |
| "状态": {
| | "type": "content" |
| "label": "状态",
| | }, |
| "type": "string",
| | "状态": { |
| "suggestedvalues": ["进行中", "已完结", "停滞", "其他"],
| | "label": "状态", |
| "default": "已完结"
| | "type": "content" |
| },
| | }, |
| "相关作品": {
| | "相关作品": { |
| "label": "相关作品",
| | "label": "相关作品", |
| "type": "string"
| | "type": "content" |
| },
| | }, |
| "自定义标签1": { "label": "自定义标签 1", "type": "string" },
| | "显示标题": { |
| "自定义内容1": { "label": "自定义内容 1", "type": "content" },
| | "label": "显示标题", |
| "自定义标签2": { "label": "自定义标签 2", "type": "string" },
| | "type": "content" |
| "自定义内容2": { "label": "自定义内容 2", "type": "content" },
| | }, |
| "自定义标签3": { "label": "自定义标签 3", "type": "string" },
| | "自定义标签1": { |
| "自定义内容3": { "label": "自定义内容 3", "type": "content" },
| | "label": "自定义标签1", |
| "自定义标签4": { "label": "自定义标签 4", "type": "string" },
| | "type": "content" |
| "自定义内容4": { "label": "自定义内容 4", "type": "content" },
| | }, |
| "自定义标签5": { "label": "自定义标签 5", "type": "string" },
| | "自定义内容1": { |
| "自定义内容5": { "label": "自定义内容 5", "type": "content" }
| | "label": "自定义内容1", |
| | "type": "content" |
| | }, |
| | "自定义标签2": { |
| | "label": "自定义标签2", |
| | "type": "content" |
| | }, |
| | "自定义内容2": { |
| | "label": "自定义内容2", |
| | "type": "content" |
| | }, |
| | "自定义标签3": { |
| | "label": "自定义标签3", |
| | "type": "content" |
| | }, |
| | "自定义内容3": { |
| | "label": "自定义内容3", |
| | "type": "content" |
| | }, |
| | "自定义标签4": { |
| | "label": "自定义标签4", |
| | "type": "content" |
| | }, |
| | "自定义内容4": { |
| | "label": "自定义内容4", |
| | "type": "content" |
| | }, |
| | "自定义标签5": { |
| | "label": "自定义标签5", |
| | "type": "content" |
| | }, |
| | "自定义内容5": { |
| | "label": "自定义内容5", |
| | "type": "content" |
| } | | } |
| | } |
| } | | } |
| </templatedata> | | </templatedata> |
| </noinclude> | | </noinclude> |