Template:IBDB title: Difference between revisions
WRONG FORMAT - IBDB expects show.asp not production.asp - they are not interchangeable |
m formatting |
||
(40 intermediate revisions by 21 users not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} {{#property:P1218}} |
|||
''[http://www.ibdb.com/show.asp?id={{{id}}} {{{title}}}]'' at the [[Internet Broadway Database]] |
|||
| [https://www.ibdb.com/broadway-production/{{#if:{{{1|{{{id<includeonly>|</includeonly>}}}}}}|{{{1|{{{id}}}}}}|{{First word|1={{#property:P1218}}|sep=,}}}} {{#if:1| ''<!-- ZERO WIDTH SPACE -->​{{#if:{{{2|{{{title<includeonly>|</includeonly>}}}}}}|{{{2|{{{title}}}}}}|{{PAGENAMEBASE}}}}​<!-- ZERO WIDTH SPACE -->'' {{#if:{{{3|{{{description|}}}}}}|{{{3|{{{description}}}}}}}} }}] at the [[Internet Broadway Database]]<includeonly>{{EditAtWikidata|pid=P1218|{{{1|{{{id|}}}}}}}}</includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if:{{{1|{{{id|}}}}}}||[[Category:IBDB title template using Wikidata]]}}}} |
|||
| <span class="error">{{[[Template:IBDB title|IBDB title]]}} template missing ID and not present in Wikidata.</span>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:IBDB title template missing ID and not in Wikidata]]}} |
|||
}}<noinclude> |
|||
{{Documentation}} |
|||
</noinclude> |
Latest revision as of 05:56, 17 May 2022
{{{title}}} at the Internet Broadway Database
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
- 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
Unnamed parameters
- 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
- 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
- Usage
* {{IBDB title}}
- Output
-
- {{IBDB title}} template missing ID and not present in Wikidata.
TemplateData
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
- 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
- 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}}