Template:LinkedIn page/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata

Template:LinkedIn page displays an external link to a page on LinkedIn. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{LinkedIn page | ID }}
{{LinkedIn page | ID | NAME }}

Named parameters:

{{LinkedIn page | id= ID }}
{{LinkedIn page | id= ID | name= NAME }}

Using Wikidata property Template:Prop or Template:Prop:

{{LinkedIn page}}
{{LinkedIn page |name=NAME }}

Examples

Personal pages

URL:

https://www.linkedin.com/in/anjalisud

Usage:

* {{LinkedIn page | in/anjalisud | Anjali Sud }}
* {{LinkedIn page | id= in/anjalisud |name= Anjali Sud }}

Output:

Company pages

URL:

https://www.linkedin.com/company/vimeo

Usage:

* {{LinkedIn page | company/vimeo | Vimeo }}
* {{LinkedIn page | id= company/vimeo |name= Vimeo }}

Output:

School pages

URL:

https://www.linkedin.com/school/harvard-business-school

Usage:

* {{LinkedIn page | school/harvard-business-school | Harvard Business School }}
* {{LinkedIn page | id= school/harvard-business-school |name= Harvard Business School }}

Output:

No parameters and Wikidata property not defined

Usage:

* {{LinkedIn page}}

Output:

Template data

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

TemplateData for LinkedIn page

This template generates an external link to a page on LinkedIn.

Template parameters

ParameterDescriptionTypeStatus
IDid 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.

Default
Wikidata properties P4264 or P6634
Stringoptional
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 disambiguation.

Default
{{PAGENAMEBASE}}
Stringoptional

See also