Template:IBDB name/doc

From MOASSpedia
Jump to navigation Jump to search

Template:IBDB name displays an external link to a web page at the Internet Broadway Database (IBDB), operated by the The Broadway League. This template should be used exclusively for people. It is intended for use in the external links section of an article.

If you need to link a show, use Template:IBDB show or Template:IBDB title instead.

Usage

Unnamed parameters:

{{IBDB name | ID }}
{{IBDB name | ID | NAME }}

Named parameters:

{{IBDB name | id= ID }}
{{IBDB name | id= ID | name= NAME }}

Using Wikidata property (P1220):

{{IBDB name}}
{{IBDB name | name= NAME }}

Instructions

  1. Go to IBDB.com and search for a person
  2. Click on the correct link to go to the person's page. Be sure you're getting the correct person.
  3. The page URL should look like
    https://www.ibdb.com/broadway-cast-staff/xxxxx-xxxxx-#####
    where "xxxxx-xxxxx" indicates the person's name and "#####" indicates a number.
  4. Add to the external links section the text:
    * {{IBDB name|id=#####|name=NAME}}
    where "#####" is the number you've copied, and NAME is the person's full formatted name.

Examples

Unnamed parameters

URLs:

https://www.ibdb.com/broadway-cast-staff/arthur-miller-4316
https://www.ibdb.com/broadway-cast-staff/4316
https://www.ibdb.com/person.php?id=4316

Usage:

* {{IBDB name | 4316 | Arthur Miller }}

Output:

Named parameters

URLs:

https://www.ibdb.com/broadway-cast-staff/jerry-orbach-55157
https://www.ibdb.com/broadway-cast-staff/55157
https://www.ibdb.com/person.php?id=55157

Usage:

* {{IBDB name | id= 55157 | name= Jerry Orbach }}

Output:

No ID in template or Wikidata

Usage:

{{IBDB name}}

Output:

IBDB name/doc at the Internet Broadway DatabaseLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for IBDB name

This template displays an external link to a web page at the Internet Broadway Database (IBDB), operated by the The Broadway League. This template should be used exclusively for people. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The "id" parameter (or unnamed parameter "1") may be used to specify the ID portion of the URL. Example: 4316 is the ID in https://www.ibdb.com/broadway-cast-staff/arthur-miller-4316, https://www.ibdb.com/broadway-cast-staff/4316, or https://www.ibdb.com/person.php?id=4316. This parameter is optional if Wikidata property P1220 exists, but required if not.

Default
Wikidata property P1220
Numberoptional
Namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the person's name, which is displayed in the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

ID parameter exists
ID parameter does not exist

See also