Template:DBLP/doc

From blackwiki
< Template:DBLP
Revision as of 19:20, 5 March 2017 by imported>Zyxw (fix placement of category to include template, not documentation (via JWB))
Jump to navigation Jump to search

Template:Uses Wikidata

This template generates an external link to an person's page at the computer science bibliography website DBLP.

Usage

One parameter:

{{DBLP |PID}}
{{DBLP |pid=PID}}

Two parameters:

{{DBLP |PID |NAME}}
{{DBLP |pid=ID |name=NAME}}

Examples

One parameter

This parameter will be the PID string used in the URL at DBLP. When one parameter is used, the link text is the title of the Wikipedia article where the template is used.

URL: http://dblp.org/pid/h/CARHoare
  1. {{DBLP |h/CARHoare}}
    Template:PAGENAMEBASE at DBLP Bibliography ServerScript error: No such module "EditAtWikidata".
  2. {{DBLP |pid=h/CARHoare}}
    Template:PAGENAMEBASE at DBLP Bibliography ServerScript 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 PID string used in the URL at DBLP. The second parameter will be used at the link text.

URL: http://dblp.org/pid/h/CARHoare
  1. {{DBLP |h/CARHoare |C. A. R. Hoare}}
    C. A. R. Hoare at DBLP Bibliography ServerScript error: No such module "EditAtWikidata".
  2. {{DBLP |pid=h/CARHoare |name=C. A. R. Hoare}}
    C. A. R. Hoare at DBLP Bibliography ServerScript 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 DBLP

This template generates an external link to an account at DBLP.

Template parameters

ParameterDescriptionTypeStatus
PIDpid 1

PID string used in the URL.

Stringoptional
Namename 2

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

Stringoptional

Compatibility usage

To link to the DBLP entry of C. A. R. Hoare use:

  • {{DBLP |id=Hoare:C=_A=_R= |title=Anyname Youwant}} (i.e., the page name is the parameter)
    Anyname Youwant at DBLP Bibliography ServerScript error: No such module "EditAtWikidata".

Note: do not add ".html" to the |id=. This is a common mistake and will lead to a Page not found error.

If the |title= parameter is not supplied, the name shown for the person will default to that of the Wikipedia page where the template is included:

See also

Template:Wikidata property