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}}
Template:Inline talk templates
上述文档嵌入自Template:Unping/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (编辑 | 差异)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |