Difference between revisions of "Template:BHL author"

From blackwiki
Jump to navigation Jump to search
imported>Jay D. Easy
imported>Jay D. Easy
 
Line 1: Line 1:
<includeonly>[https://www.biodiversitylibrary.org/creator/{{#invoke:String|match|{{{id|{{{1|{{#property:P4081}}}}}}}}|%d*$|nomatch=}} Works by {{{cname|{{{2|{{PAGENAMEBASE}}}}}}}}] at [[Biodiversity Heritage Library]]{{EditAtWikidata|pid=P4081|{{{id|{{{1|}}}}}}}}{{#if:{{{id|}}}{{{1|}}}|{{WikidataCheck|property=P4081|value={{{id|{{{1|}}}}}}|category=Open Library ID}}}}{{main other|[[Category:Articles with Biodiversity Heritage Library links]]}}</includeonly><noinclude>
+
<includeonly>[https://www.biodiversitylibrary.org/creator/{{#invoke:String|match|{{{id|{{{1|{{#property:P4081}}}}}}}}|%d*$|nomatch=}} Works by {{{cname|{{{2|{{PAGENAMEBASE}}}}}}}}] at [[Biodiversity Heritage Library]]{{EditAtWikidata|pid=P4081|{{{id|{{{1|}}}}}}}}{{#if:{{{id|}}}{{{1|}}}|{{WikidataCheck|property=P4081|value={{{id|{{{1|}}}}}}|category=BHL ID}}}}{{main other|[[Category:Articles with Biodiversity Heritage Library links]]}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:10, 19 January 2020

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

Template:Tracks and 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 a creator's page at the Biodiversity Heritage Library.

Usage

Template:Quotebox

1. If no custom name is set, the template defaults to {{PAGENAMEBASE}}

<span style="display:inline-block; width:Script error: No such module "If empty".; text-align:Script error: No such module "If empty".; font-weight:Script error: No such module "If empty".;">Markup:    {{BHL author|12315}}
<span style="display:inline-block; width:Script error: No such module "If empty".; text-align:Script error: No such module "If empty".; font-weight:Script error: No such module "If empty".;">Result:    Works by Template:PAGENAMEBASE at Biodiversity Heritage LibraryScript error: No such module "EditAtWikidata".Template:WikidataCheck

2. To set a custom name

<span style="display:inline-block; width:Script error: No such module "If empty".; text-align:Script error: No such module "If empty".; font-weight:Script error: No such module "If empty".;">Markup:    {{BHL author|68775|Emil Bessels}}
<span style="display:inline-block; width:Script error: No such module "If empty".; text-align:Script error: No such module "If empty".; font-weight:Script error: No such module "If empty".;">Result:    Works by Emil Bessels at Biodiversity Heritage LibraryScript error: No such module "EditAtWikidata".Template:WikidataCheck

TemplateData

TemplateData documentation used by VisualEditor and other tools
See the monthly parameter usage report for this template.

TemplateData for BHL author

This template generates an external link to a catalog record at the Biodiversity Heritage Library.

Template parameters

ParameterDescriptionTypeStatus
ID1 id

Identifier string used in the URL.

Example
12315
Stringoptional
Name2 name

Author name displayed in the link text. Defaults to the article's page name, without disambiguation.

Default
{{PAGENAME}}
Lineoptional

Tracking categories

See also