Difference between revisions of "Template:Comment"

From blackwiki
Jump to navigation Jump to search
imported>HitroMilanese
m (Reverted 1 edit by CurrentlyOngoing (talk) to last revision by GermanJoe. (TW))
imported>Andy M. Wang
(DOC)
Line 1: Line 1:
 
[[File:Pictogram voting comment.svg|15px|link=]]&nbsp;'''{{{1|Comment}}}'''<noinclude>
 
[[File:Pictogram voting comment.svg|15px|link=]]&nbsp;'''{{{1|Comment}}}'''<noinclude>
{{doc|content=<pre>{{Comment}} Your comment here.</pre> produces "{{Comment}} Your comment here."
+
{{documentation}}
You can also use {{tlp|comment|optional word}} to put a word instead of "comment": <pre>{{comment|Note}}</pre> produces {{comment|Note}}.}}
 
 
 
== TemplateData ==
 
{{TemplateDataHeader}}
 
<templatedata>{
 
  "description": "Indicates the insertion of a comment in a discussion.  Displays an icon and a text string; takes one optional parameter which defines the text string.",
 
  "params": {
 
    "1": {
 
      "label": "Display text",
 
      "description": "Text which will replace default text; e.g. Note.",
 
      "type": "string",
 
      "default": "Comment",
 
      "required": false
 
    }
 
  }
 
}</templatedata>
 
 
 
[[Category:Image with comment templates]]
 
 
 
 
</noinclude>
 
</noinclude>

Revision as of 23:34, 26 April 2016

Pictogram voting comment.svg Comment

Template documentation[view] [edit] [history] [purge]

Usage

{{Comment}} Your comment here.
produces "Pictogram voting comment.svg Comment Your comment here." You can also use {{comment|optional word}} to put a word instead of "comment":
{{comment|Note}}
produces Pictogram voting comment.svg Note.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Comment

Indicates the insertion of a comment in a discussion. Displays an icon and a text string; takes one optional parameter which defines the text string.

Template parameters

ParameterDescriptionTypeStatus
Display text1

Text which will replace default text; e.g. Note.

Default
Comment
Stringoptional

See also

This list:

Inline icon templates by shape and color

Any of the following inline, comment-level templates can be converted into {{Resolved}}-style hatnotes by using {{Resbox}} to put a box around the icon and text.

Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table".

Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table".

Others

Script error: No such module "aligned table". Script error: No such module "aligned table".

Multi-sign templates

The following templates implement several icons:

Others