Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  



2.1  Numeric ID in template  





2.2  Non-numeric ID in template  





2.3  No ID in template or Wikidata  







3 See also  














Template:Mojo title






Afrikaans
العربية
Արեւմտահայերէն

Asturianu
Azərbaycanca
تۆرکجه
Basa Bali

 / Bân-lâm-gú
Беларуская
Беларуская (тарашкевіца)

Български
Bosanski
Català
Чӑвашла
Cebuano
Dansk
الدارجة

Eesti
Ελληνικά
Español
Esperanto
فارسی
Føroyskt


Հայերեն
ि
Bahasa Indonesia
IsiZulu
Italiano
עברית


Қазақша
Кыргызча

Latviešu
Lietuvių
Magyar
ि

Bahasa Melayu

Nederlands


Norsk bokmål
Oʻzbekcha / ўзбекча
Português
Română
Русский

Scots
Shqip

Simple English
Slovenščina
کوردی
Српски / srpski
Suomi
Svenska


Тоҷикӣ
Türkçe
Українська
اردو
Tiếng Vit


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikiquote
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


{{{title}}}atBox Office Mojo

  • {{Box Office Mojo}}
  • {{boxofficemojo}}
  • Template:Mojo title displays an external link to a page for a given film at Box Office Mojo. 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:

    {{Mojo title | ID }}
    {{Mojo title | id= ID }}

    ID and Title parameters:

    {{Mojo title | ID | TITLE }}
    {{Mojo title | id= ID | title= TITLE }}

    Using Wikidata property P1237orP345:

    {{Mojo title}}
    {{Mojo title | title= TITLE }}

    Examples

    Numeric ID in template

    Since October 2019, Box Office Mojo shares IDs with IMDb. 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 IMDb ID (P345) on the article's Wikidata page.

    Unnamed parameters
    Usage:
    * {{Mojo title | 0190332 | Crouching Tiger, Hidden Dragon }}
    Output:
    URL:
    https://www.boxofficemojo.com/title/tt0190332/
    Named parameters
    Usage:
    * {{Mojo title | 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 Box Office Mojo film ID (former scheme) (P1237) on the article's Wikidata page.

    Unnamed parameters
    Usage:
    * {{Mojo title | 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:
    * {{Mojo title | 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:
    * {{Mojo title}}
    Output:
    • {{Mojo title}} template missing ID and not present in Wikidata.

    See also

    Similar film title templates:


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Mojo_title&oldid=1083064340"

    Categories: 
    Templates using data from Wikidata
    Templates based on the String Lua module
    Film external link templates
    External link templates using Wikidata
    IMDb templates
    Hidden category: 
    Wikipedia template-protected templates
     



    This page was last edited on 16 April 2022, at 20:15 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki