Difference between revisions of "Template:DBLP/doc"
imported>Zyxw (→See also: add link) |
imported>Uzume (→Examples: update) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
<!-- Categories go at the bottom of this page. --> | <!-- Categories go at the bottom of this page. --> | ||
{{Uses Wikidata|P2456}} | {{Uses Wikidata|P2456}} | ||
| + | {{Lua|Module:EditAtWikidata}} | ||
This template generates an external link to an person's page at the computer science bibliography website [[DBLP]]. | This template generates an external link to an person's page at the computer science bibliography website [[DBLP]]. | ||
| Line 14: | Line 15: | ||
: {{tlcw|{{BASEPAGENAME}} | pid{{=}} <var>PID</var> | name{{=}} <var>NAME</var> }} | : {{tlcw|{{BASEPAGENAME}} | pid{{=}} <var>PID</var> | name{{=}} <var>NAME</var> }} | ||
| − | Using [[Wikidata]] property {{ | + | Using [[Wikidata]] property {{Property|2456}}: |
: {{tlcw|{{BASEPAGENAME}} }} | : {{tlcw|{{BASEPAGENAME}} }} | ||
: {{tlcw|{{BASEPAGENAME}} | name{{=}} <var>NAME</var> }} | : {{tlcw|{{BASEPAGENAME}} | name{{=}} <var>NAME</var> }} | ||
| Line 30: | Line 31: | ||
''URLs:'' | ''URLs:'' | ||
: <kbd>[https://dblp.org/pid/h/CARHoare https://dblp.org/pid/{{hilite|h/CARHoare}}]</kbd> (used in template) | : <kbd>[https://dblp.org/pid/h/CARHoare https://dblp.org/pid/{{hilite|h/CARHoare}}]</kbd> (used in template) | ||
| − | : <kbd>https://dblp.org/pers | + | : <kbd>https://dblp.org/pers/h/Hoare:C=_A=_R=.html</kbd> (redirect from above) |
===Two parameters=== | ===Two parameters=== | ||
''Usage with name parameter as link text:'' | ''Usage with name parameter as link text:'' | ||
| − | : {{tlcw|a=1|{{BASEPAGENAME}} | | + | : {{tlcw|a=1|{{BASEPAGENAME}} | 259/4132 | Hannah Miller }} |
| − | : {{tlcw|a=1|{{BASEPAGENAME}} | pid{{=}} | + | : {{tlcw|a=1|{{BASEPAGENAME}} | pid{{=}} 259/4132 | name{{=}} Hannah Miller }} |
''Output:'' | ''Output:'' | ||
| − | :* {{{{BASEPAGENAME}} | | + | :* {{{{BASEPAGENAME}} | 259/4132 | Hannah Miller }} |
''URLs:'' | ''URLs:'' | ||
| − | : <kbd>[https://dblp.org/pid/ | + | : <kbd>[https://dblp.org/pid/259/4132 https://dblp.org/pid/{{hilite|259/4132}}]</kbd> (used in template) |
| − | : <kbd>https://dblp.org/pers | + | : <kbd>https://dblp.org/pers/m/Miller:Hannah.html</kbd> (redirect from above) |
=== ID in Wikidata === | === ID in Wikidata === | ||
| Line 50: | Line 51: | ||
''Output:'' | ''Output:'' | ||
| − | :* {{{{BASEPAGENAME}} | s/GuntherSchmidt | Gunther Schmidt }} [[File: | + | :* {{{{BASEPAGENAME}} | s/GuntherSchmidt | Gunther Schmidt }} [[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q18752214#P2456 |Edit this at Wikidata]] |
''URLs:'' | ''URLs:'' | ||
: <kbd>[https://dblp.org/pid/s/GuntherSchmidt https://dblp.org/pid/{{hilite|s/GuntherSchmidt}}]</kbd> (used in template) | : <kbd>[https://dblp.org/pid/s/GuntherSchmidt https://dblp.org/pid/{{hilite|s/GuntherSchmidt}}]</kbd> (used in template) | ||
| − | : <kbd>https://dblp.org/pers | + | : <kbd>https://dblp.org/pers/s/Schmidt_0001:Gunther.html</kbd> (redirect from above) |
| + | |||
| + | === No ID in template or Wikidata === | ||
| + | ''Usage:'' | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} }} | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} }} | ||
== TemplateData == | == TemplateData == | ||
| Line 86: | Line 94: | ||
</templatedata> | </templatedata> | ||
| − | == Tracking | + | == Tracking categories == |
* {{clc|Pages using DBLP with the pid parameter}} | * {{clc|Pages using DBLP with the pid parameter}} | ||
| + | * {{clc|DBLP template missing ID and not in Wikidata}} | ||
== See also == | == See also == | ||
| Line 100: | Line 109: | ||
* {{tl|MathGenealogy}} | * {{tl|MathGenealogy}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!--Categories below this line, please; interwikis at Wikidata--> | <!--Categories below this line, please; interwikis at Wikidata--> | ||
{{DEFAULTSORT:DBLP}} | {{DEFAULTSORT:DBLP}} | ||
Latest revision as of 04:36, 16 June 2020
| This is a documentation subpage for Template:DBLP. 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 page at the computer science bibliography website DBLP.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property Template:Property:
Examples
One parameter
Usage in the article Tony Hoare, with article name as link text:
Output:
- Tony Hoare at DBLP Bibliography ServerScript error: No such module "EditAtWikidata".
URLs:
- https://dblp.org/pid/h/CARHoare (used in template)
- https://dblp.org/pers/h/Hoare:C=_A=_R=.html (redirect from above)
Two parameters
Usage with name parameter as link text:
Output:
- Hannah Miller at DBLP Bibliography ServerScript error: No such module "EditAtWikidata".
URLs:
- https://dblp.org/pid/259/4132 (used in template)
- https://dblp.org/pers/m/Miller:Hannah.html (redirect from above)
ID in Wikidata
Usage in the article Gunther Schmidt:
Output:
- Gunther Schmidt at DBLP Bibliography ServerScript error: No such module "EditAtWikidata".

- Gunther Schmidt at DBLP Bibliography ServerScript error: No such module "EditAtWikidata".
URLs:
- https://dblp.org/pid/s/GuntherSchmidt (used in template)
- https://dblp.org/pers/s/Schmidt_0001:Gunther.html (redirect from above)
No ID in template or Wikidata
Usage:
Output:
- Template:PAGENAMEBASE at DBLP Bibliography ServerScript error: No such module "EditAtWikidata".
TemplateData
TemplateData for DBLP
This template generates an external link to an account at DBLP.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| PID | pid 1 | PID string used in the URL. Example: h/CARHoare in https://dblp.org/pid/h/CARHoare or 135/6935 in https://dblp.org/pid/135/6935. This parameter is optional if Wikidata property P2456 exists, but required if not.
| String | optional |
| Name | name 2 | Name displayed as the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.
| String | optional |
Tracking categories
- Category:Pages using DBLP with the pid parameter (1)
- Category:DBLP template missing ID and not in Wikidata (0)
See also
- {{Authority control}} which includes DBLP link
- {{AcademicSearch}}
- {{ACM Portal}}
- {{Google Scholar id}}
- {{MacTutor}}
- {{ORCID}}
- {{Scopus}}
- {{zbMATH}}
- {{MathGenealogy}}