Template:MarkAsResolved/doc

From Moegirlpedia
< Template:MarkAsResolved
Revision as of 03:25, 24 May 2020 by One-Six (talk | contribs) (+TemplateData)
Jump to: navigation, search
The text below needs help with translation!

Redirects

  • {{MAR}}

可以直接用重定向名替换模板原名(包括自动模板,如{{subst:MAR/auto}})。

Syntax

{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=|comment=}}
  • Standard syntax. comment[1] and status[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}}
Issue resolved.
This discussion thread is considered closed. If you wish to, you may restart the thread by removing this template and adding your new comment; however, we recommend you to start a new thread if there is any related issue.
--COVID退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2024年November24日 (Sun) 09:51 (CST)
  • {{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|comment=我的留言。}}
  • {{subst:MarkAsResolved/auto|comment=我的留言。}}
Issue resolved.
This discussion thread is considered closed. If you wish to, you may restart the thread by removing this template and adding your new comment; however, we recommend you to start a new thread if there is any related issue.
Comment
我的留言。 --COVID退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2024年November24日 (Sun) 09:51 (CST)

status

  • {{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=a}}
  • {{subst:MarkAsResolved/auto|status=a}}
Request accepted.
This discussion thread is considered closed. If you wish to, you may restart the thread by removing this template and adding your new comment; however, we recommend you to start a new thread if there is any related issue.
--COVID退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2024年November24日 (Sun) 09:51 (CST)
  • {{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=s|archive-offset=10}}
  • {{subst:MarkAsResolved/auto|status=s}}
Request suspended.
This discussion thread is considered closed. If you wish to, you may restart the thread by removing this template and adding your new comment; however, we recommend you to start a new thread if there is any related issue.
--COVID退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2024年November24日 (Sun) 09:51 (CST)
  • {{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=n|archive-offset=10}}
  • {{subst:MarkAsResolved/auto|status=n}}
No reply.
This discussion thread is considered closed. If you wish to, you may restart the thread by removing this template and adding your new comment; however, we recommend you to start a new thread if there is any related issue.
--COVID退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2024年November24日 (Sun) 09:51 (CST)
  • {{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=d}}
  • {{subst:MarkAsResolved/auto|status=d}}
Request denied.
This discussion thread is considered closed. If you wish to, you may restart the thread by removing this template and adding your new comment; however, we recommend you to start a new thread if there is any related issue.
--COVID退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2024年November24日 (Sun) 09:51 (CST)
  • {{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=w}}
  • {{subst:MarkAsResolved/auto|status=w}}
Request withdrawn.
This discussion thread is considered closed. If you wish to, you may restart the thread by removing this template and adding your new comment; however, we recommend you to start a new thread if there is any related issue.
--COVID退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2024年November24日 (Sun) 09:51 (CST)
  • {{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=p}}
  • {{subst:MarkAsResolved/auto|status=p}}
Issue addressed.
This discussion thread is considered closed. If you wish to, you may restart the thread by removing this template and adding your new comment; however, we recommend you to start a new thread if there is any related issue.
--COVID退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2024年November24日 (Sun) 09:51 (CST)

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>

References

  1. default is empty
  2. default is resolved