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

From blackwiki
Jump to navigation Jump to search
blackwiki>Ahecht
(clarify)
m (15 revisions imported)
 
(7 intermediate revisions by 7 users not shown)
Line 12: Line 12:
 
would display
 
would display
  
[[Image:Symbol opinion vote.svg|20px]] '''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.}}
  
 +
There is a second, optional, parameter to replace "Comment:" with custom text. For example,
 +
<pre>
 +
{{afc comment|This is a note|Note}}
 +
</pre>
 +
or
 +
<pre>
 +
{{afc comment|2=Question|1=Why?}}
 +
</pre>
  
 +
displays
  
<hr />
+
{{afc comment|This is a note|Note}}
 +
 
 +
and
 +
 
 +
{{afc comment|2=Question|1=Why?}}
 +
 
 +
respectively.
 +
 
 +
----
 
In the most common situations, you can ''alternatively'' use this [[named parameter|slightly simpler]] form:   
 
In the most common situations, you can ''alternatively'' use this [[named parameter|slightly simpler]] form:   
  
Line 23: Line 40:
 
</pre>
 
</pre>
  
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 <code><nowiki>{{afc_comment|</nowiki><big>'''1='''</big><nowiki>your comment here}}</nowiki></code> syntax.   
+
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 <code><nowiki>{{afc comment|</nowiki><big>'''1='''</big><nowiki>your comment here}}</nowiki></code> syntax.   
 +
 
 +
== See also ==
 +
*{{tl|AFC notification}}, which is left by the [[WP:AFCH|helper script]] when placing one of these
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:WikiProject Articles for creation]]
 
[[Category:WikiProject Articles for creation]]
</includeonly>
+
[[Category:Draft namespace templates]]
 +
}}</includeonly>

Latest revision as of 11:00, 18 October 2020

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

There is a second, optional, parameter to replace "Comment:" with custom text. For example,

{{afc comment|This is a note|Note}}

or

{{afc comment|2=Question|1=Why?}}

displays

and

respectively.


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