Difference between revisions of "Template:MarkAsResolved/doc"

From Moegirlpedia
Jump to: navigation, search
m (Syntax: // Edit via Wikiplus)
m (Syntax: // Edit via Wikiplus)
Line 5: Line 5:
 
可以直接用重定向名替换模板原名(包括自动模板,如<code>&#123;&#123;subst:MAR/auto&#125;&#125;</code>)。
 
可以直接用重定向名替换模板原名(包括自动模板,如<code>&#123;&#123;subst:MAR/auto&#125;&#125;</code>)。
 
==Syntax==
 
==Syntax==
<pre>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=(处理情况)|comment=(你的留言)|archive-offset=(指定不同的存档间隔)}}</pre>
+
<pre>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=|comment=}}</pre>
*标准语法。<code>archive-offset</code><ref>机器人允许[[User:Cewbot/log/20160906/configuration|设置默认存档时间]],目前为3</ref>、<code>comment</code><ref>默认为空</ref><code>status</code><ref>默认为 <code>resolved</code></ref>允许,但'''不建议'''省略;<code>time</code> 和 <code>sign</code> '''不得省略'''
+
*Standard syntax. <code>comment</code><ref>default is empty</ref> and <code>status</code><ref>default is <code>resolved</code></ref>may be omitted but that is not recommended; <code>sign</code> '''is required'''. <code>time</code> is kept for future proofing.
*请给 <code>archive-offset</code> 赋数字值;#timel 解析器函数和機器人都只接受阿拉伯數字。<!--
 
  
&#123;&#123;'''subst:'''[[Template:MarkAsResolved/auto|MarkAsResolved/auto]]<nowiki>|status=(处理情况)|comment=(你的留言)|archive-offset=(指定不同的存档间隔)}}</nowiki>
+
<code>status</code> Can be one of the following values:
*自动模板必须替换引用;它会自动填入存档间隔、时间戳、和悬挂模板者的签名。
 
*<code>archive-offset</code> 可以省略(默认值见下);<code>comment</code> 和 <code>status</code> 可以省略(默认为空、<code>resolved</code>),但'''不建议'''省略。
 
*<code>archive-offset</code> 的默认值在 <code>status</code> 等于 <code>s</code>、<code>suspended</code>、<code>n</code>、或 <code>noreply</code> 时为<code>10</code>;在<code>status</code> 值为其他值时为<code>3</code>。-->
 
 
 
<code>status</code> 的可能值如下:
 
 
{| class="wikitable"
 
{| class="wikitable"
 
!Type!!Possible Value!!建议用途
 
!Type!!Possible Value!!建议用途

Revision as of 09:15, 24 May 2020

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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May25日 (Mon) 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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May25日 (Mon) 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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May25日 (Mon) 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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May25日 (Mon) 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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May25日 (Mon) 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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May25日 (Mon) 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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May25日 (Mon) 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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May25日 (Mon) 09:51 (CST)

References

  1. default is empty
  2. default is resolved