Template:GoogleScholar

From blackwiki
Revision as of 23:58, 30 August 2016 by imported>David Eppstein (I don't see what useful information "a service provided by Google" adds to this template. We already mention Google two words earlier. Boldly remove it.)
Jump to navigation Jump to search

Template:PAGENAMEBASE's publications indexed by Google Scholar

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

Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Template:GoogleScholar generates an external link to a person's profile at Google Scholar.

Usage

One parameter:

{{GoogleScholar | ID }}
{{GoogleScholar | id= ID }}

Two parameters:

{{GoogleScholar | ID | NAME }}
{{GoogleScholar | id= ID | name= NAME }}

Examples

One parameter

This parameter will be the ID string used in the URL at Google Scholar. When one parameter is used, the link text is the title of the Wikipedia article where the template is used.

URL:

https://scholar.google.com/citations?user=EeTd0CYAAAAJ

Usage:

* {{GoogleScholar | EeTd0CYAAAAJ }}
* {{GoogleScholar | id= EeTd0CYAAAAJ }}

Output:

[The name of the Wikipedia page you now are looking at is displayed above. The lead name will change according to the name of the Wikipedia page the template is used on.]

Two parameters

The first parameter will be the ID string used in the URL at Google Scholar. The second parameter will be used at the link text.

URL:

https://scholar.google.com/citations?user=EeTd0CYAAAAJ

Usage:

* {{GoogleScholar | EeTd0CYAAAAJ | Yoelle Maarek }}
* {{GoogleScholar | id= EeTd0CYAAAAJ | name= Yoelle Maarek }}

Output:

No parameters and Wikidata property not defined

Usage:

* {{GoogleScholar}}

Output:

TemplateData

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 GoogleScholar

This template generates an external link to a person's profile at Google Scholar.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: EeTd0CYAAAAJ is the ID portion of https://scholar.google.com/citations?user=EeTd0CYAAAAJ. This parameter is optional if Wikidata property P1960 exists, but required if not.

Default
Wikidata property P1960
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 any disambiguation.

Default
{{PAGENAMEBASE}}
Stringoptional

See also