Template:Linkedin/doc
This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
The external links guideline recommends avoiding links to Linkedin unless the profile is an official account, "controlled by the subject (organization or individual person) of the Wikipedia article" and when the links to Linkedin "provide the reader with unique content and are not prominently linked from other official websites". Wikipedia is not a directory for helping Linkedin users find pages on Linkedin. |
This template uses the Wikidata property:
Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
This template uses Lua: |
Template:Linkedin 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 name or number }}
{{Linkedin | user name or number | Displayed Name }}
- Named parameters
{{Linkedin | id= user name or number }}
{{Linkedin | id= user name or number | 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}}
* {{Linkedin |name=NAME }}
If the Wikidata property is not defined, the output is:
- Linkedin/doc on LinkedInLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Template:Template parameter usage
TemplateData for Linkedin
<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