Difference between revisions of "Template:MarkAsResolved"

From Moegirlpedia
Jump to: navigation, search
m (// Edit via Wikiplus)
m
 
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
|r|resolved||#default={{#vardefine:primaryColor|green}}{{#vardefine:lightColor|#DFD}}{{#vardefine:responseText|Issue resolved.}}
 
|r|resolved||#default={{#vardefine:primaryColor|green}}{{#vardefine:lightColor|#DFD}}{{#vardefine:responseText|Issue resolved.}}
 
}}<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 8em; color:{{#var:primaryColor}}; font-weight:bold; font-size:125%;margin: 5px 0;">{{#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 03:11, 22 July 2021

Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

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] 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 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}}
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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 09:51, 25 October 2024 (UTC)
  • {{MarkAsResolved|sign=~~~~|time={{subst:#timel:Ymd}}|comment=Some comments here.}}
  • {{subst:MarkAsResolved/auto|comment=Some comments here.}}
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
Some comments here. --COVID退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 09:51, 25 October 2024 (UTC)

With 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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 09:51, 25 October 2024 (UTC)
  • {{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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 09:51, 25 October 2024 (UTC)
  • {{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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 09:51, 25 October 2024 (UTC)
  • {{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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 09:51, 25 October 2024 (UTC)
  • {{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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 09:51, 25 October 2024 (UTC)
  • {{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退散! 不是公的驱逐舰的壹陆 讨论·最近编辑 09:51, 25 October 2024 (UTC)

References

  1. default is empty
  2. default is resolved