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 parameters and Wikidata property not defined  







3 TemplateData  





4 Tracking category  





5 See also  














Template:TikTok






Afrikaans

Cebuano
Čeština
Español
فارسی

Bahasa Indonesia
עברית

Bahasa Melayu



Oʻzbekcha / ўзбекча
Português
Русский
کوردی
Српски / srpski

Тоҷикӣ
Türkçe
Українська
اردو
Tiếng Vit

Zazaki

 

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
 


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

Usage

Unnamed parameters
{{TikTok | account_name }}
{{TikTok | account_name | Displayed Name }}
Named parameters
{{TikTok | id= account_name }}
{{TikTok | id= account_name | name= Displayed Name }}
Using Wikidata property P7085
{{TikTok}}
{{TikTok | name= Displayed Name }}

Examples

Unnamed parameters

URL:

https://www.tiktok.com/@wikipedia/

Usage:

{{TikTok | wikipedia | Wikipedia }}

Output:

WikipediaonTikTok

Named parameters

URL:

https://www.tiktok.com/@soykeniaos/

Usage:

{{TikTok | id= soykeniaos | name= KeniaOs }}

Output:

KeniaOsonTikTok

No parameters and Wikidata property not defined

Usage:

{{TikTok}}

Output:

{{TikTok}} 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:TikTok in articles based on its TemplateData.

TemplateData for TikTok

This template displays an external link to a page at TikTok, a social media 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 account name in the URL. Example: kevin is the account name in https://www.tiktok.com/@kevin/. This parameter is optional if Wikidata property P7085 exists, but required if not.

Default
Wikidata property P7085
Stringoptional
namename 2

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

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking category

See also


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

Categories: 
Templates using data from Wikidata
Lua-based templates
Social media 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 23 March 2024, at 18:00 (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