Difference between revisions of "Template:Comment"
Jump to navigation
Jump to search
Template documentation
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
File:Pictogram voting comment.svg Comment
{{Comment}} Your comment here. produces "File: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.
| The above documentation is transcluded from Template:Comment/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Display text | 1 | Text which will replace default text; e.g. Note.
| String | optional |