Template:Comment: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DixonDBot m Migrating 6 interwiki links, now provided by Wikidata on d:Q7605021 |
meta>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
Template documentation
{{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.
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 |