مندرجات کا رخ کریں

سانچہ:موجو عنوان

آزاد دائرۃ المعارف، ویکیپیڈیا سے

موجو عنوان باکس آفس موجو (Box Office Mojo) پر


سانچہ:موجو عنوان displays an external link to a page for a given film at باکس آفس موجو. It is intended for use in the external links section of an article. For citing sources, see {{cite Box Office Mojo}}.

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 }}
{{موجو عنوان | id= ID }}

ID and Title parameters:

{{موجو عنوان | ID | TITLE }}
{{موجو عنوان | id= ID | title= TITLE }}

Using ویکی ڈیٹا property P1237 or P345:

{{موجو عنوان}}
{{موجو عنوان | title= TITLE }}

Examples

[ترمیم]

Numeric ID in template

[ترمیم]

Since October 2019, Box Office Mojo shares IDs with انٹرنیٹ مووی ڈیٹابیس. If the template's first unnamed parameter or |id= contains a number with seven or more digits, the template links to the title page on Mojo. This ID may also be found in سانچہ:Prop on the article's Wikidata page.

Unnamed parameters
Usage:
* {{موجو عنوان | 0190332 | Crouching Tiger, Hidden Dragon }}
Output:
URL:
https://www.boxofficemojo.com/title/tt0190332/
Named parameters
Usage:
* {{موجو عنوان | id= 0499549 | title= Avatar }}
Output:
URL:
https://www.boxofficemojo.com/title/tt0499549/

Non-numeric ID in template

[ترمیم]

If the template's first unnamed parameter or |id= does not contain a number with seven or more digits, the template links to the movie page on Mojo. This is the ID used before the 2019 redesign and uses the former URL format, which now redirects to a different page. This ID may also be found in سانچہ:Prop on the article's Wikidata page.

Unnamed parameters
Usage:
* {{موجو عنوان | crouchingtigerhiddendragon | Crouching Tiger, Hidden Dragon }}
Output:
URL:
https://www.boxofficemojo.com/movies/?id=crouchingtigerhiddendragon.htm
Website redirects to:
https://www.boxofficemojo.com/release/rl2739766785/
Named parameters
Usage:
* {{موجو عنوان | id= avatar | title= Avatar }}
Output:
URL:
https://www.boxofficemojo.com/movies/?id=avatar.htm
Website redirects to:
https://www.boxofficemojo.com/release/rl876971521/

No ID in template or Wikidata

[ترمیم]
Usage:
* {{موجو عنوان}}
Output: