ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Cite Box Office Mojo/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

A template for citing box office data on Box Office Mojo.

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 purge the page.

Basic parameters only, in horizontal format
{{Cite Box Office Mojo |id= |title=}}
Full parameter set in horizontal format
{{Cite Box Office Mojo |id= |title= |access-date= |archive-url= |archive-date= |url-status= |mode= |publisher_hide= }}

information ਨੋਟ: The |id= parameter is the same as the film's IMDb id.

Examples

[ਸੋਧੋ]

{{Cite Box Office Mojo |id=0120338 |title=Titanic}}

"Titanic". Box Office Mojo. IMDb.

{{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 ਇੰਟਰਨੈੱਟ ਮੂਵੀ ਡੈਟਾਬੇਸ ਆਈਡੀ (P345) is not available. If omitted or left blank, error will be reported.

Examples:

{{Cite Box Office Mojo|title=I'm an incomplete citation!}}


"I'm an incomplete citation!". Box Office Mojo. IMDb. ID is missing in both template and Wikidata; please add to either place.


TemplateData

[ਸੋਧੋ]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for Template:Cite Box Office Mojo based on its TemplateData.

TemplateData for Cite Box Office Mojo

A template for citing box office data on Box Office Mojo

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
idid

Number 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
Stringoptional
titletitle

Title of the film. Defaults to the Wikipedia article name, without any disambiguation such as (film).

ਮੂਲ ਰੂਪ
{{PAGENAMEBASE}}
Stringoptional
publisher_hidepublisher_hide

To hide the publisher parameter

Stringoptional
access dateaccess-date accessdate

The full date when the site was accessed; do not wikilink

Dateoptional
archive URLarchive-url archiveurl

The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'

Stringoptional
archive datearchive-date archivedate

Date when the original URL was archived; do not wikilink

Dateoptional
URL statusurl-status

If set to 'live', the title displays as the live link; if set to dead, the title displays as the archive link

Stringoptional
modemode

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

Stringoptional

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

[ਸੋਧੋ]