قالب:Cite Box Office Mojo
IMDb ID (P345) (see uses)
| This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
| Uses Lua: |
A template for citing box office data on Box Office Mojo.
Usage
Copy a blank version to use. All parameter names must be in lowercase. Use the "|" (pipe) character between each parameter. Delete unused parameters to avoid clutter in the edit window. Some samples may include the current date. If the date is not current, then the page.
|
|
ملف:Pictogram voting info.svg Note: The |id= parameter is the same as the film's IMDb id.
- The field id can be left blank and will pull from Wikidata property if available, but will have an error message if no entered in template or available at Wikidata
- The field title can be left blank and will pull from the page name with parentheses
Examples
{{Cite Box Office Mojo |id=0120338 |title=Titanic}}{{Cite Box Office Mojo |id=0120338 |title=Titanic |accessdate=February 14, 2020}}- "Titanic". Box Office Mojo. IMDb. Retrieved February 14, 2020.
{{Cite Box Office Mojo |id=0120338 |title=Titanic |accessdate=February 14, 2020 |mode=cs2}}- "Titanic", Box Office Mojo, IMDb, retrieved February 14, 2020
Error detection
The parameter|id=is required if Wikidata property is not available. If omitted or left blank, error will be reported.Examples:
التطور الديمغرافي [[{{{año1}}}]] {{{año1dato}}}
TemplateData
This is the بيانات القالب documentation for this template used by المحرر المرئي وأدوات أخرى.See the monthly error report for this template.
TemplateData for Cite Box Office Mojo
A template for citing box office data on Box Office Mojo
وسائط القالب
وسيط وصف نوع حالة id idNumber of the IMDb title, taken from the numbers at the end of its IMDb URL. This parameter is optional if Wikidata property P345 contains an ID starting with tt, but required if not. If entered manually, should not start with tt
- غيابي
- Wikidata property P345
نص اختياري title titleTitle of the film. Defaults to the Wikipedia article name, without any disambiguation such as (film).
- غيابي
- {{PAGENAMEBASE}}
نص اختياري publisher_hide publisher_hideTo hide the publisher parameter
نص اختياري access date access-dateaccessdateThe full date when the site was accessed; do not wikilink
تاريخ اختياري archive URL archive-urlarchiveurlThe URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'
نص اختياري archive date archive-datearchivedateDate when the original URL was archived; do not wikilink
تاريخ اختياري URL status url-statusIf set to 'live', the title displays as the live link; if set to dead, the title displays as the archive link
نص اختياري mode modeSimilar 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
نص اختياري Wikidata
The Wikidata project provides a central collection of information and parameters for articles for the various Wikimedia Foundation projects. This includes the IMDB title codes for films. For example, the film Space Milkshake has a corresponding Wikidata item (Q7572422), which in turn includes an IMDb identifier. If {{IMDb title}} is invoked in an article without the "id" parameter, and if Wikidata has an IMDb identifier specified for that article's corresponding item, the IMDb link with its title code will be included automatically.
For new film articles, the IMDb identifier property (and the film title item itself) may need to be added at Wikidata first, so that the default IMDb link can be available for use on Wikipedia and other Wikimedia projects.
This Wikidata capability was implemented on the English Wikipedia as of April 2013.
Note that the title code (first parameter) can still be specified as before and this will override the Wikidata default e.g. where this template is used to link to a film whose title does not correspond to the subject of the article (for example, in the case of a single article about a film and its sequels).
The title parameter override is available to handle differences between article titles and film titles (e.g. due to disambiguation wording in the title). The id parameter may be left blank to default from Wikidata - for example {{IMDb title||Film title}}.
Tracking category
See also
Similar film citation templates
- {{Cite The Numbers}}
- {{Cite Rotten Tomatoes}}
- {{Cite Metacritic}}
| The above documentation is transcluded from قالب:Cite Box Office Mojo/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |