Difference between revisions of "Template:IBDB name/doc"
Jump to navigation
Jump to search
imported>DixonDBot m (Migrating 10 interwiki links, now provided by Wikidata on d:Q6290754) |
imported>Zyxw (update documentation, add TemplateData) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Documentation subpage}} |
| + | <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | ||
| − | This | + | This template generates an external link to a page at the [[Internet Broadway Database]]. This template '''should be used exclusively for ''PEOPLE'''''. |
If you need to link a show, use [[Template:IBDB title]] instead. | If you need to link a show, use [[Template:IBDB title]] instead. | ||
| + | |||
| + | == Usage == | ||
| + | One parameter: | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' }}</code> | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' }}</code> | ||
| + | |||
| + | Two parameters: | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''NAME'' }}</code> | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | name= ''NAME'' }}</code> | ||
== Instructions == | == Instructions == | ||
| − | # Go to [http://www.ibdb.com | + | # Go to [http://www.ibdb.com IBDB.com] and search for a person |
# Click on the correct link to go to the person's page. Be sure you're getting the correct person. | # Click on the correct link to go to the person's page. Be sure you're getting the correct person. | ||
| − | # The page [[Uniform resource locator|URL]] should look like <nowiki>www.ibdb.com/person.asp?ID=#####</ | + | # The page [[Uniform resource locator|URL]] should look like |
| − | # Add to the external links section the text: | + | #: <code><nowiki>http://</nowiki>www.ibdb.com/person.asp?ID={{hilite|#####}}</code> |
| + | #: where "#####" indicates a number. | ||
| + | # Add to the external links section the text: | ||
| + | #: <code><nowiki>* {{</nowiki>IBDB name|id=#####|name=''NAME''}}</code> | ||
| + | #: where "#####" is the number you've copied, and ''NAME'' is the person's name. | ||
| − | == | + | == Examples == |
| − | + | Searching for "Jerry Orbach", you'll reach this page: | |
| − | # | + | : <code><nowiki>http://</nowiki>www.ibdb.com/person.asp?ID={{hilite|55157}}</code> |
| − | + | ||
| − | :{{ | + | One parameter: |
| + | # <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | 55157 }}</code> | ||
| + | #: {{{{BASEPAGENAME}} | 55157 }} | ||
| + | # <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= 55157 }}</code> | ||
| + | #: {{{{BASEPAGENAME}} | id= 55157 }} | ||
| + | |||
| + | Two parameters: | ||
| + | # <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | 55157 | Jerry Orbach }}</code> | ||
| + | #: {{{{BASEPAGENAME}} | 55157 | Jerry Orbach }} | ||
| + | # <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= 55157 | name= Jerry Orbach }}</code> | ||
| + | #: {{{{BASEPAGENAME}} | id= 55157 | name= Jerry Orbach }} | ||
| + | |||
| + | == Template data == | ||
| + | {{TemplateDataHeader}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "description": "This template generates an external link to a page at the Internet Broadway Database.", | ||
| + | "params": { | ||
| + | "id": { | ||
| + | "label": "ID", | ||
| + | "description": "ID number used in the URL.", | ||
| + | "type": "number", | ||
| + | "required": true, | ||
| + | "aliases": [ "1" ] | ||
| + | }, | ||
| + | "name": { | ||
| + | "label": "Name", | ||
| + | "description": "Name displayed as the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "aliases": [ "2" ] | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
==See also== | ==See also== | ||
| − | *{{tl|IBDB title}} | + | * {{tl|IBDB title}} |
| − | *{{tl|IBDB show}} for shows with multiple productions | + | * {{tl|IBDB show}} for shows with multiple productions |
| − | + | * {{tl|IBDB venue}} for named theatres | |
| − | *{{tl|IBDB venue}} for named theatres | ||
| − | <includeonly> | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
| − | <!-- | + | <!--Categories below this line, please; interwikis at Wikidata--> |
| + | [[Category:People and person external link templates]] | ||
[[Category:Theatre external link templates]] | [[Category:Theatre external link templates]] | ||
[[Category:Film external link templates]] | [[Category:Film external link templates]] | ||
| − | |||
[[Category:Television external link templates]] | [[Category:Television external link templates]] | ||
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | </includeonly> | ||
Revision as of 02:06, 28 September 2014
| 40px | This is a documentation subpage for Template:IBDB name. It contains usage information, categories and other content that is not part of the original template page. |
This template generates an external link to a page at the Internet Broadway Database. This template should be used exclusively for PEOPLE.
If you need to link a show, use Template:IBDB title instead.
Usage
One parameter:
{{IBDB name | ID }}{{IBDB name | id= ID }}
Two parameters:
{{IBDB name | ID | NAME }}{{IBDB name | id= ID | name= NAME }}
Instructions
- Go to IBDB.com and search for a person
- Click on the correct link to go to the person's page. Be sure you're getting the correct person.
- The page URL should look like
http://www.ibdb.com/person.asp?ID=#####- where "#####" indicates a number.
- 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 name.
Examples
Searching for "Jerry Orbach", you'll reach this page:
http://www.ibdb.com/person.asp?ID=55157
One parameter:
{{IBDB name | 55157 }}- Template:PAGENAMEBASE at the Internet Broadway DatabaseScript error: No such module "EditAtWikidata".Template:WikidataCheck
{{IBDB name | id= 55157 }}- Template:PAGENAMEBASE at the Internet Broadway DatabaseScript error: No such module "EditAtWikidata".Template:WikidataCheck
Two parameters:
{{IBDB name | 55157 | Jerry Orbach }}- Jerry Orbach at the Internet Broadway DatabaseScript error: No such module "EditAtWikidata".Template:WikidataCheck
{{IBDB name | id= 55157 | name= Jerry Orbach }}- Jerry Orbach at the Internet Broadway DatabaseScript error: No such module "EditAtWikidata".Template:WikidataCheck
Template data
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 name
This template generates an external link to a page at the Internet Broadway Database.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | ID number used in the URL. | Number | required |
| Name | name 2 | Name displayed as the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |
See also
- {{IBDB title}}
- {{IBDB show}} for shows with multiple productions
- {{IBDB venue}} for named theatres