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

From blackwiki
Jump to navigation Jump to search
blackwiki>Stranger195
(Modernization)
blackwiki>DannyS712
(update)
Line 13: Line 13:
  
 
[[File:Symbol opinion vote.svg|20px]] '''Comment:''' It's an excellent article, but it needs some more references.
 
[[File:Symbol opinion vote.svg|20px]] '''Comment:''' 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>
 +
{{af comment|2=Question|1=Why?}}
 +
</pre>
 +
 +
displays
 +
 +
[[File:Symbol opinion vote.svg|20px|link=]] <span style=font-weight:bold>Note:</span> This is a note
 +
 +
and
 +
 +
[[File:Symbol opinion vote.svg|20px|link=]] <span style=font-weight:bold>Question:</span> 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:   

Revision as of 07:27, 21 March 2019

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.


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

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

or

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

displays

File:Symbol opinion vote.svg Note: This is a note

and

File:Symbol opinion vote.svg Question: Why?

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