Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  



2.1  Unnamed parameters  





2.2  Named parameters  





2.3  No ID in template or Wikidata  







3 TemplateData  





4 Tracking categories  














Template:Weibo






العربية

 / Bân-lâm-gú
Español
فارسی
/Hak-kâ-ngî

Bahasa Indonesia
Jawa

Bahasa Melayu



Português
Qaraqalpaqsha
Sakizaya
Simple English
کوردی
Tagalog
 

Türkçe
Tiếng Vit



 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


{{{name}}}onWeibo (in Chinese)

Template:Weibo displays an external link to a page at Weibo.com, the Sina Weibo website. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{Weibo | ID }}
{{Weibo | ID | NAME }}

Named parameters:

{{Weibo | id= ID }}
{{Weibo | id= ID | name= NAME }}

Using Wikidata property Weibo user ID (P3579):

{{Weibo }}
{{Weibo | name= NAME }}

Supports:

Numerical ID
Domain hack
Nickname only

Examples

Unnamed parameters

Usage:

* {{Weibo | zhangzilin | Zhang Zilin 张梓琳 }}

Output:

URL:

https://weibo.com/zhangzilin

Named parameters

Usage:

* {{Weibo |id= 2692396272 |name= Zhang Hao 张昊 }}

Output:

URL:

https://weibo.com/u/2692396272

No ID in template or Wikidata

Usage:

* {{Weibo}}

Output:

  • {{Weibo}} template missing ID and not present in Wikidata.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Weibo in articles based on its TemplateData.

TemplateData for Weibo

This template displays an external link to a page at Weibo.com, the Sina Weibo website. It is intended for use in the external links section of an article.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: zhangzilin is the ID portion of https://weibo.com/zhangzilin. This parameter is optional if Wikidata property P3579 exists, but required if not.

Default
Wikidata property P3579
Stringoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without disambiguation.

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

"id" parameter exists
"id" parameter does not exist

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Weibo&oldid=1184792800"

Categories: 
Templates using data from Wikidata
Templates tracking Wikidata
Lua-based templates
Social media external link templates
People and person external link templates
External link templates using Wikidata
Hidden categories: 
Wikipedia semi-protected templates
Templates using TemplateData
Templates that add a tracking category
 



This page was last edited on 12 November 2023, at 17:36 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki