Template:Unping/sandbox
@Example:
这是Template:Unping(差异)的沙盒。 |
本模板對應於英文維基的Noping模板。由於中文維基的同名不同功能模板T:Noping已經被其他功能的模板所佔據,並已經成為高風險模板導致無法建立對應模板,因此暫時命名為Unping |
此模板使用Lua语言: |
此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
Purpose
This template links to a user page, or to multiple user pages, without triggering the notification system. It is not necessary to use this template if you are not signing your post, as Notifications mentions only work with a signature included.
Usage
Basic usage:
{{Unping|username 1|username 2|...}}
By default, usernames are displayed, but this can be overridden with the |labeln=
parameters.
{{Unping|username 1|label1=label 1|username 2|label2=label 2|...}}
Examples
{{Unping|Example|Example2}}
→ Example、Example2{{Unping|Example|label1=User 1|Example2|label2=User 2}}
→ User 1、User 2
Consequences
The template avoids notifications by making external links with code like <span class="plainlinks">[//en.wikipedia.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. The link is recognized by Navigational Popups, which handles it the way it would handle other links.
See also
- {{No ping}}
- {{No ping2}}
- {{Reply to}}
- {{Ping group}}