「テンプレート:TikTok/doc」の版間の差分
(相違点なし)
|
2020年8月28日 (金) 21:18時点における版
This is a documentation subpage for テンプレート:Terminate sentence It may contain usage information, categories and other content that is not part of the original テンプレート page. |
- NO LABEL (P7085) (see uses)
This template uses Lua: |
テンプレート: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 }}
Examples
Unnamed parameters
URL:
Usage:
{{TikTok | wikipedia | Wikipedia }}
Output:
Named parameters
URL:
Usage:
{{TikTok | id= soykeniaos | name= KeniaOs }}
Output:
No parameters and Wikidata property not defined
Usage:
{{TikTok}}
Output:
- {{TikTok}} template missing ID and not present in Wikidata.
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.
引数 | 説明 | 型 | 状態 | |
---|---|---|---|---|
id | id 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.
| 文字列 | 省略可能 |
name | name 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.
| 文字列 | 省略可能 |
Tracking category
See also