Template:AfC submission/doc
This is a documentation subpage for Template:AfC submission. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 34,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
If you plan to make breaking changes to this template, move it, change scope, or nominate it for deletion or deprecation, please notify the Article Alerts project at Wikipedia talk:Article alerts as a courtesy, as this page is used by the AAlertBot bot to detect and report pages. Thank you! |
This template may have no transclusions, because it is substituted by a tool or script, it is used as part of a short-term or less active Wikipedia process, or for some other reason. |
This template uses Lua: |
This template uses TemplateStyles: |
Usage
[edit]This template is meant as a single template for marking the status of an Articles for creation submission. To use this template to submit an article for review, use {{subst:submit|username}}, where username is the username of the draft's creator (left blank it will assume it is you). The template uses one of the following parameter options:
- {{AfC submission|T}} produces the unsubmitted draft banner {{AfC submission/draft}}
- Shortcut: {{subst:AfC draft|username}}, where username is the username of the draft's creator (left blank it will assume it is you).
- {{AfC submission}} (no first parameter) produces the pending submission banner {{AfC submission/pending}}
- This may also be produced using {{subst:submit|username}}, as discussed above.
- {{AfC submission|D}} produces the declined banner {{AfC submission/declined}}, or the rejected banner {{AfC submission/rejected}}, depending on whether the
reject
parameter is passed with some value - {{AfC submission|R}} produces the reviewing banner {{AfC submission/reviewing}}
- When a submission is moved into mainspace, it produces the "created" message {{AfC submission/created}}
Decline options
[edit]When declining an AfC submission, this template can take additional parameters to include a decline reason. All decline templates used under the old system (listed here) are included in this template. The idea is to streamline the decline process; instead of including three templates, now a reviewer need only add a single parameter to the template to include a decline reason.
To include the decline reason, use {{AfC submission|D|reason}}
, replacing reason with one of the abbreviations listed at Template:AfC submission/comments. That page also shows the resulting messages. Some reasons may take an additional parameter ({{AfC submission|D|reason|Additional parameter}}
). These parameters are optional, except the additional parameter for reason itself.
If no parameter is included after D, or an invalid parameter is entered, the invalid parameter will appear as the decline reason.
Subpages
[edit]See Special:PrefixIndex/Template:AfC submission/
- /tools – the links to help reviewers at the bottom of the various templates
- /helptools – the links to policies and ways to get sources seen on several of the templates
- /old – template to mimic the old-style templates
- /comments – stores the comments used by the various parameters of the decline template
- /table – simplifies the code on the comments page
- /reject reasons – stores the comments used by the various parameters of the reject template
- The six banners described above:
- /misplaced – the code used for submissions created in any namespace other than Draft
- /doc – the documentation you are reading now
- /submit – code for new submissions
- /draftnew – code for new draft submissions
- Preload templates:
- Editnotice templates:
See also
[edit]- Templates for user talk pages:
- {{AfC talk}}, for accepted submissions
- {{Afc decline}} and {{Afc reject}}, for declined/rejected submissions
- {{AfC date category}}