Difference between revisions of "Template:GoogleScholar/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jpbowen
(New template documentation)
 
imported>Oxoglutarate
Line 4: Line 4:
 
== Usage ==
 
== Usage ==
 
To link to the [[Google Scholar]] entry of [[Albert Einstein]] use:
 
To link to the [[Google Scholar]] entry of [[Albert Einstein]] use:
* <code><nowiki>{{GoogleScholar|qc6CJjYAAAAJ}}</nowiki></code> (i.e., the author identifier is the parameter)
+
<pre>{{GoogleScholar|qc6CJjYAAAAJ}}</pre>  
 +
 
 +
The Google author identifier is the parameter. Alternatively, you can provide an optional title parameter which allows the template to be used on arbitrary wikipedia pages without taking the name of that page (which is the default)
 +
 
 +
<pre>{{GoogleScholar|qc6CJjYAAAAJ|title=Albert Einstein}}</pre>
 +
Produces:
 +
{{GoogleScholar|qc6CJjYAAAAJ|title=Albert Einstein}}
 +
 
 +
If the 'title' parameter is not supplied, the name shown for the person will be that of the Wikipedia page where the template is included.
  
 
== See also ==
 
== See also ==

Revision as of 11:41, 8 April 2015

Usage

To link to the Google Scholar entry of Albert Einstein use:

{{GoogleScholar|qc6CJjYAAAAJ}}

The Google author identifier is the parameter. Alternatively, you can provide an optional title parameter which allows the template to be used on arbitrary wikipedia pages without taking the name of that page (which is the default)

{{GoogleScholar|qc6CJjYAAAAJ|title=Albert Einstein}}

Produces: Template:PAGENAMEBASE publications indexed by Google ScholarScript error: No such module "EditAtWikidata".

If the 'title' parameter is not supplied, the name shown for the person will be that of the Wikipedia page where the template is included.

See also