Difference between revisions of "Template:Comment"

From blackwiki
Jump to navigation Jump to search
imported>DixonDBot
m (Migrating 6 interwiki links, now provided by Wikidata on d:Q7605021)
imported>Ceyockey
(added TemplateData)
Line 2: Line 2:
 
{{doc|content=<pre>{{Comment}} Your comment here.</pre> produces "{{Comment}} Your comment here."  
 
{{doc|content=<pre>{{Comment}} Your comment here.</pre> produces "{{Comment}} Your comment here."  
 
You can also use {{tlp|comment|optional word}} to put a word instead of "comment": <pre>{{comment|Note}}</pre> produces {{comment|Note}}.}}
 
You can also use {{tlp|comment|optional word}} to put a word instead of "comment": <pre>{{comment|Note}}</pre> produces {{comment|Note}}.}}
 +
 +
<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]]
 
[[Category:Image with comment templates]]
  
 
</noinclude>
 
</noinclude>

Revision as of 12:23, 21 July 2013

Pictogram voting comment.svg Comment

Template documentation
{{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 File:Pictogram voting comment.svg Note.

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