Difference between revisions of "Template:Afc comment/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Theopolisme
(fix)
(adjust helpdocs to suggest using quasi-named-arg-specifier |1= by default , rather than eliding that quasi-name, since there are specific use-cases where the template fails to work without the named-param, see Template_talk:Afc_comment)
Line 4: Line 4:
  
 
<pre>
 
<pre>
{{afc comment|your comment here}}
+
{{afc comment|1=your comment here}}
 
</pre>
 
</pre>
 
which displays your comment. For example,
 
which displays your comment. For example,
 
<pre>
 
<pre>
{{afc comment|It's an excellent article, but it needs some more references.}}
+
{{afc comment|1=It's an excellent article, but it needs some more references.}}
 
</pre>
 
</pre>
 
would display
 
would display
  
 
[[Image:Symbol opinion vote.svg|20px]] '''Comment:''' It's an excellent article, but it needs some more references.
 
[[Image:Symbol opinion vote.svg|20px]] '''Comment:''' It's an excellent article, but it needs some more references.
 +
 +
 +
 +
<hr />
 +
In the most common situations, you can ''alternatively'' use this [[named parameter|slightly simpler]] form: 
 +
 +
<pre>
 +
{{afc comment|your comment here}}
 +
</pre>
 +
 +
Note lack of "1=" in this simpler use of template-syntax.  However, this simplified syntax does not work in all cases, such as when specific kinds of fully-qualified-domain-name hyperlinks are included within the comment-text.  In case of difficulty (e.g. an error message saying "no comment specified"), please use the <code><nowiki>{{afc_comment|</nowiki><big>'''1='''</big><nowiki>your comment here}}</nowiki></code> syntax. 
  
 
<includeonly>
 
<includeonly>

Revision as of 17:19, 31 August 2015

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

Symbol opinion vote.svg 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 in all cases, such as when specific kinds of fully-qualified-domain-name hyperlinks are included within the comment-text. In case of difficulty (e.g. an error message saying "no comment specified"), please use the {{afc_comment|1=your comment here}} syntax.