“模板:砥石参数”的版本间的差异
跳到导航
跳到搜索
Zq.Lucifer(讨论 | 贡献) (清空页面) 标签:清空 |
Zq.Lucifer(讨论 | 贡献) (测试) |
||
第1行: | 第1行: | ||
<templatedata> | |||
{ | |||
"description": "Label unsigned comments in a conversation.", | |||
"params": { | |||
"user": { | |||
"label": "User's name", | |||
"type": "wiki-user-name", | |||
"required": true, | |||
"description": "User name of person who forgot to sign their comment.", | |||
"aliases": ["1"] | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"suggested": true, | |||
"description": { | |||
"en": "Timestamp of when the comment was posted, in YYYY-MM-DD format." | |||
}, | |||
"aliases": ["2"], | |||
"autovalue": "{{subst:#time:Y-m-d}}" | |||
}, | |||
"year": { | |||
"label": "Year", | |||
"type": "number" | |||
}, | |||
"month": { | |||
"label": "Month", | |||
"inherits": "year" | |||
}, | |||
"day": { | |||
"label": "Day", | |||
"inherits": "year" | |||
}, | |||
"comment": { | |||
"required": false | |||
} | |||
}, | |||
"sets": [ | |||
{ | |||
"label": "Date", | |||
"params": ["year", "month", "day"] | |||
} | |||
], | |||
"maps": { | |||
"ExampleConsumer": { | |||
"foo": "user", | |||
"bar": ["year", "month", "day"], | |||
"quux": [ | |||
"date", | |||
["day", "month"], | |||
["month", "year"], | |||
"year" | |||
] | |||
} | |||
} | |||
} | |||
</templatedata> |
2019年8月24日 (六) 01:59的最新版本
Label unsigned comments in a conversation.
参数 | 说明 | 类型 | 状态 | |
---|---|---|---|---|
User's name | user 1 | User name of person who forgot to sign their comment. | 用户 | 必填 |
Date | date 2 | Timestamp of when the comment was posted, in YYYY-MM-DD format.
| 未知 | 推荐 |
Year | year | 无描述 | 数值 | 可选 |
Month | month | 无描述 | 数值 | 可选 |
Day | day | 无描述 | 数值 | 可选 |
comment | comment | 无描述 | 未知 | 可选 |