Template:LinkedIn user/doc

From Startupedia


Template:LinkedIn user displays an external link to a page at LinkedIn, a business-focused social networking website. It is intended for use in the external links section of an article.

Usage

Unnamed parameters
{{LinkedIn user | user name or number }}
{{LinkedIn user | user name or number | Displayed Name }}
Named parameters
{{LinkedIn user | id= user name or number }}
{{LinkedIn user | id= user name or number | name= Displayed Name }}
Using Wikidata property (P6634)
{{LinkedIn user}}
{{LinkedIn user | name= Displayed Name }}

Examples

Using Wikidata

Generally, Wikidata should contain article subjects' LinkedIn IDs in property (P6634), allowing the ID parameter to be omitted:

* {{LinkedIn user}}
* {{LinkedIn user |name=NAME }}

If the Wikidata property is not defined, the output is:

  • {{LinkedIn user}} template missing ID and not present in Wikidata.

Instances of this error are tracked in Category:LinkedIn template missing ID and not in Wikidata.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:LinkedIn user in articles based on its TemplateData.

TemplateData for LinkedIn user

<templatedata> {

   "description": "Generate a link to a LinkedIn profile in a standard format.",
   "params": {
       "id": {
           "label": "Account ID",
           "aliases": ["1"],
           "description": "ID of the LinkedIn account (part of the web page address, for www.Linkedin.com/in/example/ the account id is \"example\"). This parameter is optional if Wikidata property P6634 exists, but required if not.",
           "type": "string/line",
           "required": false,
           "default": "Wikidata property P2013"
       },
       "name": {
           "label": "Display name",
           "aliases": ["2"],
           "description": "Display name for the LinkedIn account",
           "type": "string/line",
           "required": false,
           "default": "Name of the page"
       }
   }

} </templatedata>


See also