Template:Re/doc
Usage
[edit]With no parameters ({{re}}
), generates "re" in superscript, useful in French-language text.
With unnumbered parameters ({{re|Username}}
), acts as an alias for Template:Reply to.
Single recipient
[edit]To use it, just add something like the following to an existing discussion:
{{re|User1}} Message text. ~~~~
For example, ":{{re|Jimbo Wales}} Message text.
" displays as:
- @Jimbo Wales: Message text.
Per mw:Extension:Echo#Usage, you must link to another user's page and sign in the same edit in order to effectively mention, notify, or ping them, and even then only if they have "Notify me when someone links to my user page" set (which is the default here).
Multiple recipients
[edit]You can re up to 50 people at once:
{{re|User1|UserII|UserC}} Message text. ~~~~
- @Example, Jimbo Wales, and Foo: Message text.
Specify a prefix
[edit]To change the "@" prefix, use |prefix=custom prefix
. For example:
- "
{{re|Example|prefix=Hello }}
" produces "Hello Example: "
Or you can remove the prefix entirely by using |prefix=
. For example:
- "
{{re|Example|prefix=}}
" produces "Example: "
Customise punctuation
[edit]By default, the template will insert a colon after the final name. To change this, specify the required character using the |p=
parameter. For example:
TemplateData
[edit]- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
User 1 | 1 | First user | User | suggested |
User 2 | 2 | Second user | User | optional |
User 3 | 3 | Third user | User | optional |
User 4 | 4 | Fourth user | User | optional |
User 5 | 5 | Fifth user | User | optional |
User 6 | 6 | Sixth user | User | optional |
User 7 | 7 | Seventh user | User | optional |
User 8 | 8 | Eighth user | User | optional |
User 9 | 9 | Ninth user | User | optional |
User 10 | 10 | Tenth user | User | optional |
Prefix | prefix | Prefix symbol
| Line | optional |
Suffix | p | Suffix symbol
| Line | optional |