Template:IBDB venue/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata

Template:IBDB venue displays an external link to a venue (theatre) web page at the Internet Broadway Database (IBDB), operated by the The Broadway League. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{IBDB venue | ID }}
{{IBDB venue | ID | VENUE }}

Named parameters:

{{IBDB venue | id= ID }}
{{IBDB venue | id= ID | venue= VENUE }}

Using Wikidata property P1217:

{{IBDB venue}}
{{IBDB venue | venue= VENUE }}

Instructions

  1. Go to IBDB.com and search for a venue (theatre) name
  2. Click on the correct link to go to the venue (theatre) page
  3. The page URL should look like
    http://ibdb.com/theatre/name-of-theatre-#####
    where "#####" indicates a number.

Examples

Unnamed parameters

URLs:

https://www.ibdb.com/theatre/gershwin-theatre-1369
https://www.ibdb.com/theatre/1369
https://www.ibdb.com/venue.php?id=1369

Usage:

* {{IBDB venue | 1369 | Gershwin Theatre }}

Output:

Named parameters

URLs:

https://www.ibdb.com/theatre/american-airlines-theatre-1349
https://www.ibdb.com/theatre/1349
https://www.ibdb.com/venue.php?id=1349

Usage:

* {{IBDB venue | id= 1349 | venue= American Airlines Theatre }}

Output:

No ID in template or Wikidata

Usage:

{{IBDB venue}}

Output:

Template:PAGENAMEBASE at the Internet Broadway DatabaseScript error: No such module "EditAtWikidata".

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 IBDB venue

This template displays an external link to a venue (theatre) web page at the Internet Broadway Database (IBDB), operated by the The Broadway League. 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: 1369 is the ID in https://www.ibdb.com/theatre/gershwin-theatre-1369 or https://www.ibdb.com/theatre/1369 or https://www.ibdb.com/venue.php?id=1369. This parameter is optional if Wikidata property P1217 exists, but required if not.

Default
Wikidata property P1217
Numberoptional
Venuevenue 2

The "venue" parameter (or unnamed parameter "2") may be used to specify the venue (theatre) 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

See also