Difference between revisions of "Template:Iobdb title/doc"

From blackwiki
Jump to navigation Jump to search
imported>777sms
imported>Primefac
(update with examples)
Line 3: Line 3:
  
 
==Usage==
 
==Usage==
This template is to link to a particular production of a play, based on the production's id from the database. To link to all productions of the play in the database, use [[:Template:Iobdb show]]
+
This template is to link to a particular production of a play, based on the production's id from the database. To link to all productions of the play in the database, use {{t|Iobdb show}}
  
 
<pre>
 
<pre>
Line 19: Line 19:
 
title = optional title, instead of using the page name
 
title = optional title, instead of using the page name
 
</pre>
 
</pre>
 +
 +
==Examples==
 +
*{{tlc|iobdb title|1096|Assassins}} → {{iobdb title|1096|Assassins}}
 +
*{{tlc|iobdb title|3599|Hamlet}} → {{iobdb title|3599|Hamlet}} (note that this is the 1964 production at [[Delacorte Theater]])
 +
To link to ''all'' productions of the play in the database, use {{t|Iobdb show}}
  
 
==See also==
 
==See also==

Revision as of 19:34, 10 June 2017

Usage

This template is to link to a particular production of a play, based on the production's id from the database. To link to all productions of the play in the database, use Template:T

{{iobdb title|id|title}}

Produces:

title at the Internet Off-Broadway Database

Where:

id    = id number at the Internet off-Broadway Database (www.lortel.org)
title = optional title, instead of using the page name

Examples

To link to all productions of the play in the database, use Template:T

See also