Template:IBDB title/sandbox
{{{title}}} at the Internet Broadway Database
This is the template sandbox page for Template:IBDB title (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Template:IBDB title displays an external link to a production's web page at the Internet Broadway Database (IBDB), operated by The Broadway League. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{IBDB title | ID }}
{{IBDB title | ID | TITLE }}
{{IBDB title | ID | TITLE | DESCRIPTION }}
- Named parameters
{{IBDB title | id= ID }}
{{IBDB title | id= ID | title= TITLE }}
{{IBDB title | id= ID | title= TITLE | description= DESCRIPTION }}
- Using Wikidata property P1218
{{IBDB title}}
{{IBDB title | title= TITLE }}
{{IBDB title | title= TITLE | description= DESCRIPTION }}
- Where
- ID = production ID number at IBDB
- This should not be confused with the show ID which is used in
{{IBDB show}}
- This should not be confused with the show ID which is used in
- TITLE = optional title, otherwise defaults to the page name
- Portions of the title which should not be in italics can be placed in the description parameter
- DESCRIPTION = optional description
- Displayed without italics after title or page name
Examples
[edit]Unnamed parameters
[edit]- URLs
- https://www.ibdb.com/broadway-production/the-seagull-2719
- https://www.ibdb.com/broadway-production/2719
- https://www.ibdb.com/production.php?id=2719
- Usage
* {{IBDB title | 7749 }}
* {{IBDB title | 7749 | The Seagull }}
* {{IBDB title | 7749 | The Seagull | (1916 production) }}
- Output
Named parameters
[edit]- URLs
- https://www.ibdb.com/broadway-production/aint-misbehavin-4058
- https://www.ibdb.com/broadway-production/4058
- https://www.ibdb.com/production.php?id=4058
- Usage
* {{IBDB title | id= 4058 }}
* {{IBDB title | id= 4058 | title= Ain't Misbehavin' }}
* {{IBDB title | id= 4058 | title= Ain't Misbehavin' | description= (musical) }}
- Output
No ID in template or Wikidata
[edit]- Usage
* {{IBDB title}}
- Output
-
- {{IBDB title}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for IBDB title
This template displays an external link to a production's 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The "id" parameter (or unnamed parameter "1") may be used to specify the ID portion of the URL. Example: 2719 is the ID in https://www.ibdb.com/broadway-production/the-seagull-2719, https://www.ibdb.com/broadway-production/2719, or https://www.ibdb.com/production.php?id=2719. This parameter is optional if Wikidata property P1218 exists, but required if not.
| Number | optional |
Title | title 2 | The "title" parameter (or unnamed parameter "2") may be used to specify the production title, which is displayed in italic type in the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.
| String | optional |
Description | description 3 | The "description" parameter (or unnamed parameter "3") may be used to specify the production year or other text which is displayed without italics after the title in the link text. | String | optional |
Tracking categories
[edit]- ID parameter does not exist
- Category:IBDB title template missing ID and not in Wikidata (1)
- Category:IBDB title template using Wikidata (10)
See also
[edit]- Other IBDB templates
- {{IBDB show}} for shows with multiple productions
- {{IBDB name}} for the names of individual people
- {{IBDB venue}} for named theatres
- Other title templates
- {{IOBDB title}}
- {{IMDb title}}