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>Anarchyte
m (Changed protection level for "Template:Comment": Highly visible template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[File:Pictogram voting comment.svg|15px|link=]]&nbsp;'''{{{1|Comment}}}'''<noinclude>
+
[[File:Pictogram voting comment.svg|15px|link=|alt=]]&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>

Latest revision as of 08:20, 18 May 2020

 Comment:

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

Usage

{{Comment}} Your comment here.
produces " Comment: Your comment here." You can also use {{comment|optional word}} to put a word instead of "comment":
{{comment|Note}}
produces  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