Difference between revisions of "Template:MarkAsResolved/doc"
m (+TemplateData) |
(Translated documentation to English) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{From other wiki|Chinese Moegirlpedia|Template:MarkAsResolved}} |
− | ==Redirects== | + | == Redirects == |
*<code>{{MAR}}</code> | *<code>{{MAR}}</code> | ||
− | + | Substitution is also available to replace the original name of the template (including the /auto subpage, for example <code>{{subst:MAR/auto}}</code>). | |
− | == | + | |
+ | == Usage == | ||
<pre>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=|comment=}}</pre> | <pre>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|status=|comment=}}</pre> | ||
*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. | *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. | ||
Line 10: | Line 11: | ||
<code>status</code> Can be one of the following values: | <code>status</code> Can be one of the following values: | ||
{| class="wikitable" | {| class="wikitable" | ||
− | !Type!!Possible Value!! | + | !Type!!Possible Value!!Suggested Usage |
|- | |- | ||
− | | | + | |Request accepted||<code title="You can play Quake with these keys!">a</code>, <code>accepted</code>||For '''administrators'''. Use when accepting a request. |
|- | |- | ||
− | | | + | |Request suspended||<code title="You can play Quake with these keys!">s</code>, <code>suspended</code>||For '''administrators'''. Use when suspending a request. |
|- | |- | ||
− | | | + | |Request denied||<code title="You can play Quake with these keys!">d</code>, <code>denied</code>||For '''administrators'''. Use when denying a request. |
|- | |- | ||
− | | | + | |Request withdrawn||<code title="You can play Quake with these keys!">w</code>, <code>withdrawn</code>||Use when the original requester withdraws a request. |
|- | |- | ||
− | | | + | |No reply{{JK| lol ROASTED}}||<code>n</code>, <code>noreply</code>||Use to attract more replies, or when marking a discussion thread with no replies for easy archiving. |
|- | |- | ||
− | | | + | |Issue addressed||<code>p</code>, <code>re'''p'''lied</code>||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||<code>r</code>, <code>resolved</code>;<br />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 === |
*<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}}}</nowiki></code> | *<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}}}</nowiki></code> | ||
*<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: | + | {{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 j Y (D)}} 09:51 (CST)|time={{#timel:Ymd}}}} |
{{-}} | {{-}} | ||
− | *<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|comment= | + | *<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|comment=Some comments here.}}</nowiki></code> |
− | *<code><nowiki>{{subst:MarkAsResolved/auto|comment= | + | *<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: | + | {{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 j Y (D)}} 09:51 (CST)|time={{#timel:Ymd}}|comment=Some comments here.}} |
− | ===<code>status</code> | + | === With <code>status</code> === |
*<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</nowiki>status=<span style="color:#080;font-weight:bold;">a</span><nowiki>}}</nowiki></code> | *<code><nowiki>{{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|</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> | *<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: | + | {{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 j Y (D)}} 09:51 (CST)|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: | + | {{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 j Y (D)}} 09:51 (CST)|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: | + | {{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 j Y (D)}} 09:51 (CST)|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: | + | {{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 j Y (D)}} 09:51 (CST)|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: | + | {{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 j Y (D)}} 09:51 (CST)|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: | + | {{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 j Y (D)}} 09:51 (CST)|time={{#timel:Ymd}}|status=p}} |
− | ==Template Data== | + | == Template Data == |
<templatedata> | <templatedata> | ||
{ | { | ||
Line 91: | Line 92: | ||
}, | }, | ||
"sign": { | "sign": { | ||
− | "description": " | + | "description": "Signature. Always use ~~~~.", |
"autovalue": "~~~~", | "autovalue": "~~~~", | ||
"required": true | "required": true | ||
Line 97: | Line 98: | ||
"time": { | "time": { | ||
"autovalue": "{{subst:#timel:Ymd}}", | "autovalue": "{{subst:#timel:Ymd}}", | ||
− | "description": "Date when the MAR template is | + | "description": "Date when the MAR template is transcluded. Always use {{subst:#timel:Ymd}}.", |
"type": "date", | "type": "date", | ||
"suggested": true | "suggested": true | ||
} | } | ||
}, | }, | ||
− | "description": "Template used to mark a discussion thread as resolved", | + | "description": "Template used to mark a discussion thread as resolved.", |
"format": "inline", | "format": "inline", | ||
"paramOrder": [ | "paramOrder": [ |
Revision as of 01:51, 25 May 2020
This template was originally from page Template:MarkAsResolved in Chinese Moegirlpedia, and the license might be different from English Moegirlpedia. The contents might differ after being modified by different users on both sides. For more information, see Moegirlpedia:Copyrights.
|
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>