Template:Mojo title/doc

It is intended for use in the external links section of an article.

Usage
The template has two potential parameters, which are optional. The first is the ID, which is the text unique in the URL of the Box Office Mojo page for a film. The second can be used to specify the anchor text.

ID parameter:

ID and Title parameters:

Using Wikidata property P1237 or P345:

Examples

 * Unnamed parameters
 * URL:
 * https:// www.boxofficemojo.com/title/tt/
 * Usage:
 * Output:
 * Output:


 * Named parameters
 * URL:
 * https:// www.boxofficemojo.com/title/tt/
 * Usage:
 * Output:
 * Output:


 * No ID in template or Wikidata
 * Usage:
 * Output:
 * Output:

Compatibility
Since October 2019, Box Office Mojo shares IDs with IMDb. If the first input (or id) is a number with seven or more digits, the template treats it as an IMDb title ID and links to the title page on Mojo. If not, it treats it as Mojo's own title ID used before the 2019 redesign and uses the former URL format, which now redirects to a different page.


 * Unnamed parameters
 * URL:
 * https:// www.boxofficemojo.com/movies/?id=.htm
 * Usage:
 * Output:
 * Output:


 * Named parameters
 * URL:
 * https:// www.boxofficemojo.com/movies/?id=.htm
 * Usage:
 * Output:
 * Output: