Template:Reply to/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
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

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

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.

Template parameters

ParameterDescriptionTypeStatus
Editor useraccount 11

The useraccount (name) of the editor to whom you are replying

Stringrequired
Editor useraccount 22

The useraccount (name) of the editor to whom you are replying

Stringoptional
Editor useraccount 33

The useraccount (name) of the editor to whom you are replying

Stringoptional
Editor useraccount 44

The useraccount (name) of the editor to whom you are replying

Stringoptional
Editor useraccount 55

The useraccount (name) of the editor to whom you are replying

Stringoptional