Difference between revisions of "Template:Google Scholar id/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(Google templates)
(P1960)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
 
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
 +
{{Uses Wikidata|P1960}}
  
 
This template generates an external link to an person's profile at [[Google Scholar]].
 
This template generates an external link to an person's profile at [[Google Scholar]].
Line 66: Line 67:
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!--Categories below this line, please; interwikis at Wikidata-->
 
<!--Categories below this line, please; interwikis at Wikidata-->
{{DEFAULTSORT:Google Scholar id}}}}</includeonly>
+
{{DEFAULTSORT:Google Scholar id}}
 +
[[Category:Templates using data from Wikidata]]
 +
}}</includeonly>

Revision as of 00:41, 18 July 2016

Template:Uses Wikidata

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

Usage

One parameter:

{{Google Scholar id | ID }}
{{Google Scholar id | id= ID }}

Two parameters:

{{Google Scholar id | ID | NAME }}
{{Google Scholar id | 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
  1. {{Google Scholar id | EeTd0CYAAAAJ }}
    Template:PAGENAMEBASE publications indexed by Google ScholarScript error: No such module "EditAtWikidata".
  2. {{Google Scholar id | id= EeTd0CYAAAAJ }}
    Template:PAGENAMEBASE publications indexed by Google ScholarScript error: No such module "EditAtWikidata".

[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
  1. {{Google Scholar id | EeTd0CYAAAAJ | Yoelle Maarek }}
    Yoelle Maarek publications indexed by Google ScholarScript error: No such module "EditAtWikidata".
  2. {{Google Scholar id | id= EeTd0CYAAAAJ | name= Yoelle Maarek }}
    Yoelle Maarek publications indexed by Google ScholarScript error: No such module "EditAtWikidata".

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 Google Scholar id

This template generates an external link to an account at Google Scholar.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

ID string used in the URL.

Stringrequired
Namename 2

Name displayed as the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Stringoptional

See also

Template:Wikidata property