Difference between revisions of "Template:MarkAsResolved/doc"
m (+.cn) (Tag: Automation tool) |
m (signature timestamp format) |
||
Line 36: | Line 36: | ||
*<code><nowiki>{{subst:MarkAsResolved/auto}}</nowiki></code> | *<code><nowiki>{{subst:MarkAsResolved/auto}}</nowiki></code> | ||
− | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> {{#timel:F | + | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> 09:51, {{#timel:j F Y}} (UTC)|time={{#timel:Ymd}}}} |
{{-}} | {{-}} | ||
*<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|comment=Some comments here.}}</nowiki></code> | *<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|comment=Some comments here.}}</nowiki></code> | ||
*<code><nowiki>{{subst:MarkAsResolved/auto|comment=Some comments here.}}</nowiki></code> | *<code><nowiki>{{subst:MarkAsResolved/auto|comment=Some comments here.}}</nowiki></code> | ||
− | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> {{#timel:F | + | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> 09:51, {{#timel:j F Y}} (UTC)|time={{#timel:Ymd}}|comment=Some comments here.}} |
=== With <code>status</code> === | === With <code>status</code> === | ||
Line 47: | Line 47: | ||
*<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:#080;font-weight:bold;">a</span><nowiki>}}</nowiki></code> | *<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:#080;font-weight:bold;">a</span><nowiki>}}</nowiki></code> | ||
− | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> {{#timel:F | + | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> 09:51, {{#timel:j F Y}} (UTC)|time={{#timel:Ymd}}|status=a}} |
{{-}} | {{-}} | ||
*<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</nowiki>status=<span style="color:#FA0;font-weight:bold;">s</span><nowiki>|archive-offset=10}}</nowiki></code> | *<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</nowiki>status=<span style="color:#FA0;font-weight:bold;">s</span><nowiki>|archive-offset=10}}</nowiki></code> | ||
*<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:#FA0;font-weight:bold;">s</span><nowiki>}}</nowiki></code> | *<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:#FA0;font-weight:bold;">s</span><nowiki>}}</nowiki></code> | ||
− | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> {{#timel:F | + | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> 09:51, {{#timel:j F Y}} (UTC)|time={{#timel:Ymd}}|status=s|archive-offset=10}} |
{{-}} | {{-}} | ||
*<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</nowiki>status=<span style="color:#FA0;font-weight:bold;">n</span><nowiki>|archive-offset=10}}</nowiki></code> | *<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</nowiki>status=<span style="color:#FA0;font-weight:bold;">n</span><nowiki>|archive-offset=10}}</nowiki></code> | ||
*<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:#FA0;font-weight:bold;">n</span><nowiki>}}</nowiki></code> | *<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:#FA0;font-weight:bold;">n</span><nowiki>}}</nowiki></code> | ||
− | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> {{#timel:F | + | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> 09:51, {{#timel:j F Y}} (UTC)|time={{#timel:Ymd}}|status=n|archive-offset=10}} |
{{-}} | {{-}} | ||
*<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</nowiki>status=<span style="color:#D00;font-weight:bold;">d</span><nowiki>}}</nowiki></code> | *<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</nowiki>status=<span style="color:#D00;font-weight:bold;">d</span><nowiki>}}</nowiki></code> | ||
*<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:#D00;font-weight:bold;">d</span><nowiki>}}</nowiki></code> | *<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:#D00;font-weight:bold;">d</span><nowiki>}}</nowiki></code> | ||
− | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> {{#timel:F | + | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> 09:51, {{#timel:j F Y}} (UTC)|time={{#timel:Ymd}}|status=d}} |
{{-}} | {{-}} | ||
*<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</nowiki>status=<span style="color:#444;font-weight:bold;">w</span><nowiki>}}</nowiki></code> | *<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</nowiki>status=<span style="color:#444;font-weight:bold;">w</span><nowiki>}}</nowiki></code> | ||
*<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:#444;font-weight:bold;">w</span><nowiki>}}</nowiki></code> | *<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:#444;font-weight:bold;">w</span><nowiki>}}</nowiki></code> | ||
− | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> {{#timel:F | + | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> 09:51, {{#timel:j F Y}} (UTC)|time={{#timel:Ymd}}|status=w}} |
{{-}} | {{-}} | ||
*<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</nowiki>status=<span style="color:green;font-weight:bold;">p</span><nowiki>}}</nowiki></code> | *<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</nowiki>status=<span style="color:green;font-weight:bold;">p</span><nowiki>}}</nowiki></code> | ||
*<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:green;font-weight:bold;">p</span><nowiki>}}</nowiki></code> | *<code><nowiki>{{subst:MarkAsResolved/auto|</nowiki>status=<span style="color:green;font-weight:bold;">p</span><nowiki>}}</nowiki></code> | ||
− | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> {{#timel:F | + | {{MarkAsResolved|sign=<span style="font-family:'Source Han Serif SC',serif;font-weight:900;">COVID退散! </span><span style="color:#888; font-size:75%;">''不是公的驱逐舰的''</span>[[User:公的驱逐舰|壹陆]] <span style="font-size:75%;">[[User_talk:公的驱逐舰|讨论]]·[[Special:用户贡献/公的驱逐舰|最近编辑]]</span> 09:51, {{#timel:j F Y}} (UTC)|time={{#timel:Ymd}}|status=p}} |
== Template Data == | == Template Data == |
Revision as of 11:59, 27 March 2021
Contents
Redirects
{{MAR}}
Substitution is also available to replace the original name of the template (including the /auto subpage, for example {{subst:MAR/auto}}
).
Usage
{{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 | Suggested Usage |
---|---|---|
Request accepted | a , accepted |
For administrators. Use when accepting a request. |
Request suspended | s , suspended |
For administrators. Use when suspending a request. |
Request denied | d , denied |
For administrators. Use when denying a request. |
Request withdrawn | w , withdrawn |
Use when the original requester withdraws a request. |
No reply lol ROASTED | n , noreply |
Use to attract more replies, or when marking a discussion thread with no replies for easy archiving. |
Issue addressed | p , replied |
Use when administrators or experienced editors have replied to the issue, but cannot be counted as fully resolved (for example, problems caused by a force majeure). |
Issue resolved | r , resolved ;Any other input value, as this is the default value. |
Use when administrators or experienced editors have fully resolved the issue. |
Example
The following examples are based on the signature of User:公的驱逐舰 in early 2020.
Common Usage
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}}}
{{subst:MarkAsResolved/auto}}
{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|comment=Some comments here.}}
{{subst:MarkAsResolved/auto|comment=Some comments here.}}
With 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 transcluded. 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>