Difference between revisions of "Template:IBDB name/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update documentation, add TemplateData)
imported>Zyxw
(updates for change in URL)
Line 16: Line 16:
  
 
== Instructions ==
 
== Instructions ==
# Go to [http://www.ibdb.com IBDB.com] and search for a person
+
# Go to [http://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
 
# The page [[Uniform resource locator|URL]] should look like
#: <code><nowiki>http://</nowiki>www.ibdb.com/person.asp?ID={{hilite|#####}}</code>
+
#: <code><nowiki>http://</nowiki>ibdb.com/person.php?id={{hilite|#####}}</code>
 
#: where "#####" indicates a number.
 
#: where "#####" indicates a number.
 
# Add to the external links section the text:
 
# Add to the external links section the text:
Line 27: Line 27:
 
== Examples ==
 
== Examples ==
 
Searching for "Jerry Orbach", you'll reach this page:
 
Searching for "Jerry Orbach", you'll reach this page:
: <code><nowiki>http://</nowiki>www.ibdb.com/person.asp?ID={{hilite|55157}}</code>
+
: <code><nowiki>http://</nowiki>ibdb.com/person.php?id={{hilite|55157}}</code>
  
 
One parameter:
 
One parameter:

Revision as of 04:42, 12 February 2015

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

  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
    http://ibdb.com/person.php?id=#####
    where "#####" 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 name.

Examples

Searching for "Jerry Orbach", you'll reach this page:

http://ibdb.com/person.php?id=55157

One parameter:

  1. {{IBDB name | 55157 }}
    Template:PAGENAMEBASE at the Internet Broadway DatabaseScript error: No such module "EditAtWikidata".Template:WikidataCheck
  2. {{IBDB name | id= 55157 }}
    Template:PAGENAMEBASE at the Internet Broadway DatabaseScript error: No such module "EditAtWikidata".Template:WikidataCheck

Two parameters:

  1. {{IBDB name | 55157 | Jerry Orbach }}
    Jerry Orbach at the Internet Broadway DatabaseScript error: No such module "EditAtWikidata".Template:WikidataCheck
  2. {{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.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

ID number used in the URL.

Numberrequired
Namename 2

Name displayed as the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Stringoptional

See also