Template:AfC comment/sandbox: Difference between revisions
Syncing sandbox code with main template (sync-template-sandbox.js) |
make "comment" the default of a newly added second parameter |
||
Line 1: | Line 1: | ||
[[File:Symbol opinion vote.svg|20px|link=]] <span style=font-weight:bold>Comment:</span> {{{1|{{red|Error: There was no comment detected! Please follow the instructions at [[Template:Afc comment]].}}}}}<noinclude>{{Documentation}}</noinclude> |
[[File:Symbol opinion vote.svg|20px|link=]] <span style=font-weight:bold>{{{2|Comment}}}:</span> {{{1|{{red|Error: There was no comment detected! Please follow the instructions at [[Template:Afc comment]].}}}}}<noinclude>{{Documentation}}</noinclude> |
Revision as of 04:36, 21 March 2019
Comment: Error: There was no comment detected! Please follow the instructions at Template:Afc comment.
![]() | This is the template sandbox page for Template:AfC comment (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 16,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. |
![]() | This template uses Lua: |
Usage
This template is used for articles submitted through the Wikipedia:Articles for creation process, when you have a comment for the submitter.
{{afc comment|1=your comment here}}
which displays your comment. For example,
{{afc comment|1=It's an excellent article, but it needs some more references.}}
would display
Comment: It's an excellent article, but it needs some more references.
In the most common situations, you can alternatively use this slightly simpler form:
{{afc comment|your comment here}}
Note lack of "1=" in this simpler use of template-syntax. However, this simplified syntax does not work when your comment contains an equals sign (including the equals signs in URLs such as https://en.wikipedia.org/w/index.php?title=Template:Afc_comment). In case of difficulty (e.g. an error message saying "no comment detected"), please use the {{afc comment|1=your comment here}}
syntax.
See also
- {{AFC notification}}, which is left by the helper script when placing one of these
- Category:AfC comment templates for a list of templates that can be used.