Difference between revisions of "Template:Google Scholar id/doc"
imported>Zyxw (document output if no parameters and Wikidata property not defined) |
|||
| Line 2: | Line 2: | ||
<!--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}} | {{Uses Wikidata|P1960}} | ||
| + | {{Lua|Module:EditAtWikidata}} | ||
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 35: | Line 36: | ||
# <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= EeTd0CYAAAAJ | name= Yoelle Maarek }}</code> | # <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= EeTd0CYAAAAJ | name= Yoelle Maarek }}</code> | ||
#: {{{{BASEPAGENAME}} | id= EeTd0CYAAAAJ | name= Yoelle Maarek }} | #: {{{{BASEPAGENAME}} | id= EeTd0CYAAAAJ | name= Yoelle Maarek }} | ||
| + | |||
| + | === No parameters and Wikidata property not defined === | ||
| + | ''Usage:'' | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> | ||
| + | ''Output:'' | ||
| + | : {{ {{BASEPAGENAME}} }} | ||
== Template data == | == Template data == | ||
| Line 61: | Line 68: | ||
== See also == | == See also == | ||
| − | |||
* {{Tl|AcademicSearch}} | * {{Tl|AcademicSearch}} | ||
* {{Tl|DBLP}} | * {{Tl|DBLP}} | ||
| Line 70: | Line 76: | ||
<!--Categories below this line, please; interwikis at Wikidata--> | <!--Categories below this line, please; interwikis at Wikidata--> | ||
{{DEFAULTSORT:Google Scholar id}} | {{DEFAULTSORT:Google Scholar id}} | ||
| − | [[Category: | + | [[Category:People and person external link templates]] |
| + | [[Category:External link templates using Wikidata]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 22:58, 29 October 2017
| This is a documentation subpage for Template:Google Scholar id. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
This template generates an external link to an person's profile at Google Scholar.
Contents
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
{{Google Scholar id | EeTd0CYAAAAJ }}- Template:PAGENAMEBASE publications indexed by Google ScholarScript error: No such module "EditAtWikidata".
{{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
{{Google Scholar id | EeTd0CYAAAAJ | Yoelle Maarek }}- Yoelle Maarek publications indexed by Google ScholarScript error: No such module "EditAtWikidata".
{{Google Scholar id | id= EeTd0CYAAAAJ | name= Yoelle Maarek }}- Yoelle Maarek publications indexed by Google ScholarScript error: No such module "EditAtWikidata".
No parameters and Wikidata property not defined
Usage:
{{Google Scholar id}}
Output:
- Template:PAGENAMEBASE publications indexed by Google ScholarScript error: No such module "EditAtWikidata".
Template data
TemplateData for Google Scholar id
This template generates an external link to an account at Google Scholar.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | ID string used in the URL. | String | required |
| Name | name 2 | Name displayed as the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |
See also
- {{AcademicSearch}}
- {{DBLP}}
- {{MacTutor}}
- {{Google}}
- {{Google books}}
- {{Google custom}}
- {{Google help desk}}
- {{Google images}}
- {{Google LC}} (Google—excluding Language, Country)
- {{Search for}}
- {{Find sources}}
- {{Google scholar}}
- {{Google Scholar id}} - for individuals' profiles
- {{Google trends}}
- {{Google translation}}
- {{Google Wikipedia}}
- {{Help desk searches}}
- {{Translate wikipedia}}
- {{HD/GKG}} - for people asking about the information in a Google search, the Google Knowledge Graph