求真百科歡迎當事人提供第一手真實資料,洗刷冤屈,終結網路霸凌。

Template:Instagram查看源代码查看历史

跳转至: 导航搜索

{{{name}}}的Instagram帳戶

Template documentation[view] [edit] [history] [purge]

模板介紹

用於链接Instagram帳號。

參數及使用方法

匿名参数
{{Instagram | 账号名称 }}
{{Instagram | 账号名称 | 显示名称 }}
命名参数
{{Instagram | id=账号名称 }}
{{Instagram | id=账号名称 | name=显示名称 }}
使用维基数据上的属性
{{Instagram}}
{{Instagram | name=显示名称 }}

例子

匿名参数

URL:

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

使用:

{{Instagram | wikipedia | 求真百科 }}

输出:

求真百科的Instagram帳戶

命名参数

URL:

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

使用:

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

输出:

Kevin Systrom的Instagram帳戶

无参数且维基数据属性未定义

使用:

{{Instagram}}

输出:

{{Instagram}}模板缺少ID且维基数据中无相应数据。

模板数据

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

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.

模板参数

参数说明类型状态
idid1

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
例子
自动值
字符串可选
namename2

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

默认值
{{PAGENAMEBASE}}
例子
自动值
字符串可选

跟踪分类

参见