Difference between revisions of "Template:Authorid/doc"

From blackwiki
Jump to navigation Jump to search
imported>J. Johnson
imported>J. Johnson
(→‎Usage: Updated to document wikilinks and wikidata functions.)
Line 2: Line 2:
  
 
== Usage ==
 
== Usage ==
Given appropriate identifiers, generates super-scripted characters that link to an author's record in various databases. Link to the [[ORCID]], [[ResearcherID]], [[Scopus]], [[VIAF]], and Google Scholar databases using (respectively) the 'o', 'r', 's', 'v', and 'g' named parameters. Example:
+
Given appropriate identifiers, generates super-scripted characters that link to an author's record in various databases. Link to the [[ORCID]], [[ResearcherID]], [[Scopus]], [[VIAF]], Google Scholar, and Wikidata databases using (respectively) the 'o', 'r', 's', 'v', 'g', and 'd' named parameters. Example:
 
:<code><nowiki>[[Josiah Carberry]]{{Authorid|o= 0000-0002-0036-9460|s= 7007156898}}</nowiki></code> generates: [[Josiah Carberry]]{{Authorid|o= 0000-0002-0036-9460|s= 7007156898}}.
 
:<code><nowiki>[[Josiah Carberry]]{{Authorid|o= 0000-0002-0036-9460|s= 7007156898}}</nowiki></code> generates: [[Josiah Carberry]]{{Authorid|o= 0000-0002-0036-9460|s= 7007156898}}.
 +
 +
Can also generate wiki-links (in place of using {{para|author-link}}):
 +
:<code><nowiki>Josiah Carberry{{Authorid|Josiah Carberry|d=Q24090725}}</nowiki></code> generates: Josiah Carberry{{Authorid|Josiah Carberry|d=Q24090725}}.
  
 
{| class=wikitable
 
{| class=wikitable
Line 30: Line 33:
 
|Google Scholar
 
|Google Scholar
 
|qc6CJjYAAAAj
 
|qc6CJjYAAAAj
 +
|-
 +
| {{nbs|3}} d
 +
|Wikidata item
 +
|Q24090725
 +
|-
 +
|
 +
|Wiki-link
 +
|Josiah Carberry
 
|}
 
|}
  
Line 42: Line 53:
 
}}.
 
}}.
  
But currently must be appended to the {{para|firstN}} or {{para|authorN}} parameter, and fails if used with {{para|author-link}}.
+
But currently must be appended to the {{para|firstN}} or {{para|authorN}} parameter, which will break {{para|author-link}}.
  
 
<includeonly>
 
<includeonly>

Revision as of 20:26, 18 May 2016

Usage

Given appropriate identifiers, generates super-scripted characters that link to an author's record in various databases. Link to the ORCID, ResearcherID, Scopus, VIAF, Google Scholar, and Wikidata databases using (respectively) the 'o', 'r', 's', 'v', 'g', and 'd' named parameters. Example:

[[Josiah Carberry]]{{Authorid|o= 0000-0002-0036-9460|s= 7007156898}} generates: Josiah Carberryos.

Can also generate wiki-links (in place of using |author-link=):

Josiah Carberry{{Authorid|Josiah Carberry|d=Q24090725}} generates: Josiah Carberry*d.
Parameter (and
link letter):
Links to: Sample identifier:
Template:Nbs o ORCID 0000-0002-0036-9460
Template:Nbs r ResearcherID I-6013-2012
Template:Nbs s Scopus 7007156898
Template:Nbs v VIAF 75121530
Template:Nbs g Google Scholar qc6CJjYAAAAj
Template:Nbs d Wikidata item Q24090725
Wiki-link Josiah Carberry

Intended for use with citation templates, and designed to be minimally intrusive. E.g.:

  • Carberry, Josiahos; Bourbaki, Nicolasv (2004), Mythical Maths.

But currently must be appended to the |firstN= or |authorN= parameter, which will break |author-link=.