Difference between revisions of "Template:DBLP"

From blackwiki
Jump to navigation Jump to search
imported>Uzume
(Finally jettison deprecated {{{id}}} support)
imported>Uzume
(it would help if I didn't break it)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[http://dblp.org/pid/{{Trim|{{{pid|{{{1|{{#property:P2456}}}}}}}}}} {{{name|{{{title|{{{2|{{PAGENAMEBASE}}}}}}}}}}}] at [[DBLP]] Bibliography Server{{#if:{{{pid|}}}|{{#if:{{DBLP/pid}}}}[[Category:Pages using DBLP with the pid parameter]]}}<noinclude>{{Documentation}}</noinclude>
+
{{#if: {{{1<includeonly>|</includeonly>}}} {{{pid|}}} {{#property:P2456}}
 +
 
 +
| [https://dblp.org/pid/{{#if: {{{1|{{{pid<includeonly>|</includeonly>}}}}}} | {{{1|{{{pid}}}}}} | {{First word|{{#property:P2456}}|sep=,}} }} {{#if: {{{2|{{{title|{{{name<includeonly>|</includeonly>}}}}}}}}} | {{{2|{{{title|{{{name}}}}}}}}} | {{PAGENAMEBASE}} }}] at [[DBLP]] Bibliography Server<includeonly>{{EditAtWikidata|pid=P2456|{{{1|{{{pid|}}}}}}}}</includeonly>{{#if: {{{1|{{{pid|}}}}}} | [[Category:Pages using DBLP with the pid parameter]] }}
 +
 
 +
| <span class="error">&#123;&#123;[[Template:DBLP|DBLP]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:DBLP template missing ID and not in Wikidata]]}}
 +
 
 +
}}<noinclude>
 +
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata -->
 +
</noinclude>

Latest revision as of 02:39, 23 January 2020

{{{name}}} at DBLP Bibliography Server

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

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

Usage

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property Template:Property:

Template:Tlcw
Template:Tlcw

Examples

One parameter

Usage in the article Tony Hoare, with article name as link text:

Template:Tlcw
Template:Tlcw

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:

Template:Tlcw
Template:Tlcw

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:

Template:Tlcw
Template:Tlcw

Output:

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:

Template:Tlcw

Output:

TemplateData

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. 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.

Default
Wikidata property P2456
Stringoptional
Namename 2

Name displayed as the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

See also