For faster navigation, this Iframe is preloading the Wikiwand page for
Template:+1.
该模板将所有 +1 的具体用户名隐藏,而只显示 +1 的总人数,从而起到节约空间的作用。
当鼠标悬停在 +N 上时,会出现悬停提示,显示谁给这个内容 +1 了。
以后也许可以通过脚本辅助,从而实现 高仿Google+ 的 +1 的 更好的效果,如鼠标点击后弹出提示等。
- 5位以下用户
((+1|Example))
→ +1 Example为此+1了。
((+1|Example|喵))
→ +2 Example喵为此+1了。
- 5位以上用户(只能显示前五位)
((+1|Example|喵|Liangent|Hat600|Bencmq|乌拉跨氪))
→ +(6+) Example喵LiangentHat600Bencmq等人为此+1了。
- 5位以上用户(手动指定人数)
((+1|Example|喵|Liangent|Hat600|Bencmq|乌拉跨氪|num=6))
→ +6Example喵LiangentHat600Bencmq和另外1个人为此+1了。
- 不使用斜体
((+1|Example|i=n))
→ +1 Example为此+1了。
| 本模板含有複雜而精密的扩展语法。 編輯本模板前,建議您先熟悉解析器函數与本模板的设计思路、运作原理等。若您的編輯引發了意外的問題,請儘快撤銷編輯,因為本模板可能被大量頁面使用。 您所作的编辑可先在本模板的沙盒或您的个人页面中进行測試。 |
含以下子页面:
该模板中同时使用了 title 属性和隐藏的子元素来标记 +1 的人数和用户名等,其中子元素主要不是为了显示使用,而是为以后与脚本互动作准备。
由于Manual:$wgHtml5未启用,因此无法使用 data-* 属性来承载数据。
有一些模板子页面看上去是空的,但其实包含有代码,请勿当作空页面删除。当模板被带参数调用时,才会有输出。
{{bottomLinkPreText}}
{{bottomLinkText}}
This page is based on a Wikipedia article written by
contributors (read/edit).
Text is available under the
CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.
{{current.index+1}} of {{items.length}}
Thanks for reporting this video!
This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:
An extension you use may be preventing Wikiwand articles from loading properly.
If you're using HTTPS Everywhere or you're unable to access any article on Wikiwand, please consider switching to HTTPS (https://www.wikiwand.com).
An extension you use may be preventing Wikiwand articles from loading properly.
If you are using an Ad-Blocker, it might have mistakenly blocked our content.
You will need to temporarily disable your Ad-blocker to view this page.
✕
This article was just edited, click to reload
Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}
Follow Us
Don't forget to rate us
Oh no, there's been an error
Please help us solve this error by emailing us at
support@wikiwand.com
Let us know what you've done that caused this error, what browser you're using, and whether you have any special extensions/add-ons installed.
Thank you!