Difference between revisions of "Template:DBLP/doc"
Jump to navigation
Jump to search
imported>Triertriet |
imported>Triertriet |
||
Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
To link to the [[DBLP]] entry of [[C. A. R. Hoare]] use: | To link to the [[DBLP]] entry of [[C. A. R. Hoare]] use: | ||
− | * <code><nowiki>{{DBLP|id=Hoare: | + | * <code><nowiki>{{DBLP|id=Hoare:C=_A=_R=}}</nowiki></code> (i.e., the page name is the parameter) |
Note: do '''not''' add ".html" to the id. This is a common mistake and will lead to a ''Page not found'' error. | Note: do '''not''' add ".html" to the id. This is a common mistake and will lead to a ''Page not found'' error. | ||
Line 10: | Line 10: | ||
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) | 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>{{DBLP|id=Hoare: | + | <pre>{{DBLP|id=Hoare:C=_A=_R=|title=Anyname Youwant}}</pre> |
Produces: | Produces: | ||
− | {{DBLP| | + | {{DBLP|id=Hoare:C=_A=_R=|title=Anyname Youwant}} |
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. | 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. |
Revision as of 08:54, 12 April 2015
![]() | 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. |
Usage
To link to the DBLP entry of C. A. R. Hoare use:
{{DBLP|id=Hoare:C=_A=_R=}}
(i.e., the page name is the parameter)
Note: do not add ".html" to the id. This is a common mistake and will lead to a Page not found error.
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)
{{DBLP|id=Hoare:C=_A=_R=|title=Anyname Youwant}}
Produces:
Anyname Youwant at DBLP Bibliography ServerScript 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
- {{AcademicSearch}}
- {{MacTutor}}