Template:Cite BOM/sandbox
![]() | This is the template sandbox page for Template:Cite BOM (diff). See also the companion subpage for test cases. |
A template for citing box office data on Box Office Mojo.
Usage
Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn=
have upper case aliases like |ISBN=
, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then Script error: No such module "Purge". the page.
|
|
' The
|id=
parameter is the same as the film's IMDb id.
Examples
{{Cite BOM |id=0120338 |title=Titanic}}
- Titanic at Box Office Mojo. IMDb.
{{Cite BOM |id=0120338 |title=Titanic |accessdate=February 14, 2020}}
- Titanic at Box Office Mojo. IMDb. Retrieved February 14, 2020.
{{Cite BOM |id=0120338 |title=Titanic |accessdate=February 14, 2020 |mode=cs2}}
- Titanic at Box Office Mojo, IMDb, retrieved February 14, 2020
Error detection
- The parameters
|id=
, and|title=
are required. If omitted or left blank, errors will be reported. For example:{{Cite BOM|title=I'm an incomplete citation!}}
- Error: no
|id=
specified when using {{Cite BOM}}Template:Namespace detect showall
- Error: no
TemplateData
TemplateData for Cite BOM
A template for citing box office data on Box Office Mojo
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id | Number of the Box Office Mojo title, taken from the numbers at the end of its Box Office Mojo URL (exclude the leading 'tt') | String | required |
title | title | The name of the film | String | required |
access date | access-date accessdate | The full date when the site was accessed; do not wikilink | Unknown | optional |
archive URL | archive-url archiveurl | The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date' | String | optional |
archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink | String | optional |
URL status | url-status | If set to 'live', the title displays as the live link; if set to dead, the title displays as the archive link | String | optional |
mode | mode | Similar to the parameter used by cs1|2 templates, when set to cs2, element separator switches from dot to comma; static text is rendered in lowercase; rendering omits the trailing dot | String | optional |
Redirects
The above documentation is transcluded from Template:Cite BOM/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |