Template:AFC submission/draftnew/sandbox
![]() | This is the template sandbox page for Template:AFC submission/draftnew (diff). |
![]() | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Usage
[edit]This template is meant as a single template for marking the status of an Articles for creation submission.
- {{AFC submission}} produces the pending submission banner {{AFC submission/pending}}
- Note To place this template use {{subst:submit|username}}, where username is the username of the article's creator (left blank it will assume it is you).
- {{AFC submission|D}} produces the declined banner {{AFC submission/declined}}
- {{AFC submission|T}} produces the unsubmitted draft banner {{AFC submission/draft}}
- Shortcut: {{subst:AFC draft|username}} where username is the username of the article's creator (left blank it will assume it is you).
- {{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
- The five banners described above:
- /misplaced – the code used for submissions created in any namespace other than Wikipedia talk
- /doc – the documentation you are reading now
- /submit – code for new submissions
- /draftnew – code for new draft submissions
- /draftsubmit – the code for submitting draft submissions for review
- Preload templates:
- Editnotice templates: