Template:MarkAsResolved/doc
Redirects
{{MAR}}
可以直接用重定向名替换模板原名(包括自动模板,如{{subst:MAR/auto}}
)。
Syntax
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=|comment=}}
- Standard syntax.
comment
[1] andstatus
[2]may be omitted but that is not recommended;sign
is required.time
is kept for future proofing.
status
Can be one of the following values:
Type | Possible Value | 建议用途 |
---|---|---|
接受请求 | a , accepted |
管理组用,接受请求 |
搁置请求 | s , suspended |
管理组用,搁置请求 |
拒绝请求 | d , denied |
管理组用,拒绝请求 |
撤回请求 | w , withdrawn |
发起人撤回请求 |
无人回复(点名批评) | n , noreply |
尝试吸引回复,或标注无人回复的讨论串方便存档(按需缩减存档间隔) |
问题已答复 | p , replied |
管理组或有经验的编辑已答复疑问,但并不能算作解决(e.g. 不可抗力造成的问题)。 |
问题已解决 | r , resolved ;任何其他输入值;这是默认值。 |
管理组或有经验的编辑已解决讨论串提出的问题 |
用例
以下各例,均以User:公的驱逐舰在2020年初的签名为例。
一般用法
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}}}
{{subst:MarkAsResolved/auto}}
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|comment=我的留言。}}
{{subst:MarkAsResolved/auto|comment=我的留言。}}
status
值
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=a}}
{{subst:MarkAsResolved/auto|status=a}}
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=s|archive-offset=10}}
{{subst:MarkAsResolved/auto|status=s}}
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=n|archive-offset=10}}
{{subst:MarkAsResolved/auto|status=n}}
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=d}}
{{subst:MarkAsResolved/auto|status=d}}
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=w}}
{{subst:MarkAsResolved/auto|status=w}}
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=p}}
{{subst:MarkAsResolved/auto|status=p}}
Template Data
<templatedata> { "params": { "status": { "type": "string", "suggested": true, "description": "Status of the MAR template. Current possibilities (short hands) are listed in the example.", "example": "a, s, d, w, n, p, r", "default": "resolved", "autovalue": "resolved" }, "comment": { "description": "Any comment you wish to add.", "type": "string", "autovalue": "", "example": "The issue here is addressed and fixed by an admin." }, "sign": { "description": "signature. Always use ~~~~.", "autovalue": "~~~~", "required": true }, "time": { "autovalue": "{{subst:#timel:Ymd}}", "description": "Date when the MAR template is hung. Always use {{subst:#timel:Ymd}}.", "type": "date", "suggested": true } }, "description": "Template used to mark a discussion thread as resolved", "format": "inline", "paramOrder": [ "sign", "time", "status", "comment" ] } </templatedata>