模板:LinkedIn页面/doc
此页面是Template:LinkedIn页面的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
此模板目前正依照其他维基百科上的内容进行翻译。 (2022年3月20日) |
The external links guideline recommends avoiding links to social networks. Only include links to social media if it is not easily linked from another link included in the article (i.e. if the individual's homepage is linked and that has a prominent link to social media links, delete them from here) and when the social network provider provides the reader with significant unique content. Wikipedia is not a comprehensive directory of a subject's web presence. Only link to official accounts "controlled by the subject (organization or individual person) of the Wikipedia article". By way of comparison, legitimate LinkedIn accounts are usually named in reliable sources or linked by other subject-controlled sources. |
此模板使用Lua语言: |
Template:LinkedIn页面显示一个指向LinkedIn页面的外部链接,它在条目的外部链接章节处使用。
用法
未指定参数:
{{LinkedIn页面|ID}}
{{LinkedIn页面|ID|名称}}
指定参数:
{{LinkedIn页面|id=ID}}
{{LinkedIn页面|id=ID|name=名称}}
使用维基数据属性无本页之数据或无本页之数据:
{{LinkedIn页面}}
{{LinkedIn页面|name=名称}}
示例
个人页面
URL:
用法:
* {{LinkedIn页面|in/anjalisud|安賈莉·蘇德}}
* {{LinkedIn页面|id=in/anjalisud|name=安賈莉·蘇德}}
输出:
公司页面
URL:
用法:
* {{LinkedIn页面|company/vimeo|Vimeo}}
* {{LinkedIn页面|id=company/vimeo|name=Vimeo}}
输出:
学校页面
URL:
用法:
* {{LinkedIn页面|school/harvard-business-school|哈佛商学院}}
* {{LinkedIn页面|id=school/harvard-business-school|name=哈佛商学院}}
输出:
没有参数,也没有定义维基数据属性
用法:
* {{LinkedIn页面}}
输出:
- {{LinkedIn page}}模板缺少URL,且不存在于维基数据中。
模板数据
这个模板生成指向LinkedIn页面的外部链接。
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
ID | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the LinkedIn URL. Examples: in/anjalisud is the ID portion of https://www.linkedin.com/in/anjalisud; company/vimeo is the ID portion of https://www.linkedin.com/company/vimeo; school/harvard-business-school is the ID portion https://www.linkedin.com/school/harvard-business-school. This parameter is optional if Wikidata property P4264 or P6634 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 disambiguation.
| 字符串 | 可选 |
重定向
- {{LinkedIn ID}}
参见
- {{LinkedIn URL}}