Template:Noping
Uses Lua: |
This template links to a user page, or to multiple user pages, without triggering the Echo notification system. It is not necessary to use this template if you are not signing your post, as Echo mentions only work with a signature included.
Usage
Basic usage:
{{noping|username 1|username 2|...}}
By default, usernames are displayed, but this can be overridden with the |labeln=
parameters.
{{noping|username 1|label1=label 1|username 2|label2=label 2|...}}
Examples
{{noping|Example|Example2}}
→ Example and Example2{{noping|Example|label1=User 1|Example2|label2=User 2}}
→ User 1 and User 2
Consequences
The template avoids notifications by making external links with code like <span class="plainlinks">[//commons.wikimedia.org/wiki/User:Username username]</span>
instead of wikilinks like [[User:Username|Username]]
. An external link icon is avoided with plainlinks
but there are other consequences of not using a wikilink. The link will not be red for non-existing user pages, the blue link will have a lighter color than usual for most readers, and the page the template is used on will not appear at Special:WhatLinksHere for the user page.
TemplateData
- 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
This template links to a user page, or to multiple user pages, without triggering the Echo notification system.
Parameter | Description | Type | Status | |
---|---|---|---|---|
User 1 | 1 | First user | User | required |
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 |