Difference between revisions of "Template:MarkAsResolved"

From Moegirlpedia
Jump to: navigation, search
m (// Edit via Wikiplus)
m (// Edit via Wikiplus)
 
Line 9: Line 9:
 
}}<div class="MarkAsResolved" style="display:flex; flex-wrap:wrap; align-items:center; width:100%; margin:auto; margin-top:0; padding:0 1em; border-top:5px solid {{#var:primaryColor}}; background-color:{{#var:lightColor}};box-sizing: border-box;">
 
}}<div class="MarkAsResolved" style="display:flex; flex-wrap:wrap; align-items:center; width:100%; margin:auto; margin-top:0; padding:0 1em; border-top:5px solid {{#var:primaryColor}}; background-color:{{#var:lightColor}};box-sizing: border-box;">
 
<div style="flex:0 0 6em; color:{{#var:primaryColor}}; font-weight:bold; font-size:125%;margin: 5px 0; line-height:1.15;">{{#var:responseText}}</div>
 
<div style="flex:0 0 6em; color:{{#var:primaryColor}}; font-weight:bold; font-size:125%;margin: 5px 0; line-height:1.15;">{{#var:responseText}}</div>
<div style="flex:1 0 200px; margin: 5px 0; font-size:80%; padding-right: 5px;">This discussion thread is considered closed now. If you want to, you may restart the thread by removing this template; however, we recommend you to [{{fullurl:{{FULLPAGENAME}}|action=edit&section=new}} start a new thread] if there is related issues. </div>
+
<div style="flex:1 0 200px; margin: 5px 0; font-size:80%; padding-right: 5px;">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 [{{fullurl:{{FULLPAGENAME}}|action=edit&section=new}} start a new thread] if there is any related issue. </div>
 
<div style="flex:1 0 200px; margin: 5px 0; padding:5px; background-color:#fdfdfd; border:1px solid #ddd; font-size:75%;">{{#if:{{{comment|}}}|<span style="font-weight:bold;">Comment</span><br />{{{comment}}}}}—{{{sign|<strong class="error">Error: the <code>sign</code> parameter cannot be empty.</strong>}}}</div>
 
<div style="flex:1 0 200px; margin: 5px 0; padding:5px; background-color:#fdfdfd; border:1px solid #ddd; font-size:75%;">{{#if:{{{comment|}}}|<span style="font-weight:bold;">Comment</span><br />{{{comment}}}}}—{{{sign|<strong class="error">Error: the <code>sign</code> parameter cannot be empty.</strong>}}}</div>
 
</div></includeonly><noinclude>[[Category:Discussion_Templates]]{{doc}}</noinclude>
 
</div></includeonly><noinclude>[[Category:Discussion_Templates]]{{doc}}</noinclude>

Latest revision as of 09:12, 24 May 2020

Template-info.svg Template Document  [View] [Edit] [History] [Refresh]
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年May24日 (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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May24日 (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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May24日 (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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May24日 (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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May24日 (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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May24日 (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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May24日 (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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 2020年May24日 (Sun) 09:51 (CST)

Template Data

Template used to mark a discussion thread as resolved

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Signsign

signature. Always use ~~~~.

Default
empty
Example
empty
Auto value
~~~~
Unknownrequired
Timetime

Date when the MAR template is hung. Always use {{subst:#timel:Ymd}}.

Default
empty
Example
empty
Auto value
{{subst:#timel:Ymd}}
Datesuggested
Statusstatus

Status of the MAR template. Current possibilities (short hands) are listed in the example.

Default
resolved
Example
a, s, d, w, n, p, r
Auto value
resolved
Stringsuggested
Commentcomment

Any comment you wish to add.

Default
empty
Example
The issue here is addressed and fixed by an admin.
Auto value
Stringoptional

References

  1. default is empty
  2. default is resolved