テンプレート:Instagram/doc

提供:Wikiminati
< テンプレート:Instagram
2020年6月3日 (水) 11:24時点におけるInstagram>Jonesey95による版 (Fix Linter errors using AutoEd)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)

テンプレート: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 }}
Using Wikidata property P2003
{{Instagram}}
{{Instagram | name= Displayed Name }}

Examples

Unnamed parameters

URL:

https://www.instagram.com/wikipedia/

Usage:

{{Instagram | wikipedia | Wikipedia }}

Output:

Wikipedia on Instagram

Named parameters

URL:

https://www.instagram.com/kevin/

Usage:

{{Instagram | id= kevin | name= Kevin Systrom }}

Output:

Kevin Systrom on Instagram

No parameters and Wikidata property not defined

Usage:

{{Instagram}}

Output:

{{Instagram}} template missing ID and not present in Wikidata.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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.

テンプレート引数

引数説明状態
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.instagram.com/kevin/. This parameter is optional if Wikidata property P2003 exists, but required if not.

既定
Wikidata property P2003
文字列省略可能
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.

既定
{{PAGENAMEBASE}}
文字列省略可能

Tracking category

See also