Difference between revisions of "Template:Google Scholar id/doc"
(P1960) |
|||
(12 intermediate revisions by 7 users not shown) | |||
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}} | ||
− | + | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' generates an external link to a person's profile at [[Google Scholar]]. | |
== Usage == | == Usage == | ||
Line 19: | Line 20: | ||
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. | 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:'' |
− | + | : <kbd><nowiki>https://</nowiki>scholar.google.com/citations?user={{hilite|EeTd0CYAAAAJ}}</kbd> | |
− | + | ''Usage:'' | |
− | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | EeTd0CYAAAAJ }}</code> | |
− | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= EeTd0CYAAAAJ }}</code> | |
+ | ''Output:'' | ||
+ | :* {{{{BASEPAGENAME}} | EeTd0CYAAAAJ }} | ||
+ | :* {{{{BASEPAGENAME}} | id= EeTd0CYAAAAJ }} | ||
[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.] | [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.] | ||
Line 30: | Line 34: | ||
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]]. | 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:'' |
− | + | : <kbd><nowiki>https://</nowiki>scholar.google.com/citations?user={{hilite|EeTd0CYAAAAJ}}</kbd> | |
− | + | ''Usage:'' | |
− | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | EeTd0CYAAAAJ | Yoelle Maarek }}</code> | |
− | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= EeTd0CYAAAAJ | name= Yoelle Maarek }}</code> | |
+ | ''Output:'' | ||
+ | :* {{{{BASEPAGENAME}} | EeTd0CYAAAAJ| 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}} }} | ||
+ | |||
+ | == TemplateData == | ||
+ | {{TemplateData header}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
− | "description": "This template generates an external link to | + | "description": "This template generates an external link to a person's profile at Google Scholar.", |
"params": { | "params": { | ||
"id": { | "id": { | ||
"label": "ID", | "label": "ID", | ||
− | "description": "ID | + | "aliases": [ "1" ], |
+ | "description": "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.", | ||
"type": "string", | "type": "string", | ||
− | "required": | + | "required": false, |
− | " | + | "default": "Wikidata property P1960" |
}, | }, | ||
"name": { | "name": { | ||
"label": "Name", | "label": "Name", | ||
− | "description": " | + | "aliases": [ "2" ], |
+ | "description": "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.", | ||
"type": "string", | "type": "string", | ||
− | + | "required": false, | |
− | " | + | "default": "{{PAGENAMEBASE}}" |
} | } | ||
− | } | + | }, |
+ | "paramOrder": [ | ||
+ | "id", | ||
+ | "name" | ||
+ | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
== See also == | == See also == | ||
− | + | * {{tl|AcademicSearch}} | |
− | {{ | + | * {{tl|DBLP}} |
+ | * {{tl|MacTutor}} | ||
+ | * {{tl|ResearchGate}} | ||
{{Google templates}} | {{Google templates}} | ||
− | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!--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:Google templates]] |
+ | [[Category:People and person external link templates]] | ||
+ | [[Category:External link templates using Wikidata]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 22:12, 27 June 2020
![]() | 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: |
Template:Google Scholar id generates an external link to a 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
Usage:
* {{Google Scholar id | EeTd0CYAAAAJ }}
* {{Google Scholar id | id= EeTd0CYAAAAJ }}
Output:
- Template:PAGENAMEBASE publications indexed by Google ScholarScript error: No such module "EditAtWikidata".
- 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
Usage:
* {{Google Scholar id | EeTd0CYAAAAJ | Yoelle Maarek }}
* {{Google Scholar id | id= EeTd0CYAAAAJ | name= Yoelle Maarek }}
Output:
- Yoelle Maarek publications indexed by Google ScholarScript error: No such module "EditAtWikidata".
- 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".
TemplateData
TemplateData for Google Scholar id
This template generates an external link to a person's profile at Google Scholar.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| String | optional |
Name | name 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.
| String | optional |
See also
- {{AcademicSearch}}
- {{DBLP}}
- {{MacTutor}}
- {{ResearchGate}}
- {{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