Difference between revisions of "Template:AFC notification"

From blackwiki
Jump to navigation Jump to search
blackwiki>Theopolisme
(subset the switch)
blackwiki>Theopolisme
(subst the other switch as well)
Line 1: Line 1:
{{{{{|safesubst:}}}substchecktop|AFC notification|subst={{{subst|}}}}}== [[WP:AfC|AfC]] notification: [[{{{article}}}]] {{<includeonly>subst:</includeonly>#switch:{{{1|}}}|accept=has been accepted|decline=has been declined|comment=has a new comment|underreview=is under review|notunderreview=is no longer under review|#default=has updates }}==
+
{{{{{|safesubst:}}}substchecktop|AFC notification|subst={{{subst|}}}}}== [[WP:AfC|AfC]] notification: [[{{{article}}}]] {{{{{|safesubst:}}}#switch:{{{1|}}}|accept=has been accepted|decline=has been declined|comment=has a new comment|underreview=is under review|notunderreview=is no longer under review|#default=has updates }}==
{{#switch: {{{1|}}}| accept = {{<includeonly>subst:</includeonly>Afc talk|1={{{article}}}|class={{{class|}}}}}| decline = {{<includeonly>subst:</includeonly>Afc decline|full={{{article}}}|cv={{{cv|}}}|sig=no}}| comment = I've left a comment on your Articles for Creation submission, which can be viewed [[{{{article}}}|here]]. Thanks!| underreview = I've marked your Articles for Creation submission as being currently under review. /// Thanks!| notunderreview = I've marked your Articles for Creation submission as no longer under review. /// Thanks!| #default = {{error|Error: The {{{1|<nowiki><undefined></nowiki>}}} parameter is not supported by {{tlx|AFC notification}}.}}}} ~<includeonly>~~</includeonly>~{{{{{|safesubst:}}}substcheckbottom|subst={{{subst|}}}}}<noinclude>{{documentation}}</noinclude>
+
{{{{{|safesubst:}}}#switch: {{{1|}}}| accept = {{{{{|safesubst:}}}Afc talk|1={{{article}}}|class={{{class|}}}}}| decline = {{{{{|safesubst:}}}Afc decline|full={{{article}}}|cv={{{cv|}}}|sig=no}}| comment = I've left a comment on your Articles for Creation submission, which can be viewed [[{{{article}}}|here]]. Thanks!| underreview = I've marked your Articles for Creation submission as being currently under review. /// Thanks!| notunderreview = I've marked your Articles for Creation submission as no longer under review. /// Thanks!| #default = {{error|Error: The {{{1|<nowiki><undefined></nowiki>}}} parameter is not supported by {{tlx|AFC notification}}.}}}} ~<includeonly>~~</includeonly>~{{{{{|safesubst:}}}substcheckbottom|subst={{{subst|}}}}}<noinclude>{{documentation}}</noinclude>

Revision as of 14:40, 2 November 2013

Template:Substchecktop== AfC notification: [[{{{article}}}]] has updates==

Error: The <undefined> parameter is not supported by {{AFC notification}}. ~~Template:Substcheckbottom

50px 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.