模板:Working/Doc:修订间差异
来自陋室
更多操作
删除的内容 添加的内容
Maintenance script(留言 | 贡献) 更新模板文档 |
Maintenance script(留言 | 贡献) 模板现代化B1:补充 TemplateData |
||
| 第13行: | 第13行: | ||
* 使用类名:<code>working-box</code>。 |
* 使用类名:<code>working-box</code>。 |
||
* 样式位于:[[Template:Working/styles.css]]。 |
* 样式位于:[[Template:Working/styles.css]]。 |
||
== TemplateData == |
|||
<templatedata> |
|||
{ |
|||
"description": "用于标记页面处于施工状态,并显示编辑者信息。", |
|||
"format": "inline", |
|||
"params": { |
|||
"1": { |
|||
"label": "编辑者", |
|||
"description": "编辑者签名或名称。默认显示“未知”。", |
|||
"type": "line", |
|||
"required": false, |
|||
"suggested": true, |
|||
"example": "~~~~" |
|||
} |
|||
}, |
|||
"paramOrder": [ |
|||
"1" |
|||
] |
|||
} |
|||
</templatedata> |
|||
<noinclude>[[Category:站点模板]]</noinclude> |
<noinclude>[[Category:站点模板]]</noinclude> |
||
2026年5月19日 (二) 13:32的最新版本
模板说明
Working 用于标记“页面正在施工/编辑中”。
使用方法
{{Working|~~~~}}
参数说明
- 参数 1:编辑者签名(可选)。未提供则显示“未知”。
样式
- 使用类名:
working-box。 - 样式位于:Template:Working/styles.css。
TemplateData
用于标记页面处于施工状态,并显示编辑者信息。
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 编辑者 | 1 | 编辑者签名或名称。默认显示“未知”。
| 单行文本 | 推荐 |