Difference between revisions of "Template:BHL author/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Jay D. Easy
 
Line 18: Line 18:
  
 
1. If no custom name is set, the template defaults to {{tlx|PAGENAMEBASE}}
 
1. If no custom name is set, the template defaults to {{tlx|PAGENAMEBASE}}
: {{vad|Markup:}} {{g|2}} <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>{{hir|12315}}<nowiki>}}</nowiki></code>
+
: {{vad|Markup:}} {{nbsp|2}} <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>{{hir|12315}}<nowiki>}}</nowiki></code>
: {{vad|Result:}} {{g|2}} {{BHL author|12315}}
+
: {{vad|Result:}} {{nbsp|2}} {{BHL author|12315}}
  
 
2. To set a custom name
 
2. To set a custom name
: {{vad|Markup:}} {{g|2}} <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>{{hir|68775|bc=lightgreen}}<nowiki>|Emil Bessels}}</nowiki></code>
+
: {{vad|Markup:}} {{nbsp|2}} <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>{{hir|68775|bc=lightgreen}}<nowiki>|Emil Bessels}}</nowiki></code>
: {{vad|Result:}} {{g|2}} {{BHL author|68775|Emil Bessels}}{{-}}
+
: {{vad|Result:}} {{nbsp|2}} {{BHL author|68775|Emil Bessels}}{{-}}
  
 
== TemplateData ==
 
== TemplateData ==

Latest revision as of 15:23, 18 July 2020

Template:Tracks and uses Wikidata

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