This page is protected against editing.

Template:Noping

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Documentationview · edit · history · purge ]
This documentation is transcluded from Template:Noping/doc.

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

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>JSON</templatedata> ./. {{TemplateBox}}
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.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

This template links to a user page, or to multiple user pages, without triggering the Echo notification system.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
User 11

First user

Userrequired
User 22

Second user

Useroptional
User 33

Third user

Useroptional
User 44

Fourth user

Useroptional
User 55

Fifth user

Useroptional
User 66

Sixth user

Useroptional
User 77

Seventh user

Useroptional
User 88

Eighth user

Useroptional
User 99

Ninth user

Useroptional
User 1010

Tenth user

Useroptional

See also