「テンプレート:Instagram/doc」の版間の差分
Instagram>Jonesey95 |
細 (1版 をインポートしました: Instagram) |
(相違点なし)
|
2023年3月19日 (日) 15:02時点における最新版
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 (P2003) (see uses)
This template uses Lua: |
テンプレート:Instagram displays an external link to a page at Instagram, a photo sharing and social media website. It is intended for use in the external links section of an article.
Usage[ソースを編集]
- Unnamed parameters
{{Instagram | account_name }}
{{Instagram | account_name | Displayed Name }}
- Named parameters
{{Instagram | id= account_name }}
{{Instagram | id= account_name | name= Displayed Name }}
Examples[ソースを編集]
Unnamed parameters[ソースを編集]
URL:
Usage:
{{Instagram | wikipedia | Wikipedia }}
Output:
Named parameters[ソースを編集]
URL:
Usage:
{{Instagram | id= kevin | name= Kevin Systrom }}
Output:
No parameters and Wikidata property not defined[ソースを編集]
Usage:
{{Instagram}}
Output:
- {{Instagram}} template missing ID and not present in Wikidata.
TemplateData[ソースを編集]
TemplateData for Instagram
This template displays an external link to a page at Instagram, a photo sharing and 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.instagram.com/kevin/. This parameter is optional if Wikidata property P2003 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[ソースを編集]
- {{Twitter}}
- {{Pinterest}}
- {{Tumblr}}
- {{Flickr-inline}}
- {{Flickr-inline2}}