الگو:Mojo title
![]() |
این الگو از ویژگیهای ویکیداده:
|
![]() | این الگو از لوآ استفاده میکند: |
الگو:Mojo title displays an external link to a page for a given film at باکس آفیس موجو. It is intended for use in the ویکیپدیا:پیوند به بیرون 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 انکر تکست (متن لینک).
ID parameter:
{{Mojo title | ID }}
{{Mojo title | id= ID }}
ID and Title parameters:
{{Mojo title | ID | TITLE }}
{{Mojo title | id= ID | title= TITLE }}
Using ویکیداده property P1237 or P345:
{{Mojo title}}
{{Mojo title | title= TITLE }}
Examples
- Unnamed parameters
- URL:
- https://www.boxofficemojo.com/title/tt0190332/
- Usage:
* {{Mojo title | 0190332 | Crouching Tiger, Hidden Dragon }}
- Output:
- Named parameters
- URL:
- https://www.boxofficemojo.com/title/tt0499549/
- Usage:
* {{Mojo title | id= 0499549 | title= Avatar }}
- Output:
- No ID in template or Wikidata
- Usage:
* {{Mojo title}}
- Output:
Compatibility
Since October 2019, Box Office Mojo shares IDs with بانک اطلاعات اینترنتی فیلمها. If the first input (or |id=
) is a 7-digit number, 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=crouchingtigerhiddendragon.htm
- Usage:
* {{Mojo title | crouchingtigerhiddendragon | Crouching Tiger, Hidden Dragon }}
- Output:
- Named parameters
- URL:
- https://www.boxofficemojo.com/movies/?id=avatar.htm
- Usage:
* {{Mojo title | id= avatar | title= Avatar }}
- Output:
See also
Similar film title templates:
- {{IMDb title}}
- {{AllMovie title}}
- {{TCMDb title}}
- {{AFI film}}
- {{BFI}}
- {{Rotten Tomatoes}}
- {{Metacritic film}}
توضیحات بالا تراگنجاندهشده از الگو:Mojo title/توضیحات است. (ویرایش | تاریخچه) ویرایشگران میتوانند در صفحات تمرین (ایجاد | آینه) و آزمایشی (ایجاد) این الگو را آزمایش کنند. لطفاً ردهها را به زیرصفحهٔ /توضیحات بیفزایید. زیرصفحههای این الگو. |