Template:Reply to/doc: Difference between revisions
meta>MZMcBride →Aliases: updated section |
meta>John Broughton Adding template data that makes it easier to edit this when using VisualEditor |
||
Line 24: | Line 24: | ||
* {{tl|user link}} – To just link to a single user's page (without the @ sign and colon), use this template. | * {{tl|user link}} – To just link to a single user's page (without the @ sign and colon), use this template. | ||
* {{tl|noping}} | * {{tl|noping}} | ||
<templatedata> | |||
{ | |||
"description": "A template for notifying another editor that you are replying to him/her.", | |||
"params": { | |||
"1": { | |||
"label": "Editor useraccount 1", | |||
"description": "The useraccount (name) of the editor to whom you are replying", | |||
"type": "string", | |||
"required": true | |||
} , | |||
"2": { | |||
"label": "Editor useraccount 2", | |||
"description": "The useraccount (name) of the editor to whom you are replying", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"3": { | |||
"label": "Editor useraccount 3", | |||
"description": "The useraccount (name) of the editor to whom you are replying", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"4": { | |||
"label": "Editor useraccount 4", | |||
"description": "The useraccount (name) of the editor to whom you are replying", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"5": { | |||
"label": "Editor useraccount 5", | |||
"description": "The useraccount (name) of the editor to whom you are replying", | |||
"type": "string", | |||
"required": false | |||
} | |||
} | |||
} | |||
</templatedata> | |||
<includeonly> | <includeonly> | ||
<!-- Categories for template go here. --> | <!-- Categories for template go here. --> |
Revision as of 03:09, 8 July 2013
This is a documentation subpage for Template:Reply to. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
This template takes advantage of the new mention notification to ping the user(s) you are replying to in a discussion (so you don't have to use the {{talkback}} template). It works on any talk page or Wikipedia namespace page.
Note that it isn't necessary to use this template to ping the user if you are already linking to their username from your post.
Single recipient
To use it, just add something like the following to an existing discussion:
{{reply to|User1}} Message text. ~~~~
The comment must be signed and belong to a section in order for the notification to work.
Multiple recipients
You can reply to up to 5 people at once:
{{reply to|User1|UserII|UserC}} Message text. ~~~~
Aliases
- {{ping}}
- {{replyto}}
- {{ReplyTo}}
- {{mention}}
- [autogenerated list of redirects]
Related templates
- {{user link}} – To just link to a single user's page (without the @ sign and colon), use this template.
- {{noping}}
A template for notifying another editor that you are replying to him/her.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Editor useraccount 1 | 1 | The useraccount (name) of the editor to whom you are replying | String | required |
Editor useraccount 2 | 2 | The useraccount (name) of the editor to whom you are replying | String | optional |
Editor useraccount 3 | 3 | The useraccount (name) of the editor to whom you are replying | String | optional |
Editor useraccount 4 | 4 | The useraccount (name) of the editor to whom you are replying | String | optional |
Editor useraccount 5 | 5 | The useraccount (name) of the editor to whom you are replying | String | optional |