Difference between revisions of "Template:AFC notification"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
blackwiki>MSGJ
(full width, standard for user talk messages)
Line 8: Line 8:
 
| #default = has updates }} ==
 
| #default = has updates }} ==
 
{{<includeonly>safesubst:</includeonly>#switch: {{{1|}}}
 
{{<includeonly>safesubst:</includeonly>#switch: {{{1|}}}
| accept = <div style="border:solid 1px #57DB1E; background:#E6FFE6; padding:1em; padding-top:0.5em; padding-bottom:0.5em; width:20em; color:black; margin-bottom: 1.5em; margin-left: 1.5em; width: 90%;"> [[File:AFC-Logo.svg|50px|left]]
+
| accept = <div style="border:solid 1px #57DB1E; background:#E6FFE6; padding:1em; padding-top:0.5em; padding-bottom:0.5em; width:20em; color:black; margin-bottom: 1.5em; width: 100%;"> [[File:AFC-Logo.svg|50px|left]]
| decline = <div style="border:solid 1px #9accf6;background:#f1f9ff;padding:1em;padding-top:0.5em;padding-bottom:0.5em;width:20em;color:black;margin-bottom: 1.5em;margin-left: 1.5em;width: 90%;"> [[File:AFC-Logo_Decline.svg|50px|left]]
+
| decline = <div style="border:solid 1px #9accf6;background:#f1f9ff;padding:1em;padding-top:0.5em;padding-bottom:0.5em;width:20em;color:black;margin-bottom: 1.5em;width: 100%;"> [[File:AFC-Logo_Decline.svg|50px|left]]
| #default = <div style="border:solid 1px #9accf6;background:#f1f9ff;padding:1em;padding-top:0.5em;padding-bottom:1em;width:20em;color:black;margin-bottom: 1.5em;margin-left: 1.5em;width: 90%;"> [[File:AFC-Logo.svg|50px|left]]
+
| #default = <div style="border:solid 1px #9accf6;background:#f1f9ff;padding:1em;padding-top:0.5em;padding-bottom:1em;width:20em;color:black;margin-bottom: 1.5em;width: 100%;"> [[File:AFC-Logo.svg|50px|left]]
 
}}
 
}}
 
{{<includeonly>safesubst:</includeonly>#switch: {{{1|}}}
 
{{<includeonly>safesubst:</includeonly>#switch: {{{1|}}}
Line 37: Line 37:
 
| underreview = I've marked your Articles for Creation submission as being currently under review. The submission in question can be viewed at [[{{{article}}}]]. {{{additional|Thanks!}}}
 
| underreview = I've marked your Articles for Creation submission as being currently under review. The submission in question can be viewed at [[{{{article}}}]]. {{{additional|Thanks!}}}
 
| notunderreview = I've marked your Articles for Creation submission as no longer under review. The submission in question can be viewed at [[{{{article}}}]]. {{{additional|Thanks!}}}
 
| notunderreview = I've marked your Articles for Creation submission as no longer under review. The submission in question can be viewed at [[{{{article}}}]]. {{{additional|Thanks!}}}
| #default = {{error|Error: The {{{1|<nowiki><undefined></nowiki>}}} parameter is not supported by {{tlx|AFC notification}}.}}}} ~<includeonly>~~</includeonly>~ </div>}}<noinclude>{{documentation}}</noinclude>
+
| #default = {{error|Error: The {{{1|<nowiki><undefined></nowiki>}}} parameter is not supported by {{tlx|AFC notification}}.}}}} ~<includeonly>~~</includeonly>~ </div>}}<noinclude>
 +
{{documentation}}
 +
</noinclude>

Revision as of 08:12, 10 October 2016

Template:Require subst

Template documentation[view] [edit] [history] [purge]

Usage

Depending on the situation:

  • {{subst:AFC notification|accept|article=///|additional=/optional/|class=/optional/}} (class is the new article's assessment)
  • {{subst:AFC notification|decline|article=///|additional=/optional/|cv=/optional/}} (If the declined article is a copyright violation, cv should be set to yes)
  • {{subst:AFC notification|comment|article=///|additional=/optional/}}
  • {{subst:AFC notification|underreview|article=///|additional=/optional/}}
  • {{subst:AFC notification|notunderreview|article=///|additional=/optional/}}

Note that the article parameter is always required and should be the full submission title (e.g., Wikipedia talk:Articles for creation/sandbox). The additional parameter is an additional string of text to be appended to the message.

Examples

See testcases for examples of the template in practice.