Template:Request ping
From Wikipedia, the free encyclopedia
If you reply here, please ping me by adding {{u|your username will show up here}} to your message, and signing it.
![]() | Click the [subscribe] link on the right of discussion section headings, as an alternative to this template, and get pinged whenever anyone replies. See WP:SUBSCRIBE. |
![]() | This template should always be substituted (i.e., use {{subst:Request ping}} ). |
Purpose
This template is used on talk pages to ask other users to ping the poster with any reply. It would normally be placed just before the poster's signature.
Substitution
This template must be substituted with the subst: keyword for it to work properly.
Usage and examples
The most common usage is simply {{subst:Request ping}}
which renders as
If you reply here, please ping me by adding {{u|<Current user name>}} to your message, and signing it.
Where "<Current user name>" is transformed into to the username of the user saving the edit; the template substitutes the magic word {{REVISIONUSER}}.
{{subst:Request ping|Example}}
renders as
If you reply here, please ping me by adding {{u|Example}} to your message, and signing it.
{{subst:Request ping|Example|cond=you want to talk}}
renders as
If you want to talk, please ping me by adding {{u|Example}} to your message, and signing it.
Parameters
- first (unnamed) parameter
- This should be the user name of the user who wished to be pinged, as Example for User:Example. If not supplied, this parameter is replaced with the name of the user who saved the edit. To keep this from changing with later edits, the template must be substituted using "subst:"
- cond
- This optional parameter is for text to replace you reply here in the output wih some other condition. It should be appropriate to follow "If" and precede "please ping me." See example above. (alias condition)
Aliases
Credit
Credit goes to User:I dream of horses, who wrote a basically similar piece of code for use in her signature, but without the parameters.
See also
- {{Please ping}} – alternate version with a variety of parameters that generates this: (please use
{{ping|Example}}
on reply) - Wikipedia:Talk page guidelines
Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.